Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001758/0.001758, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002135/0.002135, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 67.89 kB / 373.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1194, allocations: 53.32 MB / 426.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005055/0.1244, allocations: 2.88 MB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1263, allocations: 0.7596 MB / 430.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.1266, allocations: 4 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1268, allocations: 55.5 kB / 430.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1272, allocations: 99.25 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.1276, allocations: 119.7 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006664/0.1283, allocations: 386.5 kB / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.1286, allocations: 87.27 kB / 431.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.129, allocations: 163.4 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.1294, allocations: 163.3 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.1295, allocations: 40 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.1295, allocations: 40 kB / 431.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.1296, allocations: 75.69 kB / 431.5 MB, free: 168 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2292/0.3589, allocations: 170.3 kB / 431.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008511/0.3597, allocations: 422.3 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3597, allocations: 2.625 kB / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3597, allocations: 0 / 432.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.3597, allocations: 0.8438 kB / 432.1 MB, free: 8.055 MB / 350.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.001405/0.3611, allocations: 0.6597 MB / 432.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3612, allocations: 9.656 kB / 432.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.3613, allocations: 62.05 kB / 432.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.3614, allocations: 36.83 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.3618, allocations: 286.1 kB / 433.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3618, allocations: 19.19 kB / 433.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.3619, allocations: 24.69 kB / 433.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.3625, allocations: 320.6 kB / 433.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3625, allocations: 3.125 kB / 433.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.3626, allocations: 10.47 kB / 433.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3626, allocations: 6.031 kB / 433.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.3633, allocations: 273.4 kB / 433.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.3649, allocations: 1.178 MB / 435 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.3658, allocations: 244.1 kB / 435.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.3661, allocations: 96.23 kB / 435.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3661, allocations: 1.219 kB / 435.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.3666, allocations: 170 kB / 435.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3666, allocations: 0 / 435.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001979/0.3686, allocations: 0.5912 MB / 436.1 MB, free: 6.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3686, allocations: 91.28 kB / 436.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.3689, allocations: 258.9 kB / 436.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.3689, allocations: 29.42 kB / 436.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.369, allocations: 202 kB / 436.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.3691, allocations: 44.42 kB / 436.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.3692, allocations: 50.05 kB / 436.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.3693, allocations: 333.7 kB / 437.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.3696, allocations: 100 kB / 437.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.37, allocations: 197.2 kB / 437.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.3706, allocations: 299.6 kB / 437.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3706, allocations: 5.062 kB / 437.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001153/0.3718, allocations: 439.4 kB / 438.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.3718, allocations: 43.11 kB / 438.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3718, allocations: 2.812 kB / 438.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.3722, allocations: 67.97 kB / 438.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.3724, allocations: 54.88 kB / 438.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.3744, allocations: 1.631 MB / 439.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.3747, allocations: 48.28 kB / 439.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.3747, allocations: 12.3 kB / 439.9 MB, free: 3.914 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.0001324/0.3748, allocations: 160.4 kB / 440.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.3749, allocations: 25.97 kB / 440.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.3749, allocations: 25.48 kB / 440.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3749, allocations: 2.312 kB / 440.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3749, allocations: 0 / 440.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3749, allocations: 2.328 kB / 440.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.3752, allocations: 310.4 kB / 440.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3752, allocations: 1.812 kB / 440.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.3754, allocations: 37.06 kB / 440.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.3756, allocations: 65.09 kB / 440.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3756, allocations: 3.672 kB / 440.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.3773, allocations: 1.621 MB / 442.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3773, allocations: 4.969 kB / 442.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.3785, allocations: 452.5 kB / 442.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.3786, allocations: 105.9 kB / 442.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3786, allocations: 6.562 kB / 442.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3788, allocations: 26.27 kB / 442.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.3789, allocations: 16.03 kB / 442.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3789, allocations: 8.422 kB / 442.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.3791, allocations: 186.1 kB / 443 MB, free: 1.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3791, allocations: 4.062 kB / 443 MB, free: 1.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.3794, allocations: 69.92 kB / 443 MB, free: 1.914 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.001478/0.3809, allocations: 0.9882 MB / 444 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009309/0.3818, allocations: 407.7 kB / 444.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3818, allocations: 0.5312 kB / 444.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.3823, allocations: 221 kB / 444.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3826, allocations: 49.69 kB / 444.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00722/0.3898, allocations: 3.408 MB / 448.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.3903, allocations: 0.7536 MB / 448.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3904, allocations: 27.56 kB / 448.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.3906, allocations: 81.16 kB / 449 MB, free: 14.13 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3906, allocations: 0 / 449 MB, free: 14.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/0.4304, allocations: 6.337 MB / 455.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.4, allocations: 9.375 kB / 455.3 MB, free: 12.57 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.926545336842537]