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.001296/0.001296, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001489/0.001489, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.368/1.368, allocations: 230.6 MB / 258.3 MB, free: 7.781 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 47.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2671, allocations: 53.36 MB / 431.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004188/0.2713, allocations: 2.64 MB / 434.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2724, allocations: 0.6154 MB / 435.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.2726, allocations: 7.938 kB / 435.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.2727, allocations: 51.56 kB / 435.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.2729, allocations: 83.19 kB / 435.3 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.2731, allocations: 87.83 kB / 435.3 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.2735, allocations: 350.9 kB / 435.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2738, allocations: 107.8 kB / 435.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.2739, allocations: 127.6 kB / 435.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.2742, allocations: 163.3 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.2742, allocations: 32 kB / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.294e-05/0.2743, allocations: 31.94 kB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.2743, allocations: 67.77 kB / 436.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.2745, allocations: 131.5 kB / 436.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.2749, allocations: 366.5 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.2749, allocations: 8 kB / 436.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2749, allocations: 0 / 436.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2749, allocations: 0 / 436.7 MB, free: 1.77 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.0009105/0.2759, allocations: 0.5209 MB / 437.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2759, allocations: 11.97 kB / 437.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.655e-05/0.2759, allocations: 8.844 kB / 437.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.276, allocations: 66.72 kB / 437.3 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.2761, allocations: 36.75 kB / 437.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.2764, allocations: 194.8 kB / 437.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2764, allocations: 21.03 kB / 437.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.2765, allocations: 36.31 kB / 437.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.277, allocations: 297.4 kB / 437.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.277, allocations: 4 kB / 437.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.277, allocations: 16 kB / 437.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.277, allocations: 4 kB / 437.9 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.2774, allocations: 186.5 kB / 438.1 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.2789, allocations: 0.9053 MB / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.2793, allocations: 173.8 kB / 439.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.2796, allocations: 139.2 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.2796, allocations: 0 / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.2796, allocations: 34.94 kB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.2796, allocations: 0 / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001556/0.2812, allocations: 0.7029 MB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2812, allocations: 55.41 kB / 440.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.2814, allocations: 192.2 kB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.2815, allocations: 29.7 kB / 440.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2816, allocations: 180.5 kB / 440.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.2817, allocations: 87.22 kB / 440.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.296e-05/0.2818, allocations: 49.98 kB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.282, allocations: 334.8 kB / 440.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.2821, allocations: 72.53 kB / 441 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.2823, allocations: 103.6 kB / 441.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2826, allocations: 178.2 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2826, allocations: 0 / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005541/0.2831, allocations: 314.1 kB / 441.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2832, allocations: 4 kB / 441.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2832, allocations: 0 / 441.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.2834, allocations: 100.7 kB / 441.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.2836, allocations: 47.97 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.2858, allocations: 1.977 MB / 443.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.2859, allocations: 7.984 kB / 443.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2859, allocations: 12 kB / 443.7 MB, free: 10.34 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.0001505/0.2861, allocations: 141.7 kB / 443.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.2861, allocations: 19.86 kB / 443.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.2861, allocations: 25.97 kB / 443.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2862, allocations: 7.984 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.2862, allocations: 8.047 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2862, allocations: 8 kB / 443.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.2873, allocations: 0.6738 MB / 444.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2873, allocations: 0 / 444.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.2875, allocations: 39.97 kB / 444.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.2877, allocations: 76.73 kB / 444.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2877, allocations: 4 kB / 444.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.2896, allocations: 1.875 MB / 446.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2896, allocations: 0 / 446.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.2902, allocations: 472.3 kB / 447.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.2903, allocations: 15.86 kB / 447.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.2903, allocations: 4.062 kB / 447.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2905, allocations: 20.11 kB / 447.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.2905, allocations: 23.95 kB / 447.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2905, allocations: 4 kB / 447.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.2907, allocations: 151.4 kB / 447.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2907, allocations: 0 / 447.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00039/0.291, allocations: 76 kB / 447.4 MB, free: 6.523 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.001013/0.2921, allocations: 0.994 MB / 448.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00071/0.2928, allocations: 354.4 kB / 448.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2928, allocations: 0 / 448.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.2932, allocations: 254.4 kB / 449 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.2936, allocations: 36.05 kB / 449 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.2972, allocations: 2.825 MB / 451.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.2974, allocations: 158.7 kB / 452 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.686e-05/0.2974, allocations: 22.28 kB / 452 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.2976, allocations: 83.41 kB / 452.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2976, allocations: 4 kB / 452.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.3323, allocations: 6.315 MB / 458.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.46, allocations: 12.31 kB / 458.4 MB, free: 11.52 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/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: 13.984710627933964]