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.001327/0.001327, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.00135/0.00135, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.6 MB / 253.3 MB, free: 13.04 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.00157/0.00157, allocations: 47.86 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2717, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004411/0.2761, allocations: 2.838 MB / 426.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2774, allocations: 0.6193 MB / 427.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2776, allocations: 8 kB / 427.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2778, allocations: 47.5 kB / 427.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.278, allocations: 95.19 kB / 427.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2782, allocations: 75.83 kB / 427.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.2786, allocations: 346.9 kB / 427.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.2789, allocations: 107.8 kB / 428 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.279, allocations: 139.5 kB / 428.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.2793, allocations: 147.4 kB / 428.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.2794, allocations: 32 kB / 428.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.2795, allocations: 32 kB / 428.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.2796, allocations: 71.7 kB / 428.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.2798, allocations: 163.2 kB / 428.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.2802, allocations: 359.8 kB / 428.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2802, allocations: 0 / 428.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2802, allocations: 0 / 428.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.2802, allocations: 0 / 428.9 MB, free: 9.629 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.000949/0.2812, allocations: 0.5248 MB / 429.5 MB, free: 9.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2812, allocations: 12.03 kB / 429.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.2813, allocations: 32.75 kB / 429.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.2817, allocations: 206 kB / 429.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2817, allocations: 21.03 kB / 429.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.2817, allocations: 28.38 kB / 429.8 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.2822, allocations: 254.4 kB / 430 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2822, allocations: 0 / 430 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.2822, allocations: 12 kB / 430 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2823, allocations: 8 kB / 430 MB, free: 8.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.2826, allocations: 186.5 kB / 430.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.2842, allocations: 0.9678 MB / 431.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.2845, allocations: 162.6 kB / 431.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.2847, allocations: 136.7 kB / 431.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2848, allocations: 8 kB / 431.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2848, allocations: 30.56 kB / 431.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.2848, allocations: 0 / 431.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001427/0.2862, allocations: 0.7035 MB / 432.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.2863, allocations: 55.41 kB / 432.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.2865, allocations: 191.2 kB / 432.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2865, allocations: 29.7 kB / 432.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.2866, allocations: 176.6 kB / 432.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.2867, allocations: 91.17 kB / 432.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/0.2868, allocations: 53.98 kB / 432.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2869, allocations: 334.8 kB / 433.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.2871, allocations: 72.53 kB / 433.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.2873, allocations: 103.6 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.2875, allocations: 194.1 kB / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2875, allocations: 0 / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005448/0.2881, allocations: 314.1 kB / 433.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.2881, allocations: 11.28 kB / 433.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2881, allocations: 0 / 433.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.2884, allocations: 88.78 kB / 433.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2886, allocations: 51.91 kB / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.2908, allocations: 1.989 MB / 435.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.2909, allocations: 11.88 kB / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2909, allocations: 8 kB / 435.9 MB, free: 2.25 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.0001814/0.2911, allocations: 141.9 kB / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.2912, allocations: 19.86 kB / 436.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.2912, allocations: 29.95 kB / 436.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2912, allocations: 4 kB / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.2913, allocations: 0 / 436.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2913, allocations: 7.938 kB / 436.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2925, allocations: 0.7088 MB / 436.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2925, allocations: 0 / 436.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.2927, allocations: 39.98 kB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.2929, allocations: 68.8 kB / 437 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2929, allocations: 8 kB / 437 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.2949, allocations: 1.887 MB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2949, allocations: 4.031 kB / 438.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.2955, allocations: 460.3 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.2956, allocations: 27.81 kB / 439.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.2956, allocations: 4.062 kB / 439.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2958, allocations: 15.98 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.2958, allocations: 15.97 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2958, allocations: 8 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.296, allocations: 148.4 kB / 439.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.296, allocations: 4 kB / 439.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004315/0.2964, allocations: 76 kB / 439.6 MB, free: 14.4 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.0001289/0.2965, allocations: 107.2 kB / 439.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006848/0.2972, allocations: 354.4 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2972, allocations: 0 / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.2976, allocations: 246.5 kB / 440.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.298, allocations: 36.05 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2993, allocations: 0.8027 MB / 441.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.2997, allocations: 0.7636 MB / 441.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.2997, allocations: 19.44 kB / 441.9 MB, free: 12 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2997, allocations: 0 / 441.9 MB, free: 12 MB / 350.1 MB Notification: Performance of Templates: time 0.006496/0.3062, allocations: 4.047 MB / 446 MB, free: 7.949 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/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: 7.591345676919445]