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.00104/0.00104, 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.001034/0.001034, allocations: 169.7 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.052/1.052, allocations: 177 MB / 205.1 MB, free: 5.477 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.923e-06/1.923e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.144e-05, allocations: 6.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003377/0.003399, allocations: 3.068 MB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.004763, allocations: 0.7558 MB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.004933, allocations: 11.94 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.005086, allocations: 55.48 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.00527, allocations: 126.9 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.005523, allocations: 111.8 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.005927, allocations: 473.9 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.00611, allocations: 99.47 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.006505, allocations: 267.4 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.0067, allocations: 151.6 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.006753, allocations: 48 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.006798, allocations: 44 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.006855, allocations: 91.61 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.006955, allocations: 139.7 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.007256, allocations: 295 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007258, allocations: 0 / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007259, allocations: 0 / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.007264, allocations: 0 / 279.1 MB, free: 11.44 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.0007894/0.008054, allocations: 0.7236 MB / 279.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.008093, allocations: 15.97 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.008169, allocations: 64.64 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.008428, allocations: 255.5 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.008448, allocations: 25.03 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.008488, allocations: 28.38 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.008805, allocations: 292.4 kB / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.008815, allocations: 192 / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.008835, allocations: 11.94 kB / 280.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.008842, allocations: 8 kB / 280.5 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.008961, allocations: 88.52 kB / 280.6 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01004, allocations: 0.9956 MB / 281.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.01022, allocations: 126.9 kB / 281.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.01031, allocations: 63.62 kB / 281.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.01033, allocations: 7.984 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.01052, allocations: 236.5 kB / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.01052, allocations: 0 / 282 MB, free: 8.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004841/0.011, allocations: 240.9 kB / 282.2 MB, free: 8.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.01105, allocations: 132.5 kB / 282.4 MB, free: 7.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.01123, allocations: 308.1 kB / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.01126, allocations: 33.7 kB / 282.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.01137, allocations: 259 kB / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.01141, allocations: 75.41 kB / 283 MB, free: 7.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.01148, allocations: 63.58 kB / 283.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.01162, allocations: 0.5117 MB / 283.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.01169, allocations: 57.81 kB / 283.6 MB, free: 6.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.01183, allocations: 280 kB / 283.9 MB, free: 6.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01199, allocations: 218 kB / 284.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01199, allocations: 0 / 284.1 MB, free: 5.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000332/0.01232, allocations: 312.1 kB / 284.4 MB, free: 5.602 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.01235, allocations: 36.83 kB / 284.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01236, allocations: 4 kB / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.01256, allocations: 59.94 kB / 284.5 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.0127, allocations: 63.91 kB / 284.6 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.01371, allocations: 1.821 MB / 286.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.01386, allocations: 47.77 kB / 286.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01387, allocations: 12.27 kB / 286.5 MB, free: 3.43 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.0001082/0.01398, allocations: 184.4 kB / 286.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.01401, allocations: 31.86 kB / 286.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.01404, allocations: 30.11 kB / 286.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01404, allocations: 0 / 286.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01405, allocations: 4 kB / 286.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01405, allocations: 3.938 kB / 286.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.01455, allocations: 0.5352 MB / 287.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01456, allocations: 0 / 287.3 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.01466, allocations: 35.97 kB / 287.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.0148, allocations: 51.64 kB / 287.3 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01481, allocations: 3.938 kB / 287.3 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007917/0.0156, allocations: 1.828 MB / 289.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.0156, allocations: 0 / 289.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.01591, allocations: 366.9 kB / 289.5 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.01594, allocations: 31.75 kB / 289.6 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.01597, allocations: 11.98 kB / 289.6 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01608, allocations: 32.05 kB / 289.6 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.01614, allocations: 27.89 kB / 289.6 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.01615, allocations: 4 kB / 289.6 MB, free: 64 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.01626, allocations: 205.1 kB / 289.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01626, allocations: 0 / 289.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000267/0.01653, allocations: 95.78 kB / 289.9 MB, free: 15.77 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 0.0001067/0.01663, allocations: 105.9 kB / 290 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.01697, allocations: 396.5 kB / 290.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01697, allocations: 0 / 290.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.01713, allocations: 241.4 kB / 290.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.01741, allocations: 53.11 kB / 290.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009719/0.01838, allocations: 0.5797 MB / 291.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.497e-05/0.01846, allocations: 92.62 kB / 291.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.01856, allocations: 30.97 kB / 291.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.01871, allocations: 138.2 kB / 291.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01871, allocations: 0 / 291.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Templates: time 0.006854/0.02556, allocations: 4.931 MB / 296.5 MB, free: 9.184 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: 2.8678790130652487]