Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001368/0.001368, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.007015/0.007015, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9105/0.9105, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 298.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.5e-05, allocations: 2.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003199/0.003224, allocations: 2.575 MB / 301 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004392, allocations: 0.628 MB / 301.7 MB, free: 276 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.004564, allocations: 4 kB / 301.7 MB, free: 272 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.00472, allocations: 47.5 kB / 301.7 MB, free: 224 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.004889, allocations: 99.06 kB / 301.8 MB, free: 124 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.005096, allocations: 79.88 kB / 301.9 MB, free: 44 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1252/0.1303, allocations: 359.2 kB / 302.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.1305, allocations: 97.52 kB / 302.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.1307, allocations: 200.3 kB / 302.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1309, allocations: 110.6 kB / 302.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.1309, allocations: 31.53 kB / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.131, allocations: 31.44 kB / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.131, allocations: 68.36 kB / 302.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.1311, allocations: 114.1 kB / 302.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1315, allocations: 370.2 kB / 303.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.1315, allocations: 0.8125 kB / 303.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1315, allocations: 1.094 kB / 303.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1315, allocations: 0 / 303.2 MB, free: 13.12 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.000661/0.1321, allocations: 0.5212 MB / 303.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1322, allocations: 13.64 kB / 303.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.1322, allocations: 69.89 kB / 303.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.1323, allocations: 39.11 kB / 303.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1326, allocations: 196.9 kB / 304.1 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1326, allocations: 22.41 kB / 304.1 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.1327, allocations: 35.48 kB / 304.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.133, allocations: 300.2 kB / 304.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.133, allocations: 1.375 kB / 304.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.133, allocations: 12.64 kB / 304.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.133, allocations: 10.03 kB / 304.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.1333, allocations: 185.3 kB / 304.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1344, allocations: 0.9047 MB / 305.5 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1346, allocations: 163.3 kB / 305.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1348, allocations: 129.3 kB / 305.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1348, allocations: 2.219 kB / 305.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1349, allocations: 37.86 kB / 305.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.1349, allocations: 1.125 kB / 305.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001051/0.1359, allocations: 0.7052 MB / 306.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.1359, allocations: 54.38 kB / 306.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1361, allocations: 195.7 kB / 306.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1361, allocations: 31.05 kB / 306.8 MB, free: 11.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1361, allocations: 175.5 kB / 307 MB, free: 10.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1362, allocations: 93.8 kB / 307.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.1362, allocations: 51.25 kB / 307.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.1363, allocations: 334.5 kB / 307.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.734e-05/0.1364, allocations: 69.5 kB / 307.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1365, allocations: 100.7 kB / 307.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1367, allocations: 179.7 kB / 307.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1367, allocations: 3.938 kB / 307.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003536/0.137, allocations: 318.2 kB / 308.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.137, allocations: 5.375 kB / 308.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.137, allocations: 0.8438 kB / 308.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.1372, allocations: 86.3 kB / 308.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1374, allocations: 45.55 kB / 308.3 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.1386, allocations: 1.982 MB / 310.2 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1387, allocations: 8.016 kB / 310.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1387, allocations: 5.562 kB / 310.3 MB, free: 8.539 MB / 282.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 9.664e-05/0.1388, allocations: 146.4 kB / 310.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.1388, allocations: 18.56 kB / 310.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.1388, allocations: 28.19 kB / 310.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1388, allocations: 3.5 kB / 310.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.1388, allocations: 2.25 kB / 310.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1388, allocations: 1.453 kB / 310.5 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.1395, allocations: 0.6813 MB / 311.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1395, allocations: 1.219 kB / 311.1 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.1397, allocations: 38.42 kB / 311.2 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.1398, allocations: 71.47 kB / 311.2 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1398, allocations: 7.641 kB / 311.3 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.1409, allocations: 1.874 MB / 313.1 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1409, allocations: 1.062 kB / 313.1 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.1413, allocations: 463 kB / 313.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.1413, allocations: 15.77 kB / 313.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1414, allocations: 9.094 kB / 313.6 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.1415, allocations: 15.22 kB / 313.6 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.1415, allocations: 22.59 kB / 313.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1415, allocations: 4.812 kB / 313.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.215e-05/0.1416, allocations: 145.6 kB / 313.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1416, allocations: 0 / 313.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.1419, allocations: 80.53 kB / 313.9 MB, free: 5.887 MB / 282.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.0005336/0.1425, allocations: 0.9907 MB / 314.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.1429, allocations: 357.3 kB / 315.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1429, allocations: 0 / 315.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.1432, allocations: 256.3 kB / 315.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.1435, allocations: 39.52 kB / 315.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.1458, allocations: 2.713 MB / 318.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.1459, allocations: 166.7 kB / 318.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.932e-05/0.146, allocations: 19.67 kB / 318.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.1461, allocations: 82.83 kB / 318.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1461, allocations: 0 / 318.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.1726, allocations: 6.754 MB / 325.2 MB, free: 296 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.619, allocations: 7.844 kB / 325.2 MB, free: 288 kB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,C1.v,C3.v,C5.v,L1.i,L2.i Variables in the result:time,C1.v,C3.v,C5.v,L1.i,L2.i [Calling sys.exit(0), Time elapsed: 9.51726456452161]