Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001041/0.001041, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.00189/0.00189, allocations: 156.5 kB / 24.55 MB, free: 8 kB / 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.028/1.028, allocations: 177 MB / 204.8 MB, free: 5.578 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.197e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003709/0.003731, allocations: 3.114 MB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.004861, allocations: 0.7557 MB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.005005, allocations: 11.94 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.005168, allocations: 47.5 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.005376, allocations: 127 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.005646, allocations: 123.7 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.006232, allocations: 470 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.006447, allocations: 91.5 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003731/0.00682, allocations: 271.4 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.00702, allocations: 151.5 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.007082, allocations: 44 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.007141, allocations: 48 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.007208, allocations: 95.66 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.00734, allocations: 139.6 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.007679, allocations: 291 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.007682, allocations: 0 / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007683, allocations: 0 / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007688, allocations: 0 / 278.7 MB, free: 11.63 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009593/0.008648, allocations: 0.7197 MB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.008686, allocations: 15.98 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.008783, allocations: 60.7 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.009118, allocations: 267.4 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.00914, allocations: 21.03 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.009196, allocations: 28.38 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.009626, allocations: 308.4 kB / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.009637, allocations: 192 / 280.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.009667, allocations: 19.94 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.009679, allocations: 8 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.009927, allocations: 119.8 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.01129, allocations: 0.9919 MB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.01155, allocations: 134.5 kB / 281.4 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.01168, allocations: 67.66 kB / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.01171, allocations: 4 kB / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.01195, allocations: 232.3 kB / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.01196, allocations: 0 / 281.7 MB, free: 8.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006576/0.01261, allocations: 260.9 kB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.01267, allocations: 132.5 kB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.01293, allocations: 320.2 kB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.01296, allocations: 33.7 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.01309, allocations: 263 kB / 282.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.01314, allocations: 63.44 kB / 282.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.01323, allocations: 63.59 kB / 282.8 MB, free: 7.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01338, allocations: 0.5118 MB / 283.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.01348, allocations: 73.81 kB / 283.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.01368, allocations: 284.1 kB / 283.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.01392, allocations: 230 kB / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01393, allocations: 0 / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004667/0.01439, allocations: 324.2 kB / 284.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.01442, allocations: 37.69 kB / 284.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01443, allocations: 4.312 kB / 284.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.01468, allocations: 63.67 kB / 284.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.01486, allocations: 63.89 kB / 284.3 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.01597, allocations: 1.844 MB / 286.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.01615, allocations: 59.72 kB / 286.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.01617, allocations: 15.94 kB / 286.3 MB, free: 3.445 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.01628, allocations: 172.5 kB / 286.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.01632, allocations: 35.86 kB / 286.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.01636, allocations: 26.11 kB / 286.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01636, allocations: 4.188 kB / 286.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01636, allocations: 0 / 286.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01637, allocations: 11.97 kB / 286.5 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008415/0.01721, allocations: 0.5707 MB / 287.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01721, allocations: 4 kB / 287.1 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.01735, allocations: 47.84 kB / 287.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.01753, allocations: 55.67 kB / 287.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01754, allocations: 0 / 287.2 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009781/0.01852, allocations: 1.843 MB / 289 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01852, allocations: 0 / 289 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.01895, allocations: 390 kB / 289.4 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.01899, allocations: 27.8 kB / 289.4 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.01902, allocations: 16 kB / 289.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.01917, allocations: 24.17 kB / 289.5 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.01925, allocations: 23.94 kB / 289.5 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01927, allocations: 19.92 kB / 289.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.01942, allocations: 213.1 kB / 289.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01942, allocations: 0 / 289.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.01978, allocations: 91.78 kB / 289.8 MB, free: 15.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.opAmp.satNeg,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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.699e-05/0.01987, allocations: 107.2 kB / 289.9 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.02033, allocations: 408.5 kB / 290.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02033, allocations: 0 / 290.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.02053, allocations: 241.4 kB / 290.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.0209, allocations: 69.17 kB / 290.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.02208, allocations: 0.5874 MB / 291.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.258e-05/0.02215, allocations: 92.61 kB / 291.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.31e-05/0.02224, allocations: 30.97 kB / 291.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.675e-05/0.02231, allocations: 28.5 kB / 291.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02231, allocations: 0 / 291.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Templates: time 0.007491/0.0298, allocations: 4.589 MB / 295.9 MB, free: 9.496 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.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: 3.1154198250733316]