Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 112.3 kB / 20.22 MB, free: 1.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 218 kB / 23.48 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.383/1.383, allocations: 230.4 MB / 257 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 67.89 kB / 377.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2471, allocations: 53.32 MB / 430.4 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004734/0.2519, allocations: 3.046 MB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2533, allocations: 0.7595 MB / 434.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2534, allocations: 4 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.2536, allocations: 55.44 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.2538, allocations: 103.1 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.2541, allocations: 99.84 kB / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.2546, allocations: 418.1 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.2548, allocations: 79.11 kB / 434.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.2551, allocations: 147.5 kB / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.2553, allocations: 163.3 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.2553, allocations: 32 kB / 435.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.2554, allocations: 44 kB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.2555, allocations: 83.62 kB / 435.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.2557, allocations: 167.2 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.2563, allocations: 394.8 kB / 436 MB, free: 1.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2563, allocations: 4 kB / 436 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2563, allocations: 0 / 436 MB, free: 1.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.2563, allocations: 3.938 kB / 436 MB, free: 1.633 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001066/0.2574, allocations: 0.6428 MB / 436.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2574, allocations: 12.03 kB / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.951e-05/0.2575, allocations: 62.73 kB / 436.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.2577, allocations: 48.69 kB / 436.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.2581, allocations: 299.7 kB / 437 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.2581, allocations: 20.94 kB / 437 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.2582, allocations: 24.38 kB / 437.1 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.2587, allocations: 257 kB / 437.3 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2587, allocations: 0 / 437.3 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.2587, allocations: 20 kB / 437.3 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2587, allocations: 8 kB / 437.3 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.2592, allocations: 222.1 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2608, allocations: 0.964 MB / 438.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.2614, allocations: 279.8 kB / 438.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.2616, allocations: 92.81 kB / 438.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2616, allocations: 4 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2616, allocations: 34.56 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.2616, allocations: 4 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001252/0.2629, allocations: 0.5521 MB / 439.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.2629, allocations: 63.39 kB / 439.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.2632, allocations: 258.6 kB / 439.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2632, allocations: 29.7 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2634, allocations: 196.1 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.2634, allocations: 71.33 kB / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.2635, allocations: 49.89 kB / 440.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2637, allocations: 330.8 kB / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2639, allocations: 80.42 kB / 440.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.2641, allocations: 115.4 kB / 440.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.2644, allocations: 183.3 kB / 440.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2644, allocations: 0 / 440.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006236/0.2651, allocations: 318.8 kB / 441.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2651, allocations: 10.66 kB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.2651, allocations: 4.062 kB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.2654, allocations: 81.55 kB / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2655, allocations: 35.97 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.2682, allocations: 3.045 MB / 444.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.2684, allocations: 24.12 kB / 444.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2684, allocations: 8 kB / 444.3 MB, free: 8.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.2686, allocations: 153.7 kB / 444.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.2687, allocations: 35.8 kB / 444.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.2687, allocations: 26.19 kB / 444.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.2687, allocations: 4 kB / 444.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2687, allocations: 0 / 444.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2687, allocations: 3.984 kB / 444.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2698, allocations: 0.6747 MB / 445.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2698, allocations: 7.984 kB / 445.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.2699, allocations: 23.92 kB / 445.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.2701, allocations: 77.67 kB / 445.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2701, allocations: 4 kB / 445.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.2726, allocations: 3.052 MB / 448.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2726, allocations: 0 / 448.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.2732, allocations: 377.5 kB / 448.8 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.2733, allocations: 105 kB / 448.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.2733, allocations: 0 / 448.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.2736, allocations: 35.97 kB / 448.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.2737, allocations: 23.91 kB / 448.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2737, allocations: 4.188 kB / 448.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.2739, allocations: 190 kB / 449.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2739, allocations: 0 / 449.1 MB, free: 3.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.2742, allocations: 95.83 kB / 449.2 MB, free: 3.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009955/0.2752, allocations: 0.9158 MB / 450.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007912/0.276, allocations: 445 kB / 450.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.276, allocations: 3.938 kB / 450.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.2765, allocations: 337.4 kB / 450.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.2768, allocations: 51.16 kB / 450.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.2805, allocations: 2.723 MB / 453.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.2809, allocations: 0.7678 MB / 454.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.281, allocations: 26.28 kB / 454.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.2811, allocations: 91.41 kB / 454.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2811, allocations: 0 / 454.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/0.3173, allocations: 6.494 MB / 461 MB, free: 7.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.984/10.3, allocations: 7.312 kB / 461.1 MB, free: 7.461 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.505621544085443] Failed to read output from testmodel.py, exit status != 0: ['time', 'VariableResistor.i', 'R2.i'] 10.384078009985387 10.399874011 10.140447526 Calling exit ...