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.001958/0.001958, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002392/0.002392, allocations: 212.2 kB / 23.73 MB, free: 4.16 MB / 14.72 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002219/0.002219, allocations: 51.91 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2795, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004059/0.2836, allocations: 2.636 MB / 434.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2848, allocations: 0.6231 MB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2849, allocations: 12 kB / 434.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.285, allocations: 47.56 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2852, allocations: 87.14 kB / 435 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.2854, allocations: 75.89 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.2858, allocations: 350.9 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.286, allocations: 103.4 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2862, allocations: 131.6 kB / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.2864, allocations: 135.3 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.2864, allocations: 32 kB / 435.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/0.2865, allocations: 28 kB / 435.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.2865, allocations: 71.75 kB / 435.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.2867, allocations: 135.4 kB / 436 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.2871, allocations: 361.1 kB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.2871, allocations: 7.984 kB / 436.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2871, allocations: 0 / 436.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.2871, allocations: 0 / 436.4 MB, free: 1.895 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.0009003/0.288, allocations: 0.521 MB / 436.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.288, allocations: 8.031 kB / 436.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.2881, allocations: 36.75 kB / 437 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.2884, allocations: 206.8 kB / 437.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2885, allocations: 24.97 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.2885, allocations: 32.38 kB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.289, allocations: 301.8 kB / 437.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.289, allocations: 3.984 kB / 437.5 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.2891, allocations: 15.98 kB / 437.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2891, allocations: 4 kB / 437.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.2894, allocations: 182.5 kB / 437.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.2909, allocations: 0.8629 MB / 438.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.2913, allocations: 166.6 kB / 438.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.2915, allocations: 131.4 kB / 438.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2915, allocations: 4 kB / 438.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2916, allocations: 38.5 kB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.2916, allocations: 0 / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001452/0.293, allocations: 0.6906 MB / 439.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.2931, allocations: 59.34 kB / 439.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.2933, allocations: 188.4 kB / 439.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.2933, allocations: 33.7 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2934, allocations: 172.5 kB / 440 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/0.2935, allocations: 99.25 kB / 440.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.2936, allocations: 53.94 kB / 440.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2938, allocations: 330.8 kB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.2939, allocations: 72.53 kB / 440.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.2941, allocations: 98.8 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.2944, allocations: 178.2 kB / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2944, allocations: 0 / 440.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005368/0.2949, allocations: 310.2 kB / 441.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.295, allocations: 4 kB / 441.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.295, allocations: 0 / 441.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.2952, allocations: 96.67 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.2954, allocations: 43.98 kB / 441.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.2976, allocations: 1.946 MB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.2977, allocations: 12.02 kB / 443.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.2977, allocations: 12 kB / 443.3 MB, free: 10.66 MB / 350.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.0001481/0.2979, allocations: 145.7 kB / 443.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.2979, allocations: 19.91 kB / 443.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.298, allocations: 25.97 kB / 443.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.298, allocations: 11.97 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.298, allocations: 0 / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.298, allocations: 112 / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.299, allocations: 0.6352 MB / 444.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.299, allocations: 8 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.2992, allocations: 31.98 kB / 444.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/0.2994, allocations: 76.77 kB / 444.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2994, allocations: 7.938 kB / 444.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.3012, allocations: 1.849 MB / 446.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3012, allocations: 0 / 446.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.3019, allocations: 460.2 kB / 446.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.3019, allocations: 15.97 kB / 446.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3019, allocations: 12.06 kB / 446.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3021, allocations: 20.11 kB / 446.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3021, allocations: 19.89 kB / 446.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3022, allocations: 12 kB / 446.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3023, allocations: 141.1 kB / 446.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3023, allocations: 0 / 446.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.3027, allocations: 80 kB / 446.8 MB, free: 6.938 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.0001117/0.3028, allocations: 107.2 kB / 446.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.3034, allocations: 358.6 kB / 447.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3034, allocations: 0 / 447.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.3039, allocations: 246.5 kB / 447.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3042, allocations: 44.12 kB / 447.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3054, allocations: 0.7706 MB / 448.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.3055, allocations: 158.8 kB / 448.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.3056, allocations: 21.94 kB / 448.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3057, allocations: 19.44 kB / 448.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3057, allocations: 0 / 448.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of Templates: time 0.007527/0.3132, allocations: 3.603 MB / 452.1 MB, free: 1.59 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.807663768529892]