Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.0009459/0.0009459, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001108/0.001108, allocations: 161 kB / 24.91 MB, free: 9.188 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.9518/0.9518, allocations: 177 MB / 205.2 MB, free: 5.473 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.226e-05, allocations: 2.312 kB / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002727/0.002739, allocations: 2.908 MB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.003624, allocations: 0.732 MB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.003734, allocations: 4 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.003856, allocations: 47.5 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.003993, allocations: 115.1 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.004188, allocations: 95.77 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.004454, allocations: 402.2 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.004593, allocations: 94.27 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.004841, allocations: 231.4 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.004983, allocations: 131.6 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.00502, allocations: 40 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.259e-05/0.005053, allocations: 36 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.005103, allocations: 79.67 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.005181, allocations: 123.7 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.005397, allocations: 247.1 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005399, allocations: 0 / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005399, allocations: 0 / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.005403, allocations: 0 / 278.7 MB, free: 11.86 MB / 266.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.0005577/0.00596, allocations: 0.5453 MB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.005996, allocations: 19.98 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.006045, allocations: 40.91 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006236, allocations: 197 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.006249, allocations: 20.88 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.006278, allocations: 28.38 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.006497, allocations: 240.7 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006504, allocations: 192 / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.006521, allocations: 12.38 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.006528, allocations: 11.94 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.006618, allocations: 63.47 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008183/0.007437, allocations: 0.7237 MB / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.007609, allocations: 102.4 kB / 280.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.007645, allocations: 32.84 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.00766, allocations: 4 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.007796, allocations: 169.2 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.007797, allocations: 0 / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001499/0.007947, allocations: 101.6 kB / 281 MB, free: 9.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.007983, allocations: 110.8 kB / 281.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.008108, allocations: 232.9 kB / 281.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.008124, allocations: 29.7 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.008191, allocations: 183.9 kB / 281.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.008219, allocations: 55.58 kB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.00827, allocations: 49.92 kB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.866e-05/0.008339, allocations: 334.8 kB / 282 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.00838, allocations: 49.92 kB / 282 MB, free: 8.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.008474, allocations: 200.6 kB / 282.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.008588, allocations: 166.2 kB / 282.4 MB, free: 7.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.00859, allocations: 7.938 kB / 282.4 MB, free: 7.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001636/0.008754, allocations: 208.7 kB / 282.6 MB, free: 7.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.008778, allocations: 34.02 kB / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008783, allocations: 4 kB / 282.6 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.008794, allocations: 4 kB / 282.6 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.008947, allocations: 67.89 kB / 282.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.008952, allocations: 4 kB / 282.7 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.009057, allocations: 39.81 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.009068, allocations: 4 kB / 282.8 MB, free: 7.457 MB / 266.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 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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 7.607e-05/0.009144, allocations: 141.7 kB / 282.9 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.009163, allocations: 15.98 kB / 282.9 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.009196, allocations: 29.77 kB / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009198, allocations: 0 / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.009199, allocations: 0 / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.009201, allocations: 0 / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.009306, allocations: 153.7 kB / 283.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009307, allocations: 0 / 283.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.927e-05/0.009406, allocations: 47.83 kB / 283.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.009408, allocations: 0 / 283.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.009418, allocations: 8 kB / 283.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.00942, allocations: 4 kB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009421, allocations: 0 / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.009584, allocations: 136.2 kB / 283.3 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.009608, allocations: 23.73 kB / 283.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.009628, allocations: 4 kB / 283.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.009701, allocations: 23.97 kB / 283.3 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.009741, allocations: 19.91 kB / 283.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.009748, allocations: 8 kB / 283.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.009799, allocations: 78.81 kB / 283.4 MB, free: 6.727 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0098, allocations: 7.938 kB / 283.4 MB, free: 6.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.009955, allocations: 71.84 kB / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.c.v) * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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 6.153e-05/0.01002, allocations: 80.41 kB / 283.6 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.01017, allocations: 185 kB / 283.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01017, allocations: 4 kB / 283.8 MB, free: 6.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.01022, allocations: 41.41 kB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.01036, allocations: 52.39 kB / 283.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.01112, allocations: 0.5159 MB / 284.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.01115, allocations: 80.31 kB / 284.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.644e-05/0.01122, allocations: 26.3 kB / 284.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.01134, allocations: 103.3 kB / 284.6 MB, free: 5.496 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01134, allocations: 0 / 284.6 MB, free: 5.496 MB / 266.7 MB Notification: Performance of Templates: time 0.004625/0.01596, allocations: 3.554 MB / 288.1 MB, free: 2.016 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.5377068649977446]