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.0009594/0.0009594, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.001168/0.001168, allocations: 159.5 kB / 24.99 MB, free: 9.328 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.18 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.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.787e-05, allocations: 2.312 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003008/0.003026, allocations: 3.113 MB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.004128, allocations: 0.7479 MB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.004288, allocations: 11.94 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.004451, allocations: 51.5 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.004639, allocations: 126.9 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.004902, allocations: 123.7 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.005296, allocations: 466 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.005473, allocations: 91.5 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.00579, allocations: 271.4 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.005949, allocations: 155.5 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.005993, allocations: 44 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.006034, allocations: 51.94 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.006085, allocations: 87.67 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.006196, allocations: 143.6 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.006466, allocations: 287 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006469, allocations: 4 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006469, allocations: 0 / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006474, allocations: 0 / 278.8 MB, free: 11.79 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.0008197/0.007294, allocations: 0.7119 MB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.007329, allocations: 15.98 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.007418, allocations: 72.64 kB / 279.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.007706, allocations: 259.4 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.007726, allocations: 21.03 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.007767, allocations: 32.38 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.008126, allocations: 304.4 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.008136, allocations: 192 / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.008161, allocations: 15.94 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.008171, allocations: 12 kB / 280.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.008365, allocations: 123.8 kB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.00946, allocations: 0.9841 MB / 281.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.009674, allocations: 139 kB / 281.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.009788, allocations: 63.66 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.009806, allocations: 0 / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.01001, allocations: 237.1 kB / 281.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 8.62e-07/0.01001, allocations: 0 / 281.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005387/0.01054, allocations: 260.4 kB / 282 MB, free: 8.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.0106, allocations: 136.5 kB / 282.1 MB, free: 8.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.0108, allocations: 320.2 kB / 282.4 MB, free: 7.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.01082, allocations: 29.7 kB / 282.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01093, allocations: 267 kB / 282.7 MB, free: 7.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.01097, allocations: 63.44 kB / 282.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.01104, allocations: 63.59 kB / 282.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.01116, allocations: 0.5079 MB / 283.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.01125, allocations: 69.81 kB / 283.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.0114, allocations: 288.1 kB / 283.7 MB, free: 6.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.01159, allocations: 230 kB / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01159, allocations: 4 kB / 283.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003521/0.01195, allocations: 320.2 kB / 284.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.01197, allocations: 37.69 kB / 284.3 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01198, allocations: 4 kB / 284.3 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.01221, allocations: 59.95 kB / 284.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.01235, allocations: 67.89 kB / 284.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009187/0.01327, allocations: 1.848 MB / 286.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.01342, allocations: 63.66 kB / 286.3 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01343, allocations: 8 kB / 286.3 MB, free: 3.609 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.0001046/0.01354, allocations: 176.5 kB / 286.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.01357, allocations: 31.86 kB / 286.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.0136, allocations: 30.11 kB / 286.6 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0136, allocations: 4 kB / 286.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.0136, allocations: 0 / 286.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01361, allocations: 3.984 kB / 286.6 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.01415, allocations: 0.5746 MB / 287.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01415, allocations: 4 kB / 287.1 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01425, allocations: 43.84 kB / 287.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.01439, allocations: 51.64 kB / 287.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01441, allocations: 8.031 kB / 287.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008915/0.0153, allocations: 1.847 MB / 289.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0153, allocations: 0 / 289.1 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.01565, allocations: 390 kB / 289.5 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.01568, allocations: 31.8 kB / 289.5 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.0157, allocations: 11.94 kB / 289.5 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.01581, allocations: 20.05 kB / 289.5 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.01588, allocations: 31.89 kB / 289.6 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01589, allocations: 7.984 kB / 289.6 MB, free: 144 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.1123/0.1281, allocations: 216.9 kB / 289.8 MB, free: 27.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1281, allocations: 0 / 289.8 MB, free: 27.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004324/0.1286, allocations: 90.08 kB / 289.9 MB, free: 27.64 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.0001096/0.1287, allocations: 100.6 kB / 290 MB, free: 27.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004915/0.1292, allocations: 403.8 kB / 290.4 MB, free: 27.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1292, allocations: 0 / 290.4 MB, free: 27.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.1294, allocations: 251.5 kB / 290.6 MB, free: 27.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1297, allocations: 56.52 kB / 290.7 MB, free: 27.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1309, allocations: 0.5751 MB / 291.2 MB, free: 26.8 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.229e-05/0.131, allocations: 90.81 kB / 291.3 MB, free: 26.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.1311, allocations: 32.19 kB / 291.4 MB, free: 26.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.1311, allocations: 28.09 kB / 291.4 MB, free: 26.73 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1311, allocations: 1.25 kB / 291.4 MB, free: 26.73 MB / 266.7 MB Notification: Performance of Templates: time 0.007545/0.1387, allocations: 4.608 MB / 296 MB, free: 26.32 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 -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.017933753086254]