Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 170 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.097e-05, allocations: 6.25 kB / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003336/0.003367, allocations: 2.799 MB / 277 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.004652, allocations: 0.6384 MB / 277.6 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.004857, allocations: 8.5 kB / 277.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.005089, allocations: 44.47 kB / 277.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.005326, allocations: 102.1 kB / 277.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.005576, allocations: 71.89 kB / 277.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.005935, allocations: 362.7 kB / 278.2 MB, free: 372 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.006163, allocations: 103.8 kB / 278.3 MB, free: 268 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.006435, allocations: 207.5 kB / 278.5 MB, free: 60 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.006674, allocations: 109.6 kB / 278.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.006734, allocations: 32 kB / 278.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-05/0.006781, allocations: 32 kB / 278.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.006839, allocations: 71.72 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.006939, allocations: 111.8 kB / 278.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.007311, allocations: 235.6 kB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.007317, allocations: 0.6562 kB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.007318, allocations: 0 / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.007327, allocations: 4 kB / 279.1 MB, free: 15.48 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008099/0.008137, allocations: 0.6247 MB / 279.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.008182, allocations: 8.031 kB / 279.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.886e-05/0.008281, allocations: 64.69 kB / 279.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.008527, allocations: 196.9 kB / 280 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.008548, allocations: 25.03 kB / 280 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.008591, allocations: 24.38 kB / 280 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.008862, allocations: 238.7 kB / 280.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.008871, allocations: 192 / 280.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.008893, allocations: 16.38 kB / 280.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.008902, allocations: 11.94 kB / 280.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.009011, allocations: 80.45 kB / 280.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01003, allocations: 0.8481 MB / 281.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.01029, allocations: 135 kB / 281.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.0104, allocations: 87.64 kB / 281.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.01042, allocations: 4 kB / 281.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.01045, allocations: 33.39 kB / 281.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.457e-06/0.01046, allocations: 0 / 281.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009729/0.01143, allocations: 0.5486 MB / 282 MB, free: 12.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.01146, allocations: 51.41 kB / 282.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.0116, allocations: 234.6 kB / 282.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.01162, allocations: 29.7 kB / 282.3 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01172, allocations: 215.3 kB / 282.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.01178, allocations: 99.14 kB / 282.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.01184, allocations: 51.64 kB / 282.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.01201, allocations: 0.504 MB / 283.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.01206, allocations: 32.53 kB / 283.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.01212, allocations: 65.8 kB / 283.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.01224, allocations: 107.3 kB / 283.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01224, allocations: 0 / 283.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002864/0.01253, allocations: 241.4 kB / 283.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.01255, allocations: 4 kB / 283.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01256, allocations: 0 / 283.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.01278, allocations: 79.66 kB / 283.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01289, allocations: 47.91 kB / 283.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.01476, allocations: 2.326 MB / 286.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.01488, allocations: 8 kB / 286.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.01489, allocations: 8 kB / 286.1 MB, free: 8.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.01504, allocations: 172.5 kB / 286.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.01511, allocations: 23.84 kB / 286.3 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.01516, allocations: 33.94 kB / 286.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01516, allocations: 4 kB / 286.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.01517, allocations: 0 / 286.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01518, allocations: 0 / 286.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.01598, allocations: 0.5741 MB / 286.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01598, allocations: 0 / 286.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01609, allocations: 44.09 kB / 287 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001723/0.01626, allocations: 79.47 kB / 287 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.01628, allocations: 8 kB / 287 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.01754, allocations: 2.24 MB / 289.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01754, allocations: 0 / 289.3 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.01791, allocations: 415.8 kB / 289.7 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.01793, allocations: 19.84 kB / 289.7 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.01795, allocations: 4 kB / 289.7 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.01803, allocations: 15.98 kB / 289.7 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.01809, allocations: 23.95 kB / 289.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.0181, allocations: 4.062 kB / 289.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.0182, allocations: 173 kB / 289.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0182, allocations: 0 / 289.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.01848, allocations: 79.98 kB / 290 MB, free: 3.996 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.0186, allocations: 103.2 kB / 290.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.01901, allocations: 354.6 kB / 290.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.01901, allocations: 0 / 290.4 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.01927, allocations: 289.2 kB / 290.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01952, allocations: 42.16 kB / 290.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.02046, allocations: 0.6319 MB / 291.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.297e-05/0.02053, allocations: 96.3 kB / 291.5 MB, free: 2.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.02059, allocations: 21.94 kB / 291.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.0207, allocations: 118.2 kB / 291.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.0207, allocations: 0 / 291.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of Templates: time 0.005932/0.02664, allocations: 3.627 MB / 295.3 MB, free: 14.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.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.875248334836215]