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.0008714/0.0008714, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008485/0.0008485, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9073/0.9073, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.426e-06/3.426e-06, allocations: 0 / 318.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.876e-05, allocations: 2.281 kB / 318.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003377/0.003406, allocations: 2.601 MB / 321.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.004511, allocations: 0.6076 MB / 321.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.004689, allocations: 4 kB / 321.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.004856, allocations: 55.44 kB / 321.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.005036, allocations: 87.14 kB / 321.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.005288, allocations: 87.8 kB / 321.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.005634, allocations: 354.7 kB / 322.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.005887, allocations: 99.84 kB / 322.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.006134, allocations: 199.6 kB / 322.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.006308, allocations: 115.7 kB / 322.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.006356, allocations: 28 kB / 322.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.006397, allocations: 32 kB / 322.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.006452, allocations: 71.69 kB / 322.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.842e-05/0.006551, allocations: 111.7 kB / 322.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.006928, allocations: 370.8 kB / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.006935, allocations: 0 / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.006938, allocations: 0 / 323.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.006949, allocations: 4 kB / 323.2 MB, free: 1.539 MB / 282.7 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.0008923/0.007841, allocations: 0.517 MB / 323.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/0.007906, allocations: 12.92 kB / 323.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.007977, allocations: 70.72 kB / 323.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.008048, allocations: 36.75 kB / 323.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.008411, allocations: 201.3 kB / 324.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.008434, allocations: 25.03 kB / 324.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.008476, allocations: 24.38 kB / 324.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.008858, allocations: 302 kB / 324.4 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.00887, allocations: 4.188 kB / 324.4 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.008891, allocations: 12.12 kB / 324.4 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.0089, allocations: 8 kB / 324.4 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.009136, allocations: 186.5 kB / 324.6 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01033, allocations: 0.9023 MB / 325.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.01065, allocations: 170.6 kB / 325.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.01081, allocations: 128.8 kB / 325.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.01083, allocations: 4 kB / 325.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.01085, allocations: 30.56 kB / 325.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 4.889e-06/0.01086, allocations: 4 kB / 325.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001043/0.0119, allocations: 0.7041 MB / 326.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.01193, allocations: 55.41 kB / 326.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01207, allocations: 190.3 kB / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.01209, allocations: 33.7 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.01216, allocations: 172.6 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01221, allocations: 95.17 kB / 327.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.01227, allocations: 45.98 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.01236, allocations: 330.8 kB / 327.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.039e-05/0.01245, allocations: 80.47 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.782e-05/0.01255, allocations: 95.59 kB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.01274, allocations: 189.5 kB / 327.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01274, allocations: 0 / 327.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003457/0.01309, allocations: 318.1 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.0131, allocations: 6.969 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01311, allocations: 4 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.01332, allocations: 92.69 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01343, allocations: 47.95 kB / 328.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.01492, allocations: 1.965 MB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.01499, allocations: 8.031 kB / 330.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.015, allocations: 8.062 kB / 330.3 MB, free: 10.12 MB / 298.7 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.0001196/0.01512, allocations: 145.8 kB / 330.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.01515, allocations: 27.8 kB / 330.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.01518, allocations: 25.97 kB / 330.5 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01518, allocations: 0 / 330.5 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.01519, allocations: 4 kB / 330.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.0152, allocations: 3.984 kB / 330.5 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.01589, allocations: 0.6894 MB / 331.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01589, allocations: 0 / 331.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01599, allocations: 35.97 kB / 331.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.01613, allocations: 76.72 kB / 331.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.01615, allocations: 11.98 kB / 331.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.01732, allocations: 1.868 MB / 333.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01732, allocations: 32 / 333.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.01773, allocations: 452 kB / 333.6 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.01775, allocations: 19.84 kB / 333.6 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.01777, allocations: 12 kB / 333.6 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.01786, allocations: 11.98 kB / 333.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.0179, allocations: 23.91 kB / 333.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01792, allocations: 7.984 kB / 333.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.01801, allocations: 144.3 kB / 333.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01801, allocations: 0 / 333.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.01832, allocations: 76 kB / 333.9 MB, free: 6.32 MB / 298.7 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.0006655/0.01899, allocations: 1.002 MB / 334.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005023/0.01949, allocations: 354.4 kB / 335.2 MB, free: 4.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01949, allocations: 0 / 335.2 MB, free: 4.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.01974, allocations: 246.8 kB / 335.5 MB, free: 4.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.02002, allocations: 44.31 kB / 335.5 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.02245, allocations: 2.724 MB / 338.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.02258, allocations: 158.9 kB / 338.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.02264, allocations: 18.28 kB / 338.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.02273, allocations: 80.48 kB / 338.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02273, allocations: 4 kB / 338.5 MB, free: 1.535 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.05157, allocations: 6.745 MB / 345.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.294, allocations: 14.91 kB / 345.2 MB, free: 10.94 MB / 314.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] 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: 9.087412929162383]