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.001529/0.001529, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001548/0.001548, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001948/0.001948, allocations: 48.06 kB / 378.2 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2897, allocations: 53.36 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004372/0.2941, allocations: 2.696 MB / 434.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2957, allocations: 0.7246 MB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2958, allocations: 4 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.296, allocations: 47.5 kB / 435.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.2962, allocations: 99.19 kB / 435.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2965, allocations: 123.8 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.297, allocations: 386.5 kB / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.2972, allocations: 91.33 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.2975, allocations: 163.4 kB / 435.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2977, allocations: 171.3 kB / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.776e-05/0.2978, allocations: 40 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.2978, allocations: 36 kB / 436.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2979, allocations: 75.7 kB / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2981, allocations: 135.4 kB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.2986, allocations: 432.9 kB / 436.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2986, allocations: 4 kB / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2986, allocations: 0 / 436.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2986, allocations: 4 kB / 436.8 MB, free: 1.473 MB / 334.1 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.001249/0.2999, allocations: 0.5936 MB / 437.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2999, allocations: 8.031 kB / 437.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.3, allocations: 36.73 kB / 437.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.3004, allocations: 234.9 kB / 437.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.3005, allocations: 20.88 kB / 437.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.3005, allocations: 24.38 kB / 437.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.3012, allocations: 344.7 kB / 438 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3013, allocations: 4 kB / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3013, allocations: 4 kB / 438.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3013, allocations: 8 kB / 438.1 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008329/0.3021, allocations: 277.8 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.304, allocations: 0.9485 MB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/0.3049, allocations: 238.5 kB / 439.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.3052, allocations: 100.7 kB / 439.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3053, allocations: 4 kB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/0.3058, allocations: 198.6 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.3058, allocations: 0 / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001188/0.307, allocations: 317.3 kB / 440.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.307, allocations: 81.11 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.3074, allocations: 257 kB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3074, allocations: 29.7 kB / 440.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3076, allocations: 200 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.3076, allocations: 43.56 kB / 440.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.3077, allocations: 57.66 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.308, allocations: 338.8 kB / 441.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.3084, allocations: 125.9 kB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.3088, allocations: 242.9 kB / 441.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.3095, allocations: 306.5 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3095, allocations: 4 kB / 441.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001002/0.3105, allocations: 388.5 kB / 442.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.3106, allocations: 37.98 kB / 442.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3106, allocations: 8 kB / 442.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3106, allocations: 4 kB / 442.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.3109, allocations: 67.94 kB / 442.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3109, allocations: 7.938 kB / 442.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.3112, allocations: 47.8 kB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.3113, allocations: 12 kB / 442.3 MB, free: 11.57 MB / 350.1 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.0001752/0.3114, allocations: 153.7 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.3115, allocations: 19.86 kB / 442.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.3115, allocations: 21.72 kB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3115, allocations: 0 / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.3115, allocations: 3.984 kB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3115, allocations: 0 / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.3118, allocations: 217.1 kB / 442.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3118, allocations: 0 / 442.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3121, allocations: 51.89 kB / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3121, allocations: 0 / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3121, allocations: 3.984 kB / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3121, allocations: 0 / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.3121, allocations: 3.984 kB / 442.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3132, allocations: 372.7 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3133, allocations: 19.88 kB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.3133, allocations: 8 kB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3135, allocations: 32.02 kB / 443.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.3136, allocations: 11.98 kB / 443.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3136, allocations: 11.98 kB / 443.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.3138, allocations: 180.5 kB / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3138, allocations: 3.938 kB / 443.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.3141, allocations: 67.84 kB / 443.5 MB, free: 10.36 MB / 350.1 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.0001346/0.3143, allocations: 95.25 kB / 443.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008714/0.3151, allocations: 324.7 kB / 443.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3151, allocations: 3.938 kB / 443.9 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.3155, allocations: 100.6 kB / 444 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3158, allocations: 39.94 kB / 444 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.3171, allocations: 0.5364 MB / 444.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3172, allocations: 142.9 kB / 444.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.3173, allocations: 22.3 kB / 444.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.3174, allocations: 23.42 kB / 444.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3174, allocations: 0 / 444.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of Templates: time 0.007523/0.3249, allocations: 3.459 MB / 448.2 MB, free: 5.625 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.750144180841744]