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.001191/0.001191, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006384/0.006384, allocations: 157.5 kB / 24.7 MB, free: 9.422 MB / 18.57 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 0.864/0.864, allocations: 177 MB / 204.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.423e-06/1.423e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.02e-05, allocations: 3.266 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003875/0.003896, allocations: 2.713 MB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.005091, allocations: 0.7011 MB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.005246, allocations: 7.938 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.005416, allocations: 43.52 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.00563, allocations: 111.1 kB / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.005914, allocations: 99.77 kB / 329.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.00633, allocations: 406.1 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.006542, allocations: 79.67 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.006917, allocations: 235.4 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.007106, allocations: 127.6 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.007163, allocations: 36 kB / 330.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.007212, allocations: 40 kB / 330.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.007279, allocations: 75.69 kB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.00741, allocations: 119.7 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.007865, allocations: 442.6 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007868, allocations: 4 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.00787, allocations: 4 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.007876, allocations: 0 / 331 MB, free: 10.11 MB / 298.7 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.001064/0.008939, allocations: 0.5769 MB / 331.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.008979, allocations: 11.98 kB / 331.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.009057, allocations: 40.75 kB / 331.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.00944, allocations: 240.9 kB / 331.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.009466, allocations: 24.86 kB / 331.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.009521, allocations: 24.38 kB / 331.9 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.01011, allocations: 327.9 kB / 332.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.01012, allocations: 192 / 332.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.01015, allocations: 12.38 kB / 332.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01016, allocations: 11.94 kB / 332.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.01076, allocations: 249.8 kB / 332.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.01219, allocations: 0.9514 MB / 333.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.01259, allocations: 206.6 kB / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.01272, allocations: 80.8 kB / 333.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01274, allocations: 7.984 kB / 333.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.01298, allocations: 217.8 kB / 334 MB, free: 6.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.01298, allocations: 0 / 334 MB, free: 6.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007587/0.01374, allocations: 396.9 kB / 334.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.01379, allocations: 106.8 kB / 334.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.01396, allocations: 261.8 kB / 334.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.01398, allocations: 33.7 kB / 334.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.01407, allocations: 196 kB / 335 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.0141, allocations: 43.64 kB / 335 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.01415, allocations: 49.94 kB / 335 MB, free: 5.844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.01423, allocations: 338.8 kB / 335.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.01439, allocations: 117.9 kB / 335.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.01459, allocations: 260.7 kB / 335.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.01489, allocations: 282.9 kB / 336 MB, free: 4.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.0149, allocations: 0 / 336 MB, free: 4.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004991/0.0154, allocations: 416.5 kB / 336.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.01542, allocations: 33.69 kB / 336.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01543, allocations: 4 kB / 336.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.01562, allocations: 61.06 kB / 336.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.01573, allocations: 59.89 kB / 336.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009707/0.0167, allocations: 1.461 MB / 338 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.01684, allocations: 47.8 kB / 338.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01685, allocations: 8 kB / 338.1 MB, free: 2.531 MB / 298.7 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.0001038/0.01696, allocations: 153.7 kB / 338.2 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.01698, allocations: 27.92 kB / 338.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.017, allocations: 25.77 kB / 338.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.017, allocations: 4 kB / 338.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.017, allocations: 3.938 kB / 338.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.017, allocations: 0 / 338.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.01715, allocations: 221.1 kB / 338.5 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01715, allocations: 4.188 kB / 338.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.01725, allocations: 35.91 kB / 338.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.01738, allocations: 64.78 kB / 338.6 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01739, allocations: 4 kB / 338.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008503/0.01824, allocations: 1.458 MB / 340.1 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01824, allocations: 4.031 kB / 340.1 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.01877, allocations: 389.5 kB / 340.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.0188, allocations: 27.81 kB / 340.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01882, allocations: 7.938 kB / 340.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.01891, allocations: 27.97 kB / 340.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.01897, allocations: 23.95 kB / 340.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.01898, allocations: 4 kB / 340.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.01911, allocations: 181.2 kB / 340.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01911, allocations: 0 / 340.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.01931, allocations: 75.84 kB / 340.8 MB, free: 15.64 MB / 314.7 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 8.617e-05/0.0194, allocations: 115.4 kB / 340.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000497/0.01989, allocations: 418.8 kB / 341.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.0199, allocations: 4.062 kB / 341.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.0201, allocations: 206.6 kB / 341.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.0203, allocations: 36.48 kB / 341.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.02153, allocations: 0.6838 MB / 342.3 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.02162, allocations: 142.9 kB / 342.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.02167, allocations: 32.42 kB / 342.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02167, allocations: 0 / 342.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Templates: time 0.004391/0.02606, allocations: 4.83 MB / 347.3 MB, free: 9.098 MB / 314.7 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.500408670864999]