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.001267/0.001267, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001232/0.001232, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.039 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.984e-06/1.984e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.522e-05, allocations: 6.312 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004209/0.004234, allocations: 3.075 MB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.005761, allocations: 0.775 MB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.005954, allocations: 4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.006128, allocations: 59.44 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.006385, allocations: 130.9 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.006681, allocations: 111.8 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.007136, allocations: 473.9 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.007298, allocations: 98.11 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.007625, allocations: 275.4 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.007779, allocations: 147.6 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.007826, allocations: 44 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.711e-05/0.007863, allocations: 44 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.007918, allocations: 99.59 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.008011, allocations: 135.7 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.008255, allocations: 294.9 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.008258, allocations: 4 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008258, allocations: 0 / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.008262, allocations: 0 / 279.2 MB, free: 11.26 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.0006466/0.008909, allocations: 0.5989 MB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.00894, allocations: 11.98 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.009001, allocations: 52.89 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.009213, allocations: 204.7 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.009228, allocations: 21.03 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.009265, allocations: 32.36 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.009522, allocations: 292.4 kB / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.00953, allocations: 192 / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.009551, allocations: 19.94 kB / 280.4 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.009557, allocations: 4 kB / 280.4 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.87e-05/0.009655, allocations: 76.55 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.01053, allocations: 0.7915 MB / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.01068, allocations: 110.5 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.01076, allocations: 52.83 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.01078, allocations: 4 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.01094, allocations: 224.1 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.01095, allocations: 0 / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003853/0.01133, allocations: 197.4 kB / 281.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.01138, allocations: 144.4 kB / 282 MB, free: 8.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.01152, allocations: 256.8 kB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.01154, allocations: 29.7 kB / 282.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.01162, allocations: 192.8 kB / 282.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.01165, allocations: 67.42 kB / 282.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.01171, allocations: 61.91 kB / 282.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.01179, allocations: 338.8 kB / 282.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.01185, allocations: 61.81 kB / 282.9 MB, free: 7.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01196, allocations: 228.5 kB / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01209, allocations: 190.8 kB / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01209, allocations: 0 / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002476/0.01234, allocations: 261.5 kB / 283.6 MB, free: 6.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.01236, allocations: 33.7 kB / 283.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01237, allocations: 4 kB / 283.6 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.01255, allocations: 53.11 kB / 283.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.01268, allocations: 67.91 kB / 283.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007032/0.01338, allocations: 1.263 MB / 285 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.0135, allocations: 43.81 kB / 285.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.01352, allocations: 16.03 kB / 285.1 MB, free: 4.824 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 8.758e-05/0.0136, allocations: 133.7 kB / 285.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.01363, allocations: 27.97 kB / 285.2 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.01366, allocations: 30.11 kB / 285.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01366, allocations: 0 / 285.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.01367, allocations: 0 / 285.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01367, allocations: 192 / 285.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.01406, allocations: 396.1 kB / 285.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01406, allocations: 0 / 285.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.01415, allocations: 43.89 kB / 285.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.01428, allocations: 48.81 kB / 285.8 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.01429, allocations: 8 kB / 285.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000578/0.01486, allocations: 1.258 MB / 287 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01487, allocations: 4 kB / 287 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.01512, allocations: 280.3 kB / 287.3 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.01514, allocations: 27.75 kB / 287.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.01517, allocations: 4 kB / 287.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.01527, allocations: 23.92 kB / 287.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.01533, allocations: 32.02 kB / 287.4 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01534, allocations: 8.172 kB / 287.4 MB, free: 2.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.01542, allocations: 86.77 kB / 287.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01542, allocations: 0 / 287.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.01567, allocations: 91.78 kB / 287.6 MB, free: 2.191 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.0001271/0.0158, allocations: 96.33 kB / 287.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.0161, allocations: 322.9 kB / 288 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.01611, allocations: 4 kB / 288 MB, free: 1.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.01623, allocations: 179.3 kB / 288.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01645, allocations: 52.39 kB / 288.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.01737, allocations: 0.5802 MB / 288.8 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.01741, allocations: 88.62 kB / 288.9 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.01749, allocations: 34.95 kB / 288.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.01763, allocations: 119.3 kB / 289 MB, free: 0.625 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01763, allocations: 0 / 289 MB, free: 0.625 MB / 266.7 MB Notification: Performance of Templates: time 0.09559/0.1132, allocations: 4.779 MB / 293.8 MB, free: 24.64 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: 2.724188837222755]