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.002599/0.002599, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002053/0.002053, allocations: 162.8 kB / 25.03 MB, free: 8.934 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 1.484/1.484, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.154e-06/2.154e-06, allocations: 0 / 250.4 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.565e-05, allocations: 2.312 kB / 250.4 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00518/0.005216, allocations: 2.564 MB / 253 MB, free: 5.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.00702, allocations: 0.6981 MB / 253.7 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.007177, allocations: 4 kB / 253.7 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.007349, allocations: 39.58 kB / 253.7 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.007576, allocations: 87.28 kB / 253.8 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.007911, allocations: 91.8 kB / 253.9 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.00838, allocations: 334.5 kB / 254.2 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.008584, allocations: 60.7 kB / 254.3 MB, free: 3.891 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.008929, allocations: 187.5 kB / 254.5 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.009131, allocations: 111.6 kB / 254.6 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.009192, allocations: 28 kB / 254.6 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.009252, allocations: 28 kB / 254.6 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.009337, allocations: 67.75 kB / 254.7 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.009492, allocations: 91.75 kB / 254.8 MB, free: 3.387 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.01001, allocations: 311 kB / 255.1 MB, free: 3.082 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.01001, allocations: 0 / 255.1 MB, free: 3.082 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01001, allocations: 0 / 255.1 MB, free: 3.082 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01002, allocations: 0 / 255.1 MB, free: 3.082 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.001379/0.0114, allocations: 0.6461 MB / 255.7 MB, free: 2.391 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.01145, allocations: 15.98 kB / 255.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01157, allocations: 40.8 kB / 255.8 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.01196, allocations: 212.1 kB / 256 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.01199, allocations: 12.75 kB / 256 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.01204, allocations: 24.36 kB / 256 MB, free: 2.066 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.01262, allocations: 234.8 kB / 256.3 MB, free: 1.828 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.01264, allocations: 4.188 kB / 256.3 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.01267, allocations: 8.375 kB / 256.3 MB, free: 1.816 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01268, allocations: 7.938 kB / 256.3 MB, free: 1.809 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.01328, allocations: 195.6 kB / 256.5 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.01505, allocations: 0.7791 MB / 257.2 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.0158, allocations: 203.1 kB / 257.4 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.01605, allocations: 83.64 kB / 257.5 MB, free: 496 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.01608, allocations: 4 kB / 257.5 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.01652, allocations: 198 kB / 257.7 MB, free: 264 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.01652, allocations: 0 / 257.7 MB, free: 264 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001133/0.01765, allocations: 249.5 kB / 258 MB, free: 8 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.01778, allocations: 85.09 kB / 258 MB, free: 15.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.01814, allocations: 321.7 kB / 258.4 MB, free: 15.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.01818, allocations: 33.7 kB / 258.4 MB, free: 15.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.01841, allocations: 218.9 kB / 258.6 MB, free: 15.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.01847, allocations: 47.64 kB / 258.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.01858, allocations: 47.38 kB / 258.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003397/0.01892, allocations: 0.5118 MB / 259.2 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.01922, allocations: 113.3 kB / 259.3 MB, free: 14.57 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.01962, allocations: 216.8 kB / 259.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.02022, allocations: 250.8 kB / 259.8 MB, free: 14.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02023, allocations: 0 / 259.8 MB, free: 14.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007983/0.02102, allocations: 320.6 kB / 260.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.02107, allocations: 33.7 kB / 260.1 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.02109, allocations: 12.12 kB / 260.1 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.0211, allocations: 0 / 260.1 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.02138, allocations: 63.89 kB / 260.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.02139, allocations: 4 kB / 260.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.02163, allocations: 27.88 kB / 260.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.02166, allocations: 8 kB / 260.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003719/0.02203, allocations: 240.5 kB / 260.5 MB, free: 13.3 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003413/0.02237, allocations: 200.9 kB / 260.7 MB, free: 13.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004723/0.02284, allocations: 219.3 kB / 260.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.097e-06/0.02285, allocations: 4 kB / 260.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006528/0.0235, allocations: 304.1 kB / 261.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.02355, allocations: 49.56 kB / 261.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.02355, allocations: 0 / 261.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.02356, allocations: 4 kB / 261.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.02376, allocations: 43.97 kB / 261.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.02376, allocations: 0 / 261.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.02397, allocations: 36.06 kB / 261.3 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.02399, allocations: 11.94 kB / 261.3 MB, free: 12.35 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.0002475/0.02424, allocations: 284 kB / 261.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.02429, allocations: 23.84 kB / 261.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.02437, allocations: 25.45 kB / 261.7 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.02437, allocations: 4 kB / 261.7 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02438, allocations: 0 / 261.7 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02438, allocations: 0 / 261.7 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.02471, allocations: 224.5 kB / 261.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.02471, allocations: 0 / 261.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.02493, allocations: 47.91 kB / 261.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.02493, allocations: 0 / 261.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.02496, allocations: 11.92 kB / 261.9 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.02496, allocations: 0 / 261.9 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02496, allocations: 0 / 261.9 MB, free: 11.69 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008993/0.02586, allocations: 316.2 kB / 262.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.02591, allocations: 15.91 kB / 262.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.02595, allocations: 11.92 kB / 262.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.02614, allocations: 19.98 kB / 262.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.02622, allocations: 15.97 kB / 262.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.02624, allocations: 7.938 kB / 262.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002387/0.02647, allocations: 224.1 kB / 262.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02647, allocations: 0 / 262.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.02689, allocations: 103.8 kB / 262.6 MB, free: 10.97 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 0.0001538/0.02705, allocations: 99.28 kB / 262.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.0281, allocations: 485 kB / 263.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02811, allocations: 0.75 kB / 263.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.02839, allocations: 95.58 kB / 263.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.02873, allocations: 56.53 kB / 263.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.0298, allocations: 453.7 kB / 263.8 MB, free: 9.727 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.02994, allocations: 134.1 kB / 263.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.03008, allocations: 29.94 kB / 264 MB, free: 9.547 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.03017, allocations: 24.5 kB / 264 MB, free: 9.523 MB / 250.7 MB Notification: Performance of SimCode: time 6.32e-07/0.03017, allocations: 0 / 264 MB, free: 9.523 MB / 250.7 MB Notification: Performance of Templates: time 0.008588/0.03875, allocations: 3.127 MB / 267.1 MB, free: 6.414 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.5681448969990015]