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.001459/0.001459, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001033/0.001033, allocations: 145.2 kB / 25.59 MB, free: 8.918 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 0.9993/0.9993, allocations: 173.4 MB / 202.2 MB, free: 8.273 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 1.442e-06/1.442e-06, allocations: 0 / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.672e-05, allocations: 5.266 kB / 269.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004819/0.004845, allocations: 3.028 MB / 272.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.006576, allocations: 0.7727 MB / 273 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.006835, allocations: 4 kB / 273 MB, free: 5.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.007098, allocations: 47.5 kB / 273.1 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.007373, allocations: 125.9 kB / 273.2 MB, free: 5.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.007766, allocations: 131.8 kB / 273.3 MB, free: 5.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.008171, allocations: 477.9 kB / 273.8 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.008342, allocations: 99.38 kB / 273.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.008601, allocations: 268.7 kB / 274.2 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.00877, allocations: 147.5 kB / 274.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.008827, allocations: 48 kB / 274.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.008875, allocations: 44.53 kB / 274.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.008935, allocations: 92.34 kB / 274.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.009046, allocations: 135.7 kB / 274.6 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.009325, allocations: 284.7 kB / 274.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.009327, allocations: 0 / 274.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.009328, allocations: 0 / 274.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.009333, allocations: 3.938 kB / 274.9 MB, free: 4.086 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008347/0.01017, allocations: 0.726 MB / 275.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.0102, allocations: 8.031 kB / 275.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.01027, allocations: 60.7 kB / 275.7 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.01054, allocations: 255.4 kB / 275.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.01055, allocations: 25.03 kB / 276 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.01059, allocations: 24.38 kB / 276 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.01091, allocations: 307.3 kB / 276.3 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.01092, allocations: 4.188 kB / 276.3 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.01094, allocations: 15.94 kB / 276.3 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.01094, allocations: 8 kB / 276.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01106, allocations: 88.52 kB / 276.4 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.01219, allocations: 1.116 MB / 277.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.01239, allocations: 130.9 kB / 277.7 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.0125, allocations: 55.69 kB / 277.7 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01252, allocations: 0 / 277.7 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.01267, allocations: 187.4 kB / 277.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 9.12e-07/0.01268, allocations: 3.938 kB / 277.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005484/0.01322, allocations: 271.2 kB / 278.2 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.01327, allocations: 110.8 kB / 278.3 MB, free: 484 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.01344, allocations: 308.4 kB / 278.6 MB, free: 156 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.01346, allocations: 33.7 kB / 278.6 MB, free: 116 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.01358, allocations: 267 kB / 278.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.01361, allocations: 51.52 kB / 278.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.01368, allocations: 67.3 kB / 279 MB, free: 15.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.01379, allocations: 0.5116 MB / 279.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.01385, allocations: 53.95 kB / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01398, allocations: 257.2 kB / 279.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.01414, allocations: 223.8 kB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01414, allocations: 0 / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003443/0.01449, allocations: 310.4 kB / 280.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.01452, allocations: 34.05 kB / 280.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01453, allocations: 8 kB / 280.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.01472, allocations: 51.64 kB / 280.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.01486, allocations: 71.89 kB / 280.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008907/0.01576, allocations: 1.741 MB / 282.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01589, allocations: 47.95 kB / 282.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01591, allocations: 15.98 kB / 282.3 MB, free: 12.12 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.561e-05/0.016, allocations: 184.4 kB / 282.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.01603, allocations: 31.81 kB / 282.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.01606, allocations: 26.11 kB / 282.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01606, allocations: 4 kB / 282.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01607, allocations: 0 / 282.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01607, allocations: 0 / 282.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.01653, allocations: 0.5234 MB / 283 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01653, allocations: 0 / 283 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01663, allocations: 35.97 kB / 283.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.01674, allocations: 59.61 kB / 283.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.01675, allocations: 4 kB / 283.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006669/0.01742, allocations: 1.733 MB / 284.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01742, allocations: 8.062 kB / 284.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.01778, allocations: 361.6 kB / 285.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.01781, allocations: 35.73 kB / 285.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.01784, allocations: 8 kB / 285.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.01795, allocations: 15.98 kB / 285.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.01799, allocations: 27.89 kB / 285.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.018, allocations: 12.03 kB / 285.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.01809, allocations: 209.1 kB / 285.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01809, allocations: 0 / 285.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.01832, allocations: 75.89 kB / 285.6 MB, free: 8.598 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 8.081e-05/0.0184, allocations: 103.2 kB / 285.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.01869, allocations: 389.7 kB / 286.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01869, allocations: 4.25 kB / 286.1 MB, free: 8.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.01881, allocations: 221.5 kB / 286.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01906, allocations: 59.31 kB / 286.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.02016, allocations: 0.6505 MB / 287 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.0202, allocations: 84.31 kB / 287.1 MB, free: 6.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.02028, allocations: 30.97 kB / 287.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.02041, allocations: 126.2 kB / 287.3 MB, free: 6.824 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02041, allocations: 4 kB / 287.3 MB, free: 6.82 MB / 266.7 MB Notification: Performance of Templates: time 0.006824/0.02724, allocations: 4.744 MB / 292 MB, free: 2.156 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.814207843039185]