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.001654/0.001654, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.00231/0.00231, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.425/1.425, allocations: 177.1 MB / 204.7 MB, free: 8.898 MB / 190.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.002715/0.002715, allocations: 58.72 kB / 325.6 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1252, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004764/0.1299, allocations: 2.709 MB / 381.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1314, allocations: 0.6973 MB / 382.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1315, allocations: 4 kB / 382.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1317, allocations: 47.52 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.132, allocations: 111.2 kB / 382.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1323, allocations: 91.84 kB / 382.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.1328, allocations: 390.5 kB / 383 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.1331, allocations: 91.59 kB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.1334, allocations: 155.4 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1336, allocations: 147.2 kB / 383.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.1337, allocations: 40 kB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.1337, allocations: 40 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.411e-05/0.1338, allocations: 83.62 kB / 383.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.134, allocations: 143.3 kB / 383.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.1345, allocations: 434.4 kB / 384.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1345, allocations: 4 kB / 384.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1345, allocations: 0 / 384.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1345, allocations: 0 / 384.1 MB, free: 10.3 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001292/0.1358, allocations: 0.5847 MB / 384.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1359, allocations: 8.031 kB / 384.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.1359, allocations: 40.7 kB / 384.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.1364, allocations: 233.8 kB / 384.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1364, allocations: 20.88 kB / 385 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/0.1365, allocations: 24.38 kB / 385 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.1372, allocations: 335.7 kB / 385.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1372, allocations: 0 / 385.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.1372, allocations: 12 kB / 385.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1372, allocations: 4 kB / 385.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.1379, allocations: 245.8 kB / 385.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.1398, allocations: 0.9514 MB / 386.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.1406, allocations: 206.6 kB / 386.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1409, allocations: 84.8 kB / 386.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1409, allocations: 4 kB / 386.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.1414, allocations: 225.2 kB / 387 MB, free: 7.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.455e-06/0.1414, allocations: 0 / 387 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001505/0.1429, allocations: 389 kB / 387.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.17e-05/0.143, allocations: 110.8 kB / 387.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.1433, allocations: 253.9 kB / 387.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1433, allocations: 29.69 kB / 387.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1435, allocations: 204 kB / 388 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.1435, allocations: 51.56 kB / 388.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.1436, allocations: 53.94 kB / 388.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1438, allocations: 330.8 kB / 388.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1441, allocations: 117.9 kB / 388.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.1445, allocations: 260.6 kB / 388.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.1452, allocations: 286 kB / 389.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1452, allocations: 4 kB / 389.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001013/0.1462, allocations: 413.6 kB / 389.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.1463, allocations: 40.34 kB / 389.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1463, allocations: 4 kB / 389.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.1466, allocations: 56.8 kB / 389.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1469, allocations: 63.83 kB / 389.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.1489, allocations: 1.461 MB / 391.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.1492, allocations: 55.8 kB / 391.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.1492, allocations: 8 kB / 391.2 MB, free: 2.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.1494, allocations: 149.7 kB / 391.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.1494, allocations: 23.86 kB / 391.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.342e-05/0.1494, allocations: 25.77 kB / 391.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1494, allocations: 4 kB / 391.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1494, allocations: 0 / 391.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1495, allocations: 192 / 391.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.1497, allocations: 225 kB / 391.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1497, allocations: 7.984 kB / 391.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1499, allocations: 31.97 kB / 391.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.1502, allocations: 56.8 kB / 391.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.1502, allocations: 4 kB / 391.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.1519, allocations: 1.469 MB / 393.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1519, allocations: 4.031 kB / 393.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.153, allocations: 381.6 kB / 393.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1531, allocations: 31.81 kB / 393.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1531, allocations: 4 kB / 393.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1533, allocations: 23.97 kB / 393.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.1534, allocations: 32.02 kB / 393.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1534, allocations: 4 kB / 393.6 MB, free: 84 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.1537, allocations: 181.2 kB / 393.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1537, allocations: 0 / 393.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.154, allocations: 79.78 kB / 393.9 MB, free: 15.83 MB / 366.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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.1542, allocations: 103.4 kB / 394 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008722/0.155, allocations: 411.5 kB / 394.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.155, allocations: 0 / 394.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.1555, allocations: 218.5 kB / 394.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1558, allocations: 56.06 kB / 394.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.1583, allocations: 0.6931 MB / 395.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.1584, allocations: 138.9 kB / 395.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.1585, allocations: 26.28 kB / 395.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.1586, allocations: 24.5 kB / 395.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1586, allocations: 4 kB / 395.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of Templates: time 0.009003/0.1676, allocations: 4.004 MB / 399.5 MB, free: 10.13 MB / 366.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 -s ida -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/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_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.562103774980642]