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.001761/0.001761, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002058/0.002058, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001764/0.001764, allocations: 51.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2588, allocations: 53.36 MB / 431.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004361/0.2631, allocations: 2.914 MB / 434.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2645, allocations: 0.7596 MB / 435.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.2647, allocations: 4 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.2648, allocations: 51.5 kB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.265, allocations: 95.19 kB / 435.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.2653, allocations: 119.8 kB / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.2658, allocations: 382.5 kB / 436 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.266, allocations: 99.66 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.2663, allocations: 159.4 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.2665, allocations: 171.2 kB / 436.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.2666, allocations: 36 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.389e-05/0.2667, allocations: 40 kB / 436.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.2667, allocations: 75.7 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.2669, allocations: 167.2 kB / 436.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2674, allocations: 423.6 kB / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2674, allocations: 0 / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2674, allocations: 0 / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.2674, allocations: 0 / 437.1 MB, free: 1.434 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.001335/0.2687, allocations: 0.6014 MB / 437.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2688, allocations: 12.03 kB / 437.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.2688, allocations: 32.75 kB / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.2693, allocations: 238.9 kB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2693, allocations: 12.88 kB / 438 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.2693, allocations: 24.38 kB / 438 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/0.27, allocations: 319 kB / 438.3 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2701, allocations: 3.938 kB / 438.3 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.2701, allocations: 15.94 kB / 438.4 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2701, allocations: 8 kB / 438.4 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008695/0.271, allocations: 281.8 kB / 438.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2728, allocations: 1.065 MB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.2737, allocations: 238.5 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.274, allocations: 104.8 kB / 440 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2741, allocations: 0 / 440 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004787/0.2746, allocations: 172.9 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.2746, allocations: 0 / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001072/0.2756, allocations: 317.3 kB / 440.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.2757, allocations: 81.11 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.276, allocations: 257.9 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.276, allocations: 33.7 kB / 440.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2762, allocations: 192 kB / 441.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.2762, allocations: 47.62 kB / 441.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/0.2763, allocations: 53.7 kB / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2765, allocations: 334.8 kB / 441.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.2768, allocations: 100.2 kB / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.2772, allocations: 191.5 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.278, allocations: 301.3 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.278, allocations: 4 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009141/0.2789, allocations: 364.9 kB / 442.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.279, allocations: 36.36 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.279, allocations: 7.938 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.279, allocations: 4 kB / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.2793, allocations: 67.94 kB / 442.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2793, allocations: 11.88 kB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.2796, allocations: 55.81 kB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2797, allocations: 8 kB / 442.6 MB, free: 11.58 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.0001696/0.2798, allocations: 153.9 kB / 442.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.2799, allocations: 19.86 kB / 442.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.2799, allocations: 21.72 kB / 442.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2799, allocations: 3.984 kB / 442.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2799, allocations: 0 / 442.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2799, allocations: 7.938 kB / 442.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2803, allocations: 276.6 kB / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2803, allocations: 0 / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.2805, allocations: 43.95 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2805, allocations: 0 / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2805, allocations: 8 kB / 443.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2805, allocations: 3.938 kB / 443.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2805, allocations: 0 / 443.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2817, allocations: 377 kB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.2817, allocations: 31.81 kB / 443.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.2818, allocations: 4 kB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.282, allocations: 27.97 kB / 443.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.2821, allocations: 19.97 kB / 443.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2821, allocations: 8 kB / 443.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002151/0.2823, allocations: 193.2 kB / 443.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2823, allocations: 0 / 443.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.2826, allocations: 63.84 kB / 443.9 MB, free: 10.27 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.000154/0.2828, allocations: 99.25 kB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009108/0.2837, allocations: 295.1 kB / 444.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2837, allocations: 0 / 444.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.2841, allocations: 100.6 kB / 444.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2844, allocations: 50.3 kB / 444.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2857, allocations: 0.5295 MB / 444.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.2862, allocations: 0.7557 MB / 445.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.2863, allocations: 26.28 kB / 445.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.2864, allocations: 19.44 kB / 445.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2864, allocations: 0 / 445.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Templates: time 0.008044/0.2944, allocations: 3.165 MB / 448.9 MB, free: 5.207 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.599560760892928]