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.001053/0.001053, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001125/0.001125, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.028/1.028, allocations: 173.3 MB / 201.1 MB, free: 8.977 MB / 186.7 MB " [Timeout remaining time 179] 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 1.793e-06/1.793e-06, allocations: 3.938 kB / 268 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.275e-05, allocations: 2.312 kB / 268 MB, free: 6.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004879/0.004912, allocations: 2.863 MB / 270.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.006376, allocations: 0.705 MB / 271.6 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.006554, allocations: 4 kB / 271.6 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.006747, allocations: 51.5 kB / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.006977, allocations: 107.1 kB / 271.8 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.00733, allocations: 111.8 kB / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.00782, allocations: 402.3 kB / 272.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.008044, allocations: 83.67 kB / 272.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.008435, allocations: 235.4 kB / 272.6 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.008851, allocations: 131.6 kB / 272.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.072e-05/0.008922, allocations: 40 kB / 272.7 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.008984, allocations: 40 kB / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.009068, allocations: 75.69 kB / 272.9 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.009223, allocations: 119.7 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.009601, allocations: 247.1 kB / 273.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.009604, allocations: 0 / 273.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.009606, allocations: 0 / 273.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.009612, allocations: 0 / 273.2 MB, free: 1.023 MB / 250.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.0009415/0.01055, allocations: 0.6623 MB / 273.9 MB, free: 324 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.01061, allocations: 12.03 kB / 273.9 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.01074, allocations: 52.7 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.01108, allocations: 233 kB / 274.2 MB, free: 0 / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.01112, allocations: 16.92 kB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.01117, allocations: 28.38 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.01171, allocations: 275.3 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01173, allocations: 192 / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.01176, allocations: 12.38 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.01178, allocations: 7.938 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.01204, allocations: 102.9 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.01342, allocations: 0.9981 MB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.01379, allocations: 111.1 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.01388, allocations: 35.67 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.0139, allocations: 3.984 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.01411, allocations: 146 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.01411, allocations: 4 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003053/0.01442, allocations: 129.5 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.01447, allocations: 81.11 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.01499, allocations: 300.2 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01501, allocations: 33.64 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.01515, allocations: 246.8 kB / 276.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.01518, allocations: 47.61 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.01527, allocations: 59.25 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.01541, allocations: 0.5001 MB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.01552, allocations: 57.92 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.01568, allocations: 203.8 kB / 277.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.0159, allocations: 217.7 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.0159, allocations: 12.03 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003707/0.01627, allocations: 252.1 kB / 278 MB, free: 11.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.01631, allocations: 29.7 kB / 278 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01631, allocations: 4 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.01633, allocations: 4 kB / 278 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.01655, allocations: 64.25 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.01656, allocations: 7.984 kB / 278.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.01674, allocations: 43.77 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.01677, allocations: 8 kB / 278.2 MB, free: 11.65 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.0001013/0.01687, allocations: 180.4 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.0169, allocations: 23.86 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.01693, allocations: 25.77 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01694, allocations: 4 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01694, allocations: 4 kB / 278.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01694, allocations: 0 / 278.4 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.01712, allocations: 216.4 kB / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01712, allocations: 0 / 278.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.01728, allocations: 35.91 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01728, allocations: 0 / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.0173, allocations: 8 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.0173, allocations: 0 / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01731, allocations: 0 / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.01766, allocations: 188.5 kB / 278.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.0177, allocations: 23.84 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.01773, allocations: 4 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01785, allocations: 19.98 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.01792, allocations: 15.91 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.01794, allocations: 4 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.01808, allocations: 201.1 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01808, allocations: 0 / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.01841, allocations: 71.84 kB / 279.2 MB, free: 10.57 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.000126/0.01854, allocations: 103.3 kB / 279.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.01886, allocations: 200.5 kB / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01887, allocations: 0 / 279.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.01897, allocations: 43.61 kB / 279.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.01922, allocations: 60.97 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.02036, allocations: 466.9 kB / 280 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.001e-05/0.02041, allocations: 84.31 kB / 280.1 MB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.956e-05/0.0205, allocations: 26.28 kB / 280.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.02058, allocations: 20.5 kB / 280.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.02058, allocations: 0 / 280.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of Templates: time 0.007854/0.02843, allocations: 3.295 MB / 283.4 MB, free: 6.27 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7840749151073396]