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.001346/0.001346, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.001474/0.001474, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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.408/1.408, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 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 0.001605/0.001605, allocations: 51.91 kB / 371.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2501, allocations: 52.19 MB / 423.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004382/0.2545, allocations: 2.889 MB / 426.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2559, allocations: 0.7323 MB / 427.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.256, allocations: 4 kB / 427.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.2562, allocations: 51.5 kB / 427.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.2564, allocations: 99.25 kB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.2567, allocations: 115.8 kB / 427.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000481/0.2572, allocations: 394.5 kB / 428.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.2574, allocations: 83.67 kB / 428.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2576, allocations: 159.4 kB / 428.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.2578, allocations: 163.3 kB / 428.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.2579, allocations: 40 kB / 428.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.258, allocations: 40 kB / 428.7 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.258, allocations: 75.7 kB / 428.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.2582, allocations: 163.2 kB / 428.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.2587, allocations: 431.6 kB / 429.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2587, allocations: 0 / 429.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2587, allocations: 0 / 429.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2587, allocations: 0 / 429.3 MB, free: 9.219 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.001314/0.26, allocations: 0.5897 MB / 429.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2601, allocations: 8.031 kB / 429.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.2602, allocations: 40.7 kB / 429.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2606, allocations: 227 kB / 430.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.2606, allocations: 20.88 kB / 430.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.2606, allocations: 24.38 kB / 430.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/0.2614, allocations: 315 kB / 430.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2614, allocations: 4 kB / 430.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.2614, allocations: 8 kB / 430.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.2614, allocations: 8 kB / 430.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008104/0.2622, allocations: 273.8 kB / 430.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.2642, allocations: 1.084 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.2651, allocations: 238.5 kB / 432.1 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.2655, allocations: 96.78 kB / 432.2 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2655, allocations: 7.938 kB / 432.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.2659, allocations: 165 kB / 432.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.2659, allocations: 0 / 432.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001077/0.267, allocations: 321.2 kB / 432.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.2671, allocations: 89.11 kB / 432.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.2674, allocations: 261.9 kB / 433 MB, free: 5.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2674, allocations: 29.7 kB / 433.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2676, allocations: 200 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.2676, allocations: 39.69 kB / 433.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.2677, allocations: 49.66 kB / 433.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2679, allocations: 338.8 kB / 433.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.2682, allocations: 100.2 kB / 433.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.2686, allocations: 191.5 kB / 434 MB, free: 4.273 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.2693, allocations: 303.1 kB / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2693, allocations: 4 kB / 434.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008915/0.2702, allocations: 362.8 kB / 434.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.2703, allocations: 37.69 kB / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2703, allocations: 352 / 434.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2703, allocations: 8 kB / 434.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.2706, allocations: 67.89 kB / 434.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2706, allocations: 4 kB / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.2709, allocations: 51.78 kB / 434.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.271, allocations: 8 kB / 434.8 MB, free: 3.387 MB / 334.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.0001667/0.2711, allocations: 157.7 kB / 435 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.2712, allocations: 23.86 kB / 435 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.969e-05/0.2712, allocations: 21.7 kB / 435 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2712, allocations: 4 kB / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2712, allocations: 0 / 435 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2712, allocations: 7.875 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.2716, allocations: 288.5 kB / 435.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2716, allocations: 0 / 435.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.2718, allocations: 47.95 kB / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2718, allocations: 0 / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2718, allocations: 7.938 kB / 435.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2718, allocations: 0 / 435.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2718, allocations: 4 kB / 435.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.2729, allocations: 368 kB / 435.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.273, allocations: 27.77 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.273, allocations: 4 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2732, allocations: 39.95 kB / 435.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.2733, allocations: 19.97 kB / 435.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2733, allocations: 3.938 kB / 435.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.2735, allocations: 185.2 kB / 436 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2735, allocations: 0 / 436 MB, free: 2.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.2738, allocations: 67.89 kB / 436.1 MB, free: 2.062 MB / 334.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.0001246/0.274, allocations: 111.2 kB / 436.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008168/0.2748, allocations: 283.6 kB / 436.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2748, allocations: 0 / 436.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.2751, allocations: 95.86 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.2755, allocations: 48.66 kB / 436.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2767, allocations: 0.5469 MB / 437.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.277, allocations: 0.7558 MB / 437.9 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.2771, allocations: 19.44 kB / 437.9 MB, free: 140 kB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2771, allocations: 0 / 437.9 MB, free: 140 kB / 334.1 MB Notification: Performance of Templates: time 0.005989/0.2831, allocations: 3.368 MB / 441.3 MB, free: 12.78 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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: 6.9449341560248286]