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.001893/0.001893, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002427/0.002427, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.491/1.491, allocations: 230.2 MB / 254.5 MB, free: 15.06 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 67.89 kB / 373.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1547, allocations: 53.33 MB / 427.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.006659/0.1613, allocations: 2.882 MB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.1636, allocations: 0.7634 MB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1638, allocations: 4 kB / 430.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.164, allocations: 39.58 kB / 430.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.1644, allocations: 115.2 kB / 431 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1648, allocations: 107.8 kB / 431.1 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000631/0.1654, allocations: 398.5 kB / 431.5 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.1657, allocations: 79.28 kB / 431.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2784/0.4441, allocations: 157.3 kB / 431.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.4444, allocations: 170.6 kB / 431.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.4444, allocations: 42.16 kB / 431.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.4445, allocations: 38.31 kB / 432 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.4446, allocations: 70.8 kB / 432 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.4448, allocations: 168.9 kB / 432.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.4453, allocations: 422.2 kB / 432.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4453, allocations: 1.844 kB / 432.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4453, allocations: 0 / 432.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.4453, allocations: 0 / 432.6 MB, free: 8.008 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.001222/0.4465, allocations: 0.6702 MB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4465, allocations: 9.125 kB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.4466, allocations: 39.27 kB / 433.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.447, allocations: 288.1 kB / 433.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.447, allocations: 16.84 kB / 433.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.447, allocations: 25.16 kB / 433.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.4477, allocations: 314.7 kB / 434 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4477, allocations: 3.938 kB / 434 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.4477, allocations: 12.94 kB / 434 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4477, allocations: 7.094 kB / 434 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007135/0.4484, allocations: 277 kB / 434.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.4502, allocations: 1.168 MB / 435.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/0.4511, allocations: 236.5 kB / 435.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.4515, allocations: 99.17 kB / 435.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.4515, allocations: 2.953 kB / 435.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.452, allocations: 168.9 kB / 435.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.452, allocations: 0 / 435.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002151/0.4541, allocations: 0.5951 MB / 436.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.4542, allocations: 84.27 kB / 436.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.4545, allocations: 268.6 kB / 436.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.4545, allocations: 31.08 kB / 436.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4547, allocations: 194.2 kB / 437.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.4547, allocations: 41.75 kB / 437.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4548, allocations: 54.31 kB / 437.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.4549, allocations: 332.8 kB / 437.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.4553, allocations: 107.6 kB / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.4557, allocations: 194.7 kB / 437.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.4564, allocations: 300.6 kB / 438.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4564, allocations: 1.281 kB / 438.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001201/0.4576, allocations: 441.2 kB / 438.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.4577, allocations: 37.67 kB / 438.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4577, allocations: 7.234 kB / 438.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003425/0.458, allocations: 69.2 kB / 438.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.4583, allocations: 56.38 kB / 438.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.4603, allocations: 1.638 MB / 440.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.4606, allocations: 54.75 kB / 440.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.4607, allocations: 9.016 kB / 440.4 MB, free: 3.891 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.0001493/0.4608, allocations: 149.2 kB / 440.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.4609, allocations: 24.12 kB / 440.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.4609, allocations: 27.47 kB / 440.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4609, allocations: 2.344 kB / 440.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4609, allocations: 0.7969 kB / 440.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4609, allocations: 4.562 kB / 440.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.4613, allocations: 309.8 kB / 440.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4613, allocations: 0.7969 kB / 440.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.4615, allocations: 34.28 kB / 440.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.4617, allocations: 67 kB / 441 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4617, allocations: 2.078 kB / 441 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.4636, allocations: 1.63 MB / 442.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4636, allocations: 1.125 kB / 442.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.4649, allocations: 455.1 kB / 443.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.465, allocations: 98.22 kB / 443.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.465, allocations: 5.438 kB / 443.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4652, allocations: 28.5 kB / 443.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.4653, allocations: 20.7 kB / 443.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.4653, allocations: 8.156 kB / 443.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.4655, allocations: 187 kB / 443.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4655, allocations: 0 / 443.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.4659, allocations: 69.8 kB / 443.5 MB, free: 1.812 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.0001575/0.4661, allocations: 106.8 kB / 443.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000992/0.4671, allocations: 405.5 kB / 444 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4671, allocations: 8.125 kB / 444 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.4675, allocations: 209.1 kB / 444.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.4679, allocations: 45.83 kB / 444.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.4714, allocations: 0.8905 MB / 445.1 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.4716, allocations: 0.7589 MB / 445.9 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.4718, allocations: 21.41 kB / 445.9 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.4718, allocations: 24.61 kB / 445.9 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4718, allocations: 0 / 445.9 MB, free: 288 kB / 350.1 MB Notification: Performance of Templates: time 0.009796/0.4816, allocations: 3.741 MB / 449.7 MB, free: 52 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.953533242456615]