Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00151/0.00151, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001852/0.001852, allocations: 167.7 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.999/0.999, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.854e-05, allocations: 2.312 kB / 273.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004045/0.004063, allocations: 2.848 MB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.005551, allocations: 0.7361 MB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.005718, allocations: 4 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.005879, allocations: 47.56 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.006088, allocations: 107.1 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.0064, allocations: 119.7 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.006859, allocations: 406.3 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.007063, allocations: 87.67 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.007512, allocations: 223.5 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.007712, allocations: 139.6 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.007763, allocations: 36 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.272e-05/0.007816, allocations: 43.94 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.007877, allocations: 75.75 kB / 278.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.007988, allocations: 115.7 kB / 278.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.008312, allocations: 243.1 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.008314, allocations: 0 / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.008315, allocations: 4 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.00832, allocations: 0 / 278.6 MB, free: 12.02 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008997/0.00922, allocations: 0.674 MB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.009257, allocations: 8.031 kB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.009344, allocations: 52.75 kB / 279.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.009622, allocations: 240.9 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.009643, allocations: 16.88 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.009686, allocations: 28.38 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.01008, allocations: 255.3 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01009, allocations: 192 / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.01011, allocations: 8.375 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.01013, allocations: 11.94 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.01029, allocations: 79.36 kB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.01126, allocations: 1.01 MB / 281 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.01146, allocations: 111.1 kB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.0115, allocations: 31.66 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.01151, allocations: 4 kB / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.01166, allocations: 138 kB / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.01166, allocations: 0 / 281.3 MB, free: 9.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002053/0.01186, allocations: 113.5 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.0119, allocations: 89.09 kB / 281.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.01206, allocations: 288.1 kB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.01209, allocations: 33.7 kB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.0122, allocations: 246.7 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.01222, allocations: 47.67 kB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.01228, allocations: 55.3 kB / 282.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.01242, allocations: 0.504 MB / 282.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.01248, allocations: 57.84 kB / 282.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.01259, allocations: 199.8 kB / 282.9 MB, free: 7.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.01275, allocations: 205.7 kB / 283.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01275, allocations: 4 kB / 283.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002319/0.01298, allocations: 248 kB / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.01301, allocations: 33.7 kB / 283.4 MB, free: 6.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.01302, allocations: 4 kB / 283.4 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01303, allocations: 4 kB / 283.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.01317, allocations: 63.89 kB / 283.4 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01318, allocations: 4 kB / 283.4 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01329, allocations: 35.88 kB / 283.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.0133, allocations: 11.92 kB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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 8.826e-05/0.01339, allocations: 188.4 kB / 283.7 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.01341, allocations: 23.86 kB / 283.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.01345, allocations: 29.77 kB / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01345, allocations: 0 / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01346, allocations: 0 / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01346, allocations: 0 / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.01358, allocations: 173.1 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01359, allocations: 0 / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.01368, allocations: 47.84 kB / 283.9 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01368, allocations: 4 kB / 284 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.01369, allocations: 0 / 284 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01369, allocations: 3.984 kB / 284 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01369, allocations: 4 kB / 284 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.01388, allocations: 160.6 kB / 284.1 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.0139, allocations: 27.8 kB / 284.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.01392, allocations: 7.984 kB / 284.2 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.014, allocations: 19.98 kB / 284.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.01404, allocations: 15.97 kB / 284.2 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.01405, allocations: 4.031 kB / 284.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.01414, allocations: 197.1 kB / 284.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01414, allocations: 0 / 284.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.01433, allocations: 71.72 kB / 284.5 MB, free: 5.711 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: 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 (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.01443, allocations: 103.2 kB / 284.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.01464, allocations: 177.2 kB / 284.7 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01464, allocations: 0 / 284.7 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.064e-05/0.0147, allocations: 47.72 kB / 284.8 MB, free: 5.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.01492, allocations: 42.81 kB / 284.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.01574, allocations: 481.9 kB / 285.3 MB, free: 4.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.01578, allocations: 80.31 kB / 285.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.01585, allocations: 22.3 kB / 285.4 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.01599, allocations: 122.2 kB / 285.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01599, allocations: 0 / 285.5 MB, free: 4.574 MB / 266.7 MB Notification: Performance of Templates: time 0.005056/0.02105, allocations: 3.374 MB / 288.9 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.66585231712088]