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.0009988/0.0009988, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.0009916/0.0009916, allocations: 166.5 kB / 25.61 MB, free: 8.895 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.9651/0.9651, allocations: 177.1 MB / 206 MB, free: 4.508 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.374e-06/2.374e-06, allocations: 0 / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.493e-05, allocations: 2.906 kB / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003078/0.003103, allocations: 2.835 MB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.00408, allocations: 0.7436 MB / 277.8 MB, free: 0.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.00421, allocations: 8.594 kB / 277.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.004351, allocations: 49.98 kB / 277.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.004496, allocations: 111.1 kB / 278 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.004732, allocations: 111.8 kB / 278.1 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.005051, allocations: 402.3 kB / 278.5 MB, free: 128 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.00522, allocations: 91.64 kB / 278.6 MB, free: 32 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.005528, allocations: 227.4 kB / 278.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.005681, allocations: 135.6 kB / 278.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.005723, allocations: 40 kB / 279 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.619e-05/0.005759, allocations: 36 kB / 279 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.005812, allocations: 79.69 kB / 279.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/0.005898, allocations: 111.8 kB / 279.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.006146, allocations: 247.1 kB / 279.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.006149, allocations: 0 / 279.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.00615, allocations: 3.984 kB / 279.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006155, allocations: 4 kB / 279.4 MB, free: 15.16 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.0007264/0.006882, allocations: 0.6662 MB / 280.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.006915, allocations: 12.03 kB / 280.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.00699, allocations: 52.75 kB / 280.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.007205, allocations: 236.9 kB / 280.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.007223, allocations: 20.88 kB / 280.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.007257, allocations: 28.33 kB / 280.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.007559, allocations: 259.3 kB / 280.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.007569, allocations: 4.125 kB / 280.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.007589, allocations: 12.38 kB / 280.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.007596, allocations: 7.938 kB / 280.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.0077, allocations: 75.44 kB / 280.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.008628, allocations: 0.998 MB / 281.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.008841, allocations: 119.1 kB / 281.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.008878, allocations: 27.67 kB / 281.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.008899, allocations: 0 / 281.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/0.009023, allocations: 134.1 kB / 282.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.62e-07/0.009023, allocations: 0 / 282.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001997/0.009223, allocations: 133.3 kB / 282.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.009262, allocations: 81.11 kB / 282.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.009415, allocations: 288.1 kB / 282.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.009433, allocations: 29.7 kB / 282.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.009543, allocations: 262.7 kB / 282.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.009568, allocations: 31.7 kB / 282.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.00963, allocations: 63.27 kB / 282.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.009756, allocations: 0.5001 MB / 283.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.009809, allocations: 53.91 kB / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.009919, allocations: 195.8 kB / 283.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.01006, allocations: 213.6 kB / 283.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01006, allocations: 0 / 283.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002254/0.01029, allocations: 251.8 kB / 284.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.01031, allocations: 33.69 kB / 284.2 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.01032, allocations: 4 kB / 284.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01033, allocations: 7.984 kB / 284.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01047, allocations: 59.91 kB / 284.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01047, allocations: 7.938 kB / 284.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01058, allocations: 35.88 kB / 284.3 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.01059, allocations: 16.08 kB / 284.3 MB, free: 9.871 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.948e-05/0.01068, allocations: 180.4 kB / 284.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.01071, allocations: 23.86 kB / 284.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.01074, allocations: 25.77 kB / 284.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.01074, allocations: 0 / 284.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01074, allocations: 4 kB / 284.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01075, allocations: 0 / 284.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.01087, allocations: 165.1 kB / 284.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.01087, allocations: 0 / 284.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.342e-05/0.01096, allocations: 47.91 kB / 284.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.01096, allocations: 0 / 284.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01097, allocations: 4 kB / 284.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01098, allocations: 3.984 kB / 284.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.01098, allocations: 0 / 284.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.01116, allocations: 172.1 kB / 284.9 MB, free: 9.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.01119, allocations: 23.8 kB / 284.9 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01121, allocations: 11.98 kB / 284.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.01129, allocations: 15.98 kB / 285 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.01132, allocations: 20 kB / 285 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.01133, allocations: 4 kB / 285 MB, free: 9.121 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.104e-05/0.01141, allocations: 193.1 kB / 285.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 285.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.01159, allocations: 71.78 kB / 285.2 MB, free: 8.863 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 7.343e-05/0.01166, allocations: 99.25 kB / 285.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.01184, allocations: 181 kB / 285.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01184, allocations: 192 / 285.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.01189, allocations: 51.59 kB / 285.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01208, allocations: 36.42 kB / 285.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01275, allocations: 485.9 kB / 286.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.578e-05/0.01279, allocations: 76.33 kB / 286.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.01286, allocations: 30.28 kB / 286.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.01298, allocations: 114.2 kB / 286.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01298, allocations: 0 / 286.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of Templates: time 0.004675/0.01765, allocations: 3.458 MB / 289.7 MB, free: 4.336 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.8273528842255473]