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.0008011/0.0008011, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001895, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006839/0.0006839, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009043/0.001588, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.004/1.004, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1344/1.139, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.182e-06/1.182e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.664e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.0028/0.002816, allocations: 3.138 MB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.003782, allocations: 0.7828 MB / 249.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.003902, allocations: 4 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.896e-05/0.004001, allocations: 63.38 kB / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.004151, allocations: 123 kB / 249.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.004316, allocations: 111.8 kB / 249.5 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.004655, allocations: 474 kB / 249.9 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.004816, allocations: 102.1 kB / 250 MB, free: 8.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.005146, allocations: 311.7 kB / 250.3 MB, free: 8.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.00531, allocations: 147.5 kB / 250.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.005353, allocations: 48 kB / 250.5 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.271e-05/0.005396, allocations: 47.94 kB / 250.6 MB, free: 8.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.005442, allocations: 63.81 kB / 250.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.005527, allocations: 115.8 kB / 250.7 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.005786, allocations: 271.1 kB / 251 MB, free: 7.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.005797, allocations: 0 / 251 MB, free: 7.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005798, allocations: 4 kB / 251 MB, free: 7.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.005813, allocations: 0 / 251 MB, free: 7.738 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007599/0.006573, allocations: 0.6688 MB / 251.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.006606, allocations: 8.031 kB / 251.7 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/0.006688, allocations: 48.89 kB / 251.7 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.006955, allocations: 204.7 kB / 251.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.006974, allocations: 21.03 kB / 252 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.007017, allocations: 28.38 kB / 252 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.00733, allocations: 288.4 kB / 252.3 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.007342, allocations: 4.188 kB / 252.3 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.007363, allocations: 19.94 kB / 252.3 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.007372, allocations: 8 kB / 252.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.007481, allocations: 80.48 kB / 252.4 MB, free: 6.297 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/0.008382, allocations: 0.7877 MB / 253.2 MB, free: 5.457 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.008545, allocations: 118.5 kB / 253.3 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.008616, allocations: 56.77 kB / 253.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.00864, allocations: 4 kB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.008818, allocations: 216.1 kB / 253.6 MB, free: 5.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.008819, allocations: 0 / 253.6 MB, free: 5.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.000379/0.009198, allocations: 201.6 kB / 253.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.009224, allocations: 51.41 kB / 253.8 MB, free: 4.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.009365, allocations: 256.9 kB / 254 MB, free: 4.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.009387, allocations: 33.7 kB / 254.1 MB, free: 4.449 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.009461, allocations: 192.8 kB / 254.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.009501, allocations: 71.41 kB / 254.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.00956, allocations: 61.91 kB / 254.4 MB, free: 4.117 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.009691, allocations: 342.8 kB / 254.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.00975, allocations: 57.83 kB / 254.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.009861, allocations: 236.6 kB / 255 MB, free: 3.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.01001, allocations: 199.5 kB / 255.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01001, allocations: 0 / 255.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002751/0.01029, allocations: 257.5 kB / 255.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.01033, allocations: 38 kB / 255.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01033, allocations: 8 kB / 255.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.01052, allocations: 52.75 kB / 255.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.01071, allocations: 75.89 kB / 255.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000704/0.01142, allocations: 1.262 MB / 256.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01154, allocations: 55.69 kB / 257 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.01156, allocations: 12 kB / 257 MB, free: 1.305 MB / 250.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 8.465e-05/0.01165, allocations: 125.8 kB / 257.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.01167, allocations: 23.97 kB / 257.1 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.0117, allocations: 30.11 kB / 257.1 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.0117, allocations: 8.031 kB / 257.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.01171, allocations: 0 / 257.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.01171, allocations: 3.938 kB / 257.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.01211, allocations: 396.1 kB / 257.5 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01211, allocations: 0 / 257.5 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.01223, allocations: 47.84 kB / 257.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.01225, allocations: 27.75 kB / 257.6 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.01238, allocations: 52.84 kB / 257.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01239, allocations: 11.98 kB / 257.7 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006176/0.01301, allocations: 1.25 MB / 258.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01301, allocations: 4 kB / 258.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.01324, allocations: 281 kB / 259.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01326, allocations: 8 kB / 259.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.01336, allocations: 19.97 kB / 259.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.01341, allocations: 35.83 kB / 259.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.01342, allocations: 4 kB / 259.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.577e-05/0.01348, allocations: 86.77 kB / 259.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01348, allocations: 0 / 259.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002117/0.0137, allocations: 91.92 kB / 259.4 MB, free: 14.66 MB / 266.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.0001001/0.0138, allocations: 87.78 kB / 259.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.01408, allocations: 333.4 kB / 259.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.01409, allocations: 4 kB / 259.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.01423, allocations: 192.2 kB / 260.1 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.01462, allocations: 0.5593 MB / 260.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.01648, allocations: 0.5688 MB / 261.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.01653, allocations: 96.61 kB / 261.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.396e-05/0.01662, allocations: 26.97 kB / 261.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.01676, allocations: 119.3 kB / 261.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01676, allocations: 0 / 261.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Templates: time 0.00687/0.02363, allocations: 5.233 MB / 266.7 MB, free: 7.328 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.726387020200491]