Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.028/1.028, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.531e-05, allocations: 2.312 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003507/0.003532, allocations: 3.04 MB / 271.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.004513, allocations: 0.7558 MB / 272.2 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.004649, allocations: 8 kB / 272.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.004794, allocations: 51.5 kB / 272.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.004946, allocations: 126.9 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.005197, allocations: 127.8 kB / 272.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.005539, allocations: 474 kB / 273 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.005724, allocations: 99.42 kB / 273.1 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.006005, allocations: 271.3 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.006167, allocations: 151.6 kB / 273.5 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.0065, allocations: 44 kB / 273.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.006544, allocations: 44 kB / 273.6 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.0066, allocations: 87.69 kB / 273.7 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.006696, allocations: 135.7 kB / 273.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.006958, allocations: 291 kB / 274.1 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.006959, allocations: 0 / 274.1 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00696, allocations: 0 / 274.1 MB, free: 492 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.006964, allocations: 4 kB / 274.1 MB, free: 488 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000777/0.007741, allocations: 0.7197 MB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.007778, allocations: 8.031 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.007846, allocations: 64.7 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.008075, allocations: 247.5 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.008092, allocations: 21.03 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.008129, allocations: 28.38 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.008456, allocations: 311.3 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.008466, allocations: 4.172 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.008487, allocations: 15.94 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.008496, allocations: 15.98 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.008612, allocations: 84.52 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.00966, allocations: 1.12 MB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.009843, allocations: 123 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.00992, allocations: 55.64 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.009937, allocations: 4 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.01009, allocations: 187.3 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.0101, allocations: 0 / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005086/0.0106, allocations: 271.8 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.01065, allocations: 114.8 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.01081, allocations: 308.4 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01083, allocations: 33.64 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01094, allocations: 263 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.01097, allocations: 59.52 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.01104, allocations: 67.28 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.01116, allocations: 0.5117 MB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.01122, allocations: 49.97 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01137, allocations: 260.2 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.01154, allocations: 224.5 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01154, allocations: 0 / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000328/0.01187, allocations: 308.2 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.01189, allocations: 41.69 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.0119, allocations: 4 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.01205, allocations: 52 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.01218, allocations: 63.91 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.01328, allocations: 1.756 MB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.0134, allocations: 43.81 kB / 281.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01342, allocations: 12 kB / 281.5 MB, free: 8.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/0.01351, allocations: 184 kB / 281.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.01354, allocations: 35.81 kB / 281.7 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.01357, allocations: 26.11 kB / 281.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01357, allocations: 4 kB / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.01357, allocations: 0 / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01358, allocations: 0 / 281.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.01405, allocations: 0.5166 MB / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01405, allocations: 0 / 282.3 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.827e-05/0.01415, allocations: 39.97 kB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.01427, allocations: 51.59 kB / 282.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.01427, allocations: 4.031 kB / 282.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006768/0.01495, allocations: 1.748 MB / 284.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01495, allocations: 0 / 284.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.01525, allocations: 365.9 kB / 284.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.01528, allocations: 35.67 kB / 284.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.0153, allocations: 8 kB / 284.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01541, allocations: 27.97 kB / 284.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.01545, allocations: 23.91 kB / 284.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.01546, allocations: 4 kB / 284.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.01555, allocations: 205.1 kB / 284.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01555, allocations: 4.031 kB / 284.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.01577, allocations: 79.89 kB / 284.8 MB, free: 4.969 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: 3 ($whenCondition1,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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.655e-05/0.01587, allocations: 103.2 kB / 284.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003184/0.01619, allocations: 384.5 kB / 285.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01619, allocations: 0.6875 kB / 285.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01631, allocations: 229.5 kB / 285.5 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01657, allocations: 48.47 kB / 285.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.01768, allocations: 0.6505 MB / 286.2 MB, free: 3.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.01772, allocations: 84.31 kB / 286.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.0178, allocations: 30.97 kB / 286.3 MB, free: 3.332 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.01794, allocations: 130.2 kB / 286.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01794, allocations: 0 / 286.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of Templates: time 0.1099/0.1279, allocations: 4.621 MB / 291.1 MB, free: 28.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.755715422332287]