Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.00177/0.00177, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001943/0.001943, allocations: 179.7 kB / 23.7 MB, free: 4.414 MB / 14.72 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.524/1.524, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.94 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2939, allocations: 52.17 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004095/0.298, allocations: 2.623 MB / 425.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2992, allocations: 0.5882 MB / 426.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.2994, allocations: 4 kB / 426.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.2995, allocations: 47.5 kB / 426.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.2997, allocations: 99.17 kB / 426.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3, allocations: 71.91 kB / 426.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.3004, allocations: 342.9 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.3007, allocations: 114.2 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.3008, allocations: 131.6 kB / 427.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.301, allocations: 127.3 kB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.3011, allocations: 32 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-05/0.3012, allocations: 32 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.3012, allocations: 71.75 kB / 427.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.3014, allocations: 139.4 kB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.3018, allocations: 358.3 kB / 427.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3018, allocations: 0 / 427.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3018, allocations: 0 / 427.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3018, allocations: 0 / 427.8 MB, free: 9.699 MB / 334.1 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.0009066/0.3027, allocations: 0.5287 MB / 428.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3027, allocations: 12.03 kB / 428.4 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.3028, allocations: 32.75 kB / 428.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.3032, allocations: 202 kB / 428.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3032, allocations: 21.03 kB / 428.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.3033, allocations: 32.38 kB / 428.6 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.3038, allocations: 301.8 kB / 428.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3038, allocations: 3.938 kB / 428.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3038, allocations: 16 kB / 429 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3038, allocations: 8 kB / 429 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.3042, allocations: 182.5 kB / 429.1 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3057, allocations: 0.8514 MB / 430 MB, free: 7.395 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.3061, allocations: 162.6 kB / 430.2 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.3063, allocations: 120.8 kB / 430.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3063, allocations: 8 kB / 430.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3064, allocations: 38.5 kB / 430.3 MB, free: 7.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.3064, allocations: 4 kB / 430.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001544/0.3079, allocations: 0.7079 MB / 431 MB, free: 6.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3079, allocations: 55.41 kB / 431.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3081, allocations: 188.4 kB / 431.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3082, allocations: 33.64 kB / 431.3 MB, free: 6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.3083, allocations: 176.5 kB / 431.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.3084, allocations: 91.23 kB / 431.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.3085, allocations: 45.98 kB / 431.6 MB, free: 5.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3086, allocations: 338.8 kB / 431.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3087, allocations: 72.53 kB / 432 MB, free: 5.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3089, allocations: 98.8 kB / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.3092, allocations: 185.6 kB / 432.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3092, allocations: 0 / 432.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005425/0.3098, allocations: 314.6 kB / 432.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3098, allocations: 8 kB / 432.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3098, allocations: 7.922 kB / 432.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.31, allocations: 88.78 kB / 432.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.3102, allocations: 47.97 kB / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.3125, allocations: 1.95 MB / 434.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3127, allocations: 4 kB / 434.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3127, allocations: 8 kB / 434.7 MB, free: 2.449 MB / 334.1 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.0001759/0.3129, allocations: 149.6 kB / 434.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.3129, allocations: 19.86 kB / 434.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.313, allocations: 29.97 kB / 434.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.313, allocations: 4 kB / 434.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.313, allocations: 4 kB / 434.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.313, allocations: 8.047 kB / 434.9 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3142, allocations: 0.6236 MB / 435.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3142, allocations: 0 / 435.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.3144, allocations: 39.91 kB / 435.6 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/0.3146, allocations: 72.8 kB / 435.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3146, allocations: 11.94 kB / 435.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.3166, allocations: 1.842 MB / 437.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3166, allocations: 0 / 437.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.3173, allocations: 480.3 kB / 438 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.3174, allocations: 15.91 kB / 438 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3174, allocations: 4.062 kB / 438 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3175, allocations: 15.98 kB / 438 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.3176, allocations: 19.91 kB / 438 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3176, allocations: 11.98 kB / 438 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3177, allocations: 141.7 kB / 438.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3177, allocations: 0 / 438.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004543/0.3182, allocations: 80 kB / 438.3 MB, free: 14.73 MB / 350.1 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.0001398/0.3183, allocations: 99.25 kB / 438.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000727/0.3191, allocations: 354.4 kB / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3191, allocations: 0 / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.3196, allocations: 250.5 kB / 438.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3199, allocations: 32.11 kB / 439 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3215, allocations: 0.7786 MB / 439.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3217, allocations: 158.8 kB / 439.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.389e-05/0.3218, allocations: 18.23 kB / 439.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.3218, allocations: 15.44 kB / 439.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3218, allocations: 0 / 439.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Templates: time 0.009129/0.331, allocations: 3.602 MB / 443.5 MB, free: 9.402 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.879568859934807]