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.0008182/0.0008182, allocations: 80 kB / 21.43 MB, free: 3.129 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.0037/0.0037, allocations: 142.4 kB / 24.68 MB, free: 8.891 MB / 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 0.8183/0.8183, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.452e-06/1.452e-06, allocations: 0 / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.606e-05, allocations: 2.281 kB / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002571/0.002587, allocations: 2.668 MB / 322.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007523/0.00334, allocations: 0.6934 MB / 323.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003442, allocations: 7.938 kB / 323.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.003559, allocations: 51.52 kB / 323.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.003687, allocations: 103.2 kB / 323.3 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.003907, allocations: 115.8 kB / 323.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.004178, allocations: 406.3 kB / 323.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.004327, allocations: 79.67 kB / 323.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.004525, allocations: 235.4 kB / 324.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.004647, allocations: 119.6 kB / 324.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.004687, allocations: 40 kB / 324.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.9e-05/0.004716, allocations: 36 kB / 324.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.004763, allocations: 75.73 kB / 324.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.004844, allocations: 115.7 kB / 324.5 MB, free: 1.066 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.005141, allocations: 438.6 kB / 324.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005143, allocations: 0 / 324.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005143, allocations: 4 kB / 324.9 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005148, allocations: 0 / 324.9 MB, free: 0.6328 MB / 282.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.0007509/0.005899, allocations: 0.582 MB / 325.5 MB, free: 16 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.005928, allocations: 16.03 kB / 325.5 MB, free: 0 / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.00599, allocations: 36.31 kB / 325.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.006238, allocations: 230.2 kB / 325.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.006252, allocations: 12.88 kB / 325.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.006286, allocations: 28.33 kB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.006687, allocations: 341 kB / 326.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006695, allocations: 4.188 kB / 326.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.006715, allocations: 16.69 kB / 326.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.00672, allocations: 4 kB / 326.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.007121, allocations: 281.7 kB / 326.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.00807, allocations: 0.9415 MB / 327.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.008528, allocations: 238.6 kB / 327.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.008691, allocations: 96.72 kB / 327.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.008706, allocations: 0 / 327.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.008952, allocations: 210.6 kB / 327.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.008953, allocations: 4 kB / 327.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007709/0.009724, allocations: 309.3 kB / 328.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.00976, allocations: 85.09 kB / 328.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.009923, allocations: 253.9 kB / 328.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.009939, allocations: 29.7 kB / 328.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.01002, allocations: 200 kB / 328.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.01005, allocations: 47.61 kB / 328.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.0101, allocations: 49.64 kB / 328.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.01018, allocations: 334.8 kB / 329.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.01035, allocations: 133.9 kB / 329.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.01056, allocations: 239 kB / 329.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.01091, allocations: 311.2 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01091, allocations: 0 / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004352/0.01135, allocations: 396.5 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.01137, allocations: 33.7 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01137, allocations: 0 / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.01139, allocations: 8.344 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.01152, allocations: 71.81 kB / 330.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.01153, allocations: 7.984 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01166, allocations: 51.75 kB / 330.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.01168, allocations: 12 kB / 330.4 MB, free: 10.74 MB / 298.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 8.811e-05/0.01177, allocations: 149.7 kB / 330.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.01179, allocations: 31.8 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.01182, allocations: 25.77 kB / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01182, allocations: 4 kB / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.01182, allocations: 0 / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01183, allocations: 0 / 330.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.01196, allocations: 209.2 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01196, allocations: 0 / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.01207, allocations: 51.89 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.01207, allocations: 4 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.01208, allocations: 4 kB / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01208, allocations: 0 / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01208, allocations: 7.922 kB / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.0126, allocations: 360.7 kB / 331.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.01263, allocations: 31.81 kB / 331.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.01265, allocations: 0 / 331.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.01275, allocations: 31.97 kB / 331.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01279, allocations: 15.97 kB / 331.3 MB, free: 9.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.0128, allocations: 8.062 kB / 331.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.01291, allocations: 181.2 kB / 331.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01291, allocations: 0 / 331.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.01308, allocations: 71.83 kB / 331.6 MB, free: 9.52 MB / 298.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 6.593e-05/0.01315, allocations: 103.2 kB / 331.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.01356, allocations: 312.8 kB / 332 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01356, allocations: 0 / 332 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.01371, allocations: 108.5 kB / 332.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.01389, allocations: 32.48 kB / 332.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.01452, allocations: 0.5164 MB / 332.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.547e-05/0.0146, allocations: 142.8 kB / 332.8 MB, free: 8.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.01466, allocations: 32.44 kB / 332.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01466, allocations: 0 / 332.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of Templates: time 0.003586/0.01824, allocations: 3.416 MB / 336.2 MB, free: 4.809 MB / 298.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/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: 3.9981561535969377]