Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001005/0.001005, allocations: 79.73 kB / 21.97 MB, free: 2.609 MB / 18.57 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.001093/0.001093, allocations: 164.7 kB / 25.33 MB, free: 9.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8879/0.8879, allocations: 158.6 MB / 187.2 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.521e-05, allocations: 2.312 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003301/0.003326, allocations: 2.61 MB / 253.7 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.004608, allocations: 0.702 MB / 254.4 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.004763, allocations: 7.938 kB / 254.4 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.004948, allocations: 35.64 kB / 254.4 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.005116, allocations: 91.27 kB / 254.5 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.005396, allocations: 99.73 kB / 254.6 MB, free: 3.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.005719, allocations: 334.4 kB / 254.9 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.005883, allocations: 52.89 kB / 255 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.00613, allocations: 191.5 kB / 255.2 MB, free: 3.352 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.006267, allocations: 111.7 kB / 255.3 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.006306, allocations: 28 kB / 255.3 MB, free: 3.215 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.00634, allocations: 28 kB / 255.3 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.00639, allocations: 63.75 kB / 255.4 MB, free: 3.125 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.977e-05/0.00648, allocations: 95.75 kB / 255.5 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.006717, allocations: 195.2 kB / 255.7 MB, free: 2.84 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006721, allocations: 0 / 255.7 MB, free: 2.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006722, allocations: 0 / 255.7 MB, free: 2.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.006726, allocations: 4 kB / 255.7 MB, free: 2.836 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000825/0.007551, allocations: 0.6269 MB / 256.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.007587, allocations: 11.98 kB / 256.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.007665, allocations: 44.8 kB / 256.4 MB, free: 2.109 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.007942, allocations: 208.1 kB / 256.6 MB, free: 1.875 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.00796, allocations: 12.75 kB / 256.6 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.007997, allocations: 20.38 kB / 256.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.008348, allocations: 203.5 kB / 256.8 MB, free: 1.633 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.00836, allocations: 4.125 kB / 256.8 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.008381, allocations: 12.38 kB / 256.8 MB, free: 1.617 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.008392, allocations: 11.94 kB / 256.8 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.008526, allocations: 83.44 kB / 256.9 MB, free: 1.523 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.009613, allocations: 0.7126 MB / 257.6 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.009995, allocations: 119.2 kB / 257.8 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.297e-05/0.01008, allocations: 35.61 kB / 257.8 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.0101, allocations: 4 kB / 257.8 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.01032, allocations: 154.1 kB / 257.9 MB, free: 416 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.01032, allocations: 0 / 257.9 MB, free: 416 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003036/0.01062, allocations: 137.5 kB / 258.1 MB, free: 272 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.01068, allocations: 81.05 kB / 258.2 MB, free: 172 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.01091, allocations: 275.2 kB / 258.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.01094, allocations: 37.7 kB / 258.5 MB, free: 15.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.01108, allocations: 210.8 kB / 258.7 MB, free: 15.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.01113, allocations: 43.64 kB / 258.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/0.01122, allocations: 47.36 kB / 258.8 MB, free: 15.53 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.01142, allocations: 0.5001 MB / 259.3 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.01154, allocations: 65.38 kB / 259.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.01168, allocations: 156.9 kB / 259.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.0119, allocations: 166.7 kB / 259.6 MB, free: 14.55 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.0119, allocations: 4 kB / 259.6 MB, free: 14.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003264/0.01223, allocations: 228.7 kB / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.01226, allocations: 33.7 kB / 259.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.01227, allocations: 3.938 kB / 259.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.01229, allocations: 4 kB / 259.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.01247, allocations: 60.09 kB / 260 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01247, allocations: 0 / 260 MB, free: 14.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.01261, allocations: 35.86 kB / 260 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01263, allocations: 8 kB / 260 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001368/0.01277, allocations: 184.6 kB / 260.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001284/0.01289, allocations: 160.8 kB / 260.3 MB, free: 13.76 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001575/0.01305, allocations: 155.4 kB / 260.5 MB, free: 13.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.01305, allocations: 0 / 260.5 MB, free: 13.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002803/0.01333, allocations: 232.1 kB / 260.7 MB, free: 13.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.01336, allocations: 41.62 kB / 260.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.01336, allocations: 0 / 260.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.01337, allocations: 4.188 kB / 260.8 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.0135, allocations: 51.97 kB / 260.8 MB, free: 13.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.0135, allocations: 7.938 kB / 260.8 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01363, allocations: 27.88 kB / 260.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.01364, allocations: 8 kB / 260.9 MB, free: 13.19 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.01375, allocations: 275.7 kB / 261.1 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.01379, allocations: 27.84 kB / 261.2 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.01383, allocations: 29.44 kB / 261.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01384, allocations: 0 / 261.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01384, allocations: 4 kB / 261.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01385, allocations: 3.938 kB / 261.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.01403, allocations: 204.4 kB / 261.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01403, allocations: 0 / 261.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.01416, allocations: 31.97 kB / 261.4 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.01416, allocations: 4 kB / 261.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.01417, allocations: 7.938 kB / 261.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.01418, allocations: 0 / 261.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01418, allocations: 3.984 kB / 261.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.01446, allocations: 192 kB / 261.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.01449, allocations: 19.84 kB / 261.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01451, allocations: 7.922 kB / 261.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.01459, allocations: 19.98 kB / 261.7 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.01464, allocations: 15.97 kB / 261.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.01464, allocations: 4 kB / 261.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.01474, allocations: 199 kB / 261.9 MB, free: 12.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01474, allocations: 0 / 261.9 MB, free: 12.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.01497, allocations: 103.8 kB / 262 MB, free: 11.99 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.196e-05/0.01505, allocations: 99.28 kB / 262.1 MB, free: 11.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.01535, allocations: 333.3 kB / 262.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01535, allocations: 0 / 262.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.01542, allocations: 51.59 kB / 262.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01561, allocations: 45.33 kB / 262.5 MB, free: 11.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006854/0.0163, allocations: 445.6 kB / 262.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.01634, allocations: 72.33 kB / 263 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.01641, allocations: 29.94 kB / 263 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.01646, allocations: 20.5 kB / 263.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01646, allocations: 0 / 263.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of Templates: time 0.004712/0.02117, allocations: 3.308 MB / 266.4 MB, free: 7.527 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.897702507674694]