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.001351/0.001351, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001011/0.001011, allocations: 165 kB / 24.56 MB, free: 8 kB / 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.9572/0.9572, allocations: 177.1 MB / 205 MB, free: 5.59 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 1.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.326e-05, allocations: 2.312 kB / 273 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00331/0.003333, allocations: 2.887 MB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004695, allocations: 0.7439 MB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.004869, allocations: 7.938 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.005026, allocations: 43.52 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.005201, allocations: 107.2 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.005502, allocations: 115.7 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.00588, allocations: 398.3 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.006057, allocations: 95.64 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.006407, allocations: 231.4 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.00657, allocations: 135.6 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.006614, allocations: 40 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.006652, allocations: 36 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.006708, allocations: 71.75 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.00681, allocations: 119.7 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.007125, allocations: 239.1 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.007129, allocations: 0 / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.007131, allocations: 0 / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.007138, allocations: 4 kB / 278.3 MB, free: 12.2 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.0008986/0.008037, allocations: 0.6662 MB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.008073, allocations: 12.03 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.081e-05/0.008164, allocations: 56.69 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.008454, allocations: 241 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.008472, allocations: 16.88 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.008512, allocations: 28.38 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.008915, allocations: 275.3 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008926, allocations: 4.125 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.008949, allocations: 12.31 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.00896, allocations: 7.938 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.00913, allocations: 94.94 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.01019, allocations: 1.002 MB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.01047, allocations: 119.1 kB / 280.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.01053, allocations: 35.67 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.01055, allocations: 0 / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.01074, allocations: 138.1 kB / 280.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.01074, allocations: 0 / 280.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.000277/0.01102, allocations: 141.4 kB / 281.1 MB, free: 9.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.01106, allocations: 77.11 kB / 281.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.01125, allocations: 300.2 kB / 281.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.01128, allocations: 33.7 kB / 281.5 MB, free: 8.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01138, allocations: 246.7 kB / 281.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.01141, allocations: 39.7 kB / 281.8 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.01148, allocations: 63.3 kB / 281.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01162, allocations: 0.4962 MB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.0117, allocations: 57.91 kB / 282.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.01183, allocations: 211.8 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.01201, allocations: 213.7 kB / 282.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01201, allocations: 0 / 282.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002753/0.01228, allocations: 264.9 kB / 283.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.01231, allocations: 37.69 kB / 283.1 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01232, allocations: 4 kB / 283.1 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01233, allocations: 4 kB / 283.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.01249, allocations: 59.84 kB / 283.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.0125, allocations: 7.938 kB / 283.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01262, allocations: 39.86 kB / 283.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.01264, allocations: 12 kB / 283.2 MB, free: 6.809 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.000101/0.01274, allocations: 183.2 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.01277, allocations: 27.86 kB / 283.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.01281, allocations: 25.75 kB / 283.4 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01281, allocations: 4 kB / 283.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01282, allocations: 0 / 283.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01282, allocations: 0 / 283.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.01299, allocations: 224.4 kB / 283.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01299, allocations: 0 / 283.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.01309, allocations: 27.98 kB / 283.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01309, allocations: 7.984 kB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01311, allocations: 4 kB / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01311, allocations: 0 / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01311, allocations: 0 / 283.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.01337, allocations: 184.1 kB / 283.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.0134, allocations: 19.84 kB / 283.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.01342, allocations: 8 kB / 283.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.01351, allocations: 15.98 kB / 283.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.01357, allocations: 15.97 kB / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.01358, allocations: 8.031 kB / 284 MB, free: 6.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.01369, allocations: 205.1 kB / 284.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01369, allocations: 0 / 284.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.01391, allocations: 71.78 kB / 284.2 MB, free: 5.734 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.0001056/0.01401, allocations: 99.25 kB / 284.3 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.01426, allocations: 189.2 kB / 284.5 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01426, allocations: 3.938 kB / 284.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.01433, allocations: 47.73 kB / 284.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01457, allocations: 44.41 kB / 284.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.01546, allocations: 478 kB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.417e-05/0.01552, allocations: 80.31 kB / 285.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.01563, allocations: 26.28 kB / 285.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.0157, allocations: 24.5 kB / 285.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01571, allocations: 0 / 285.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of Templates: time 0.005561/0.02127, allocations: 3.33 MB / 288.5 MB, free: 1.402 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.6218171301297843]