Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.558e-05/3.724e-05, allocations: 6.312 kB / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004863/0.0049, allocations: 2.826 MB / 270.2 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.006395, allocations: 0.6934 MB / 270.9 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.006542, allocations: 4 kB / 270.9 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.006721, allocations: 47.5 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.006946, allocations: 111.1 kB / 271 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.00728, allocations: 119.7 kB / 271.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.007782, allocations: 398.3 kB / 271.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.007988, allocations: 87.61 kB / 271.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.008388, allocations: 227.5 kB / 271.8 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.008617, allocations: 131.6 kB / 272 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.008687, allocations: 40 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.008755, allocations: 36 kB / 272.1 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.00885, allocations: 83.69 kB / 272.1 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.009016, allocations: 115.7 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.009602, allocations: 434.7 kB / 272.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.009617, allocations: 3.984 kB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.009618, allocations: 0 / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.009625, allocations: 0 / 272.7 MB, free: 1.34 MB / 250.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.001375/0.011, allocations: 0.6893 MB / 273.4 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.01104, allocations: 8.031 kB / 273.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.01119, allocations: 60.7 kB / 273.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.01165, allocations: 241 kB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.01167, allocations: 16.88 kB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.01172, allocations: 24.31 kB / 273.7 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.01246, allocations: 338.7 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01247, allocations: 4.188 kB / 274 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.01251, allocations: 8.375 kB / 274 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.01252, allocations: 11.94 kB / 274.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.01315, allocations: 229.9 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.01527, allocations: 1.123 MB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.016, allocations: 219 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.01625, allocations: 75.66 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.01628, allocations: 4 kB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.01671, allocations: 201.9 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.01671, allocations: 0 / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008469/0.01756, allocations: 249.5 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.01763, allocations: 85.09 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.01803, allocations: 352.2 kB / 276.6 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.01806, allocations: 33.7 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.01827, allocations: 258.7 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.159e-05/0.01836, allocations: 43.69 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.01848, allocations: 63.31 kB / 277 MB, free: 12.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00029/0.01877, allocations: 0.5157 MB / 277.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.01907, allocations: 117.9 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.01949, allocations: 271.7 kB / 277.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.02011, allocations: 321.1 kB / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02011, allocations: 0 / 278.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007815/0.02089, allocations: 360.6 kB / 278.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.02094, allocations: 29.7 kB / 278.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.02095, allocations: 4 kB / 278.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.02096, allocations: 4 kB / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.02123, allocations: 68.23 kB / 278.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.02124, allocations: 4 kB / 278.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.02148, allocations: 39.77 kB / 278.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.0215, allocations: 12 kB / 278.7 MB, free: 10.9 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 0.0002115/0.02172, allocations: 192.5 kB / 278.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.02178, allocations: 31.84 kB / 278.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.02184, allocations: 17.78 kB / 278.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.02185, allocations: 4 kB / 278.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.02185, allocations: 4 kB / 278.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.02186, allocations: 3.984 kB / 278.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.02219, allocations: 264.5 kB / 279.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0222, allocations: 0 / 279.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.0224, allocations: 31.97 kB / 279.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.0224, allocations: 7.938 kB / 279.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.02242, allocations: 8 kB / 279.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.02243, allocations: 0 / 279.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.02243, allocations: 0 / 279.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.02329, allocations: 324.1 kB / 279.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.02335, allocations: 31.78 kB / 279.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.02338, allocations: 0 / 279.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.02359, allocations: 19.98 kB / 279.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.02367, allocations: 19.97 kB / 279.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.02369, allocations: 32 / 279.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002566/0.02394, allocations: 249.1 kB / 279.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02394, allocations: 0 / 279.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.02424, allocations: 63.84 kB / 279.9 MB, free: 9.586 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.0001462/0.02439, allocations: 103.2 kB / 280 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.02513, allocations: 300.9 kB / 280.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02514, allocations: 0 / 280.3 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.02544, allocations: 95.58 kB / 280.4 MB, free: 9.062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.02578, allocations: 49.11 kB / 280.5 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.02694, allocations: 0.4914 MB / 280.9 MB, free: 8.496 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.0271, allocations: 142.9 kB / 281.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.02721, allocations: 26.28 kB / 281.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.02729, allocations: 20.5 kB / 281.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02729, allocations: 0 / 281.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of Templates: time 0.008067/0.03536, allocations: 3.12 MB / 284.3 MB, free: 5.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.502526875003241]