Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009708/0.0009708, allocations: 81.91 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 169.3 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.104/1.104, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.81e-05, allocations: 2.312 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002989/0.003007, allocations: 2.861 MB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.004001, allocations: 0.7089 MB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.004145, allocations: 7.938 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.004289, allocations: 47.56 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.004448, allocations: 111.1 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.004667, allocations: 95.77 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.004989, allocations: 398.3 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.005202, allocations: 87.61 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.00553, allocations: 239.4 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.005676, allocations: 127.6 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.005717, allocations: 40 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.005757, allocations: 36 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.005812, allocations: 79.69 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.005911, allocations: 131.7 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.006142, allocations: 243.1 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006144, allocations: 0 / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.006146, allocations: 0 / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00615, allocations: 0 / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007494/0.006899, allocations: 0.6661 MB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.006948, allocations: 23.92 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.00703, allocations: 56.7 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.0073, allocations: 228.1 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.007322, allocations: 20.88 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.007363, allocations: 24.38 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.007659, allocations: 240.7 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.00767, allocations: 4.125 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.00769, allocations: 12.38 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.007701, allocations: 7.938 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.007811, allocations: 83.42 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.008792, allocations: 0.916 MB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.009008, allocations: 111.1 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.009051, allocations: 35.72 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.00907, allocations: 7.984 kB / 281 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.009236, allocations: 182 kB / 281.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.009237, allocations: 0 / 281.1 MB, free: 9.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002257/0.009463, allocations: 133.5 kB / 281.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.009512, allocations: 114.8 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.009666, allocations: 292.1 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.009684, allocations: 29.7 kB / 281.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.00979, allocations: 246.7 kB / 281.9 MB, free: 8.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.00983, allocations: 55.62 kB / 282 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.009892, allocations: 55.53 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.01003, allocations: 0.5079 MB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.01008, allocations: 49.91 kB / 282.6 MB, free: 7.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.01021, allocations: 233.5 kB / 282.8 MB, free: 7.305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.01037, allocations: 205.4 kB / 283 MB, free: 7.055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01037, allocations: 4 kB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002374/0.01061, allocations: 247.8 kB / 283.3 MB, free: 6.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.01064, allocations: 42 kB / 283.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01064, allocations: 0 / 283.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01066, allocations: 4 kB / 283.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.01079, allocations: 63.91 kB / 283.4 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.0108, allocations: 4 kB / 283.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01091, allocations: 39.83 kB / 283.4 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01092, allocations: 7.984 kB / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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 9.138e-05/0.01102, allocations: 176.5 kB / 283.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.01104, allocations: 35.86 kB / 283.6 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.01108, allocations: 25.75 kB / 283.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01108, allocations: 4 kB / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.01108, allocations: 0 / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01109, allocations: 0 / 283.7 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.01122, allocations: 193 kB / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01122, allocations: 0 / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.01131, allocations: 31.92 kB / 283.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01131, allocations: 0 / 283.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01132, allocations: 0 / 283.9 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.01132, allocations: 4 kB / 283.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01132, allocations: 7.938 kB / 283.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.01153, allocations: 179.1 kB / 284.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.01155, allocations: 23.83 kB / 284.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.01157, allocations: 8 kB / 284.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.01165, allocations: 15.98 kB / 284.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.01169, allocations: 15.97 kB / 284.1 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.0117, allocations: 11.98 kB / 284.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.01179, allocations: 189.1 kB / 284.3 MB, free: 5.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01179, allocations: 7.969 kB / 284.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001909/0.01198, allocations: 79.78 kB / 284.4 MB, free: 5.586 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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 8.083e-05/0.01206, allocations: 103.2 kB / 284.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.01224, allocations: 180.6 kB / 284.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01225, allocations: 0 / 284.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.0123, allocations: 52.22 kB / 284.8 MB, free: 5.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.01251, allocations: 52.45 kB / 284.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/0.01335, allocations: 0.5135 MB / 285.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.442e-05/0.0134, allocations: 84.31 kB / 285.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.01347, allocations: 22.3 kB / 285.4 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.0136, allocations: 130.2 kB / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0136, allocations: 0 / 285.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of Templates: time 0.005225/0.01883, allocations: 3.652 MB / 289.2 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.675343208014965]