Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001836/0.001836, allocations: 107.5 kB / 20.44 MB, free: 1.203 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.002192/0.002192, allocations: 185 kB / 23.7 MB, free: 4.434 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.464/1.464, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 370.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2683, allocations: 52.17 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006904/0.2752, allocations: 5.071 MB / 428.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.2777, allocations: 1.145 MB / 429.3 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.2781, allocations: 19.94 kB / 429.3 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.2784, allocations: 174.3 kB / 429.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005748/0.279, allocations: 281.4 kB / 429.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.2795, allocations: 223.6 kB / 430 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.2807, allocations: 1.064 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006758/0.2814, allocations: 381.5 kB / 431.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005519/0.2819, allocations: 422.6 kB / 431.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.2825, allocations: 405.9 kB / 432.3 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.2827, allocations: 96 kB / 432.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.2829, allocations: 100 kB / 432.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.2831, allocations: 219.2 kB / 432.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.2835, allocations: 426.2 kB / 433.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2847, allocations: 1.124 MB / 434.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2847, allocations: 4 kB / 434.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2847, allocations: 0 / 434.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.2847, allocations: 0 / 434.2 MB, free: 3.305 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002127/0.2868, allocations: 1.185 MB / 435.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.2869, allocations: 8.031 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.2871, allocations: 120.3 kB / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008291/0.2879, allocations: 405.5 kB / 435.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.288, allocations: 66.38 kB / 436 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2881, allocations: 96.33 kB / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.2898, allocations: 1.148 MB / 437.2 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.2898, allocations: 3.938 kB / 437.2 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.2899, allocations: 40 kB / 437.3 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.2899, allocations: 28 kB / 437.3 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.2909, allocations: 0.5661 MB / 437.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/0.2952, allocations: 2.549 MB / 440.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.2956, allocations: 262.4 kB / 440.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.296, allocations: 225.2 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.296, allocations: 4 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.2961, allocations: 38.56 kB / 440.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/0.2961, allocations: 4 kB / 440.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001485/0.2975, allocations: 0.572 MB / 441.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.2976, allocations: 55.41 kB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.2982, allocations: 0.4899 MB / 442 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.2982, allocations: 41.7 kB / 442.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.2986, allocations: 0.503 MB / 442.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.2988, allocations: 162.6 kB / 442.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.2989, allocations: 134.6 kB / 442.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.2991, allocations: 366.7 kB / 443.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.2995, allocations: 173.9 kB / 443.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005648/0.3, allocations: 457.3 kB / 443.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.3009, allocations: 0.6431 MB / 444.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3009, allocations: 8 kB / 444.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001308/0.3022, allocations: 0.7561 MB / 445.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3023, allocations: 8 kB / 445.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.3023, allocations: 12 kB / 445.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.3026, allocations: 76.81 kB / 445.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.3033, allocations: 199.7 kB / 445.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.3054, allocations: 1.86 MB / 447.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.3059, allocations: 87.34 kB / 447.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.306, allocations: 32 kB / 447.5 MB, free: 5.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002965/0.3062, allocations: 217.5 kB / 447.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3063, allocations: 55.67 kB / 447.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.3065, allocations: 69.47 kB / 447.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3065, allocations: 4 kB / 447.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3065, allocations: 0 / 447.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3065, allocations: 3.938 kB / 447.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.3071, allocations: 468.8 kB / 448.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3071, allocations: 0 / 448.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.3075, allocations: 99.88 kB / 448.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.3078, allocations: 72.73 kB / 448.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.3078, allocations: 8 kB / 448.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.3097, allocations: 1.845 MB / 450.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3097, allocations: 0 / 450.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.3108, allocations: 0.6508 MB / 451 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.3109, allocations: 55.66 kB / 451 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.3109, allocations: 16 kB / 451.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.3113, allocations: 47.95 kB / 451.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.3114, allocations: 36.09 kB / 451.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.3114, allocations: 12 kB / 451.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003895/0.3118, allocations: 330.9 kB / 451.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3118, allocations: 3.938 kB / 451.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007812/0.3126, allocations: 247.4 kB / 451.7 MB, free: 0.9141 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0001531/0.3128, allocations: 111.2 kB / 451.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3138, allocations: 0.5619 MB / 452.4 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3138, allocations: 4 kB / 452.4 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005292/0.3143, allocations: 298.2 kB / 452.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.3149, allocations: 102.1 kB / 452.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.3174, allocations: 1.421 MB / 454.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.3178, allocations: 335.8 kB / 454.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000252/0.318, allocations: 60.94 kB / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3181, allocations: 39.44 kB / 454.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3181, allocations: 0 / 454.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Templates: time 0.01581/0.334, allocations: 7.761 MB / 462.4 MB, free: 6.273 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.812640028074384]