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.001925/0.001925, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002032/0.002032, allocations: 156.8 kB / 24.27 MB, free: 156 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.652/1.652, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.372e-06/1.372e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.725e-05, allocations: 6.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00529/0.005317, allocations: 3.066 MB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.007175, allocations: 0.7558 MB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.00748, allocations: 11.94 kB / 276.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.007734, allocations: 63.36 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.008109, allocations: 123 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.008493, allocations: 111.8 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007175/0.009211, allocations: 469.9 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.009468, allocations: 99.47 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.01003, allocations: 267.4 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.01033, allocations: 159.5 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.01042, allocations: 44 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.0105, allocations: 48 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.0106, allocations: 87.67 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.01083, allocations: 147.6 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.01173, allocations: 0.5063 MB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01174, allocations: 4 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01174, allocations: 0 / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.01175, allocations: 0 / 278.2 MB, free: 11.82 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.001511/0.01326, allocations: 0.7467 MB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.0133, allocations: 15.98 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.01345, allocations: 64.66 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.01393, allocations: 267.5 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.01396, allocations: 24.97 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/0.01403, allocations: 36.3 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.01471, allocations: 363.7 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01472, allocations: 192 / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.01476, allocations: 15.94 kB / 279.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.01477, allocations: 8 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.01539, allocations: 250.5 kB / 279.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.01769, allocations: 1.16 MB / 281.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.01827, allocations: 222.9 kB / 281.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.01858, allocations: 111.6 kB / 281.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.01862, allocations: 4 kB / 281.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004891/0.01911, allocations: 281.1 kB / 281.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.01911, allocations: 0 / 281.7 MB, free: 8.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001271/0.02038, allocations: 383.3 kB / 282.1 MB, free: 7.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.02048, allocations: 132.5 kB / 282.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.02095, allocations: 392.2 kB / 282.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.02099, allocations: 25.7 kB / 282.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.02122, allocations: 271 kB / 282.9 MB, free: 6.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.595e-05/0.02131, allocations: 71.44 kB / 283 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.02145, allocations: 75.59 kB / 283 MB, free: 6.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003466/0.0218, allocations: 0.5313 MB / 283.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.02209, allocations: 121.9 kB / 283.7 MB, free: 5.996 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.0226, allocations: 355.9 kB / 284 MB, free: 5.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/0.02323, allocations: 322 kB / 284.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.02324, allocations: 0 / 284.3 MB, free: 5.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001063/0.0243, allocations: 444.2 kB / 284.8 MB, free: 4.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.069e-05/0.02437, allocations: 33.7 kB / 284.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.02438, allocations: 0 / 284.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.02488, allocations: 63.64 kB / 284.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.02555, allocations: 67.83 kB / 284.9 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.02789, allocations: 1.966 MB / 286.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.02824, allocations: 47.7 kB / 286.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.02827, allocations: 16 kB / 287 MB, free: 2.414 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.0002661/0.02854, allocations: 200.5 kB / 287.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.02862, allocations: 35.84 kB / 287.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-05/0.0287, allocations: 26.12 kB / 287.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.02871, allocations: 11.92 kB / 287.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.02871, allocations: 0 / 287.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.02871, allocations: 0 / 287.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.03011, allocations: 0.7191 MB / 288 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.03011, allocations: 0 / 288 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.03031, allocations: 35.92 kB / 288 MB, free: 1.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.0306, allocations: 59.62 kB / 288 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.03062, allocations: 8 kB / 288.1 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.03265, allocations: 1.968 MB / 290 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.03265, allocations: 0 / 290 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.03366, allocations: 0.5136 MB / 290.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.03373, allocations: 35.86 kB / 290.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.03378, allocations: 11.94 kB / 290.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.03403, allocations: 27.97 kB / 290.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.03413, allocations: 23.95 kB / 290.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.03415, allocations: 8 kB / 290.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002878/0.03444, allocations: 257.1 kB / 290.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03444, allocations: 0 / 290.9 MB, free: 14.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.03489, allocations: 91.78 kB / 291 MB, free: 14.18 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.0001716/0.03506, allocations: 111.2 kB / 291.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000974/0.03603, allocations: 0.4889 MB / 291.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.03604, allocations: 0 / 291.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.03652, allocations: 298 kB / 291.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.03694, allocations: 58.69 kB / 291.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.03891, allocations: 0.6116 MB / 292.5 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.0391, allocations: 161.4 kB / 292.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.03929, allocations: 34.95 kB / 292.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.03941, allocations: 24.5 kB / 292.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.03941, allocations: 4 kB / 292.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Templates: time 0.01127/0.05068, allocations: 4.592 MB / 297.3 MB, free: 7.742 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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: 4.720309855998494]