Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001027/0.001027, 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.00419/0.00419, allocations: 161.9 kB / 24.69 MB, free: 9.418 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.8939/0.8939, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.263e-05, allocations: 2.281 kB / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.1396/0.1396, allocations: 5.006 MB / 303.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1418, allocations: 1.182 MB / 304.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003796/0.1422, allocations: 20.69 kB / 304.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1425, allocations: 170.6 kB / 304.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.143, allocations: 302 kB / 305.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.1434, allocations: 228.1 kB / 305.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009071/0.1443, allocations: 1.104 MB / 306.5 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.1449, allocations: 375.3 kB / 306.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/0.1458, allocations: 0.6335 MB / 307.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004212/0.1462, allocations: 339.2 kB / 307.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1463, allocations: 97.72 kB / 307.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1464, allocations: 98.38 kB / 308 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.1465, allocations: 221.5 kB / 308.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1468, allocations: 369.5 kB / 308.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1479, allocations: 1.123 MB / 309.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.148, allocations: 0 / 309.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.148, allocations: 5.469 kB / 309.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.148, allocations: 0 / 309.7 MB, free: 10.45 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001452/0.1494, allocations: 1.174 MB / 310.9 MB, free: 9.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.1495, allocations: 14.84 kB / 310.9 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.1496, allocations: 147.3 kB / 311 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1497, allocations: 114.3 kB / 311.2 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.1503, allocations: 399.7 kB / 311.6 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.1504, allocations: 70.19 kB / 311.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.1505, allocations: 93.28 kB / 311.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1516, allocations: 1.148 MB / 312.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1516, allocations: 1.75 kB / 312.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.1516, allocations: 49.91 kB / 312.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.1517, allocations: 22.72 kB / 312.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006984/0.1524, allocations: 0.5659 MB / 313.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.1552, allocations: 2.665 MB / 316.2 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1555, allocations: 267.5 kB / 316.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.1558, allocations: 228.3 kB / 316.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1558, allocations: 4.438 kB / 316.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1558, allocations: 40.31 kB / 316.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.625e-06/0.1558, allocations: 4 kB / 316.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.001069/0.1569, allocations: 0.5708 MB / 317.3 MB, free: 6.027 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1569, allocations: 56.78 kB / 317.3 MB, free: 5.965 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.1574, allocations: 0.5292 MB / 317.8 MB, free: 5.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1575, allocations: 41.39 kB / 317.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1577, allocations: 499.8 kB / 318.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.1577, allocations: 163.5 kB / 318.5 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.1579, allocations: 140.6 kB / 318.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.1579, allocations: 369.9 kB / 319 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.1581, allocations: 167.2 kB / 319.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.1584, allocations: 457 kB / 319.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.1589, allocations: 0.6438 MB / 320.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1589, allocations: 7.406 kB / 320.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008345/0.1597, allocations: 0.763 MB / 321.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.1598, allocations: 9.969 kB / 321.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1598, allocations: 9.828 kB / 321.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.16, allocations: 79.5 kB / 321.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.1604, allocations: 197.5 kB / 321.3 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.1616, allocations: 1.883 MB / 323.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.1619, allocations: 95.61 kB / 323.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.162, allocations: 31.81 kB / 323.4 MB, free: 1.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002189/0.1622, allocations: 214.7 kB / 323.6 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.1622, allocations: 67.61 kB / 323.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.1623, allocations: 65.08 kB / 323.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1623, allocations: 5 kB / 323.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.1623, allocations: 1.344 kB / 323.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1623, allocations: 3.109 kB / 323.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.1628, allocations: 0.5562 MB / 324.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1628, allocations: 3.938 kB / 324.3 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1631, allocations: 96.75 kB / 324.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.1632, allocations: 72.22 kB / 324.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1632, allocations: 16.2 kB / 324.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.1643, allocations: 1.858 MB / 326.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1643, allocations: 0 / 326.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.165, allocations: 0.6657 MB / 327 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.1651, allocations: 67.39 kB / 327 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.1651, allocations: 14.94 kB / 327 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1653, allocations: 40 kB / 327.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.1654, allocations: 29.59 kB / 327.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1654, allocations: 13.94 kB / 327.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002915/0.1657, allocations: 350.2 kB / 327.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1657, allocations: 0 / 327.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006452/0.1663, allocations: 248.8 kB / 327.7 MB, free: 14.5 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0009195/0.1673, allocations: 1.21 MB / 328.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000789/0.168, allocations: 0.5596 MB / 329.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1681, allocations: 1.094 kB / 329.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.1684, allocations: 313.1 kB / 329.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.1688, allocations: 114.8 kB / 329.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.1738, allocations: 5.388 MB / 335.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.174, allocations: 336 kB / 335.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.1743, allocations: 73.2 kB / 335.7 MB, free: 8.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.1745, allocations: 260.4 kB / 335.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1745, allocations: 0 / 335.9 MB, free: 7.922 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.2046, allocations: 14.23 MB / 350.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.68, allocations: 3.984 kB / 350.2 MB, free: 9.637 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_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_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,C1.v,C2.v,C3.v,C4.v,C7.v Variables in the result:time,C1.v,C2.v,C3.v,C4.v,C7.v [Calling sys.exit(0), Time elapsed: 9.535457319580019]