Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003101/0.003101, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.996 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 47.92 kB / 377.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 53.36 MB / 431.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004173/0.2564, allocations: 2.905 MB / 434.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2578, allocations: 0.7635 MB / 434.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2579, allocations: 4 kB / 434.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.2581, allocations: 51.5 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.2583, allocations: 99.25 kB / 435 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2586, allocations: 119.8 kB / 435.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.259, allocations: 386.5 kB / 435.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.2593, allocations: 91.66 kB / 435.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.2596, allocations: 163.4 kB / 435.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.2598, allocations: 167.2 kB / 435.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.2599, allocations: 40 kB / 435.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.2599, allocations: 36 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.26, allocations: 75.7 kB / 436 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.2602, allocations: 171.2 kB / 436.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.2606, allocations: 426.8 kB / 436.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2606, allocations: 4 kB / 436.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2606, allocations: 0 / 436.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.2607, allocations: 3.938 kB / 436.6 MB, free: 1.324 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001278/0.2619, allocations: 0.5887 MB / 437.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.262, allocations: 12.03 kB / 437.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.297e-05/0.262, allocations: 58.72 kB / 437.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.2621, allocations: 32.75 kB / 437.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.2625, allocations: 242.8 kB / 437.6 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2626, allocations: 16.88 kB / 437.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.2626, allocations: 28.38 kB / 437.6 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.2633, allocations: 314.8 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2633, allocations: 3.938 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.2633, allocations: 8 kB / 437.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.2633, allocations: 11.98 kB / 437.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.2641, allocations: 273.8 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.2661, allocations: 1.123 MB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.2669, allocations: 238.5 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.2672, allocations: 92.78 kB / 439.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2672, allocations: 8 kB / 439.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.2677, allocations: 168.9 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 3.436e-06/0.2677, allocations: 3.984 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001954/0.2697, allocations: 0.5252 MB / 440.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.2697, allocations: 81.09 kB / 440.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.27, allocations: 261.9 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2701, allocations: 25.7 kB / 440.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.2702, allocations: 204 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.2702, allocations: 47.64 kB / 441 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.2703, allocations: 49.64 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2705, allocations: 330.8 kB / 441.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.2708, allocations: 104.2 kB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.2712, allocations: 195.5 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/0.2719, allocations: 307.7 kB / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2719, allocations: 0 / 441.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00115/0.2731, allocations: 441.7 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.2731, allocations: 33.64 kB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2731, allocations: 7.984 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.2734, allocations: 64.89 kB / 442.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.2737, allocations: 63.83 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.2759, allocations: 1.533 MB / 444.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.2762, allocations: 55.84 kB / 444.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.2762, allocations: 15.94 kB / 444.1 MB, free: 9.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.2763, allocations: 141.8 kB / 444.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2764, allocations: 23.84 kB / 444.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.2764, allocations: 25.72 kB / 444.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2764, allocations: 4 kB / 444.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2764, allocations: 0 / 444.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2764, allocations: 7.969 kB / 444.3 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.2768, allocations: 292.4 kB / 444.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2768, allocations: 0 / 444.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.2769, allocations: 31.97 kB / 444.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.2772, allocations: 68.75 kB / 444.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2772, allocations: 0 / 444.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.2792, allocations: 1.521 MB / 446.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.2792, allocations: 7.969 kB / 446.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.2805, allocations: 449.4 kB / 446.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.2805, allocations: 31.88 kB / 446.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.2806, allocations: 8 kB / 446.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2808, allocations: 28.03 kB / 446.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.2809, allocations: 19.97 kB / 446.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2809, allocations: 4 kB / 446.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.2811, allocations: 193.2 kB / 447 MB, free: 6.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2811, allocations: 0 / 447 MB, free: 6.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.2814, allocations: 63.89 kB / 447 MB, free: 6.266 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/0.283, allocations: 0.9878 MB / 448 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009321/0.284, allocations: 406.1 kB / 448.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.284, allocations: 0 / 448.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.2844, allocations: 211.3 kB / 448.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2847, allocations: 54.73 kB / 448.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/0.292, allocations: 3.41 MB / 452.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.2923, allocations: 0.7596 MB / 452.8 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.2924, allocations: 22.3 kB / 452.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2926, allocations: 75.41 kB / 452.9 MB, free: 116 kB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2926, allocations: 0 / 452.9 MB, free: 116 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.3315, allocations: 6.489 MB / 459.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.82, allocations: 11.25 kB / 459.4 MB, free: 9.785 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.251524531980976]