Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001768/0.001768, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 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.001977/0.001977, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 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 1.421/1.421, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 55.86 kB / 365.7 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1053, allocations: 52.13 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007401/0.1127, allocations: 5.785 MB / 423.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1152, allocations: 1.169 MB / 424.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000446/0.1157, allocations: 19.94 kB / 424.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.1161, allocations: 178.3 kB / 425 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.1167, allocations: 277.5 kB / 425.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.1171, allocations: 227.6 kB / 425.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.1182, allocations: 1.06 MB / 426.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.1188, allocations: 398.5 kB / 426.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.1192, allocations: 426.6 kB / 427.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/0.1198, allocations: 477.9 kB / 427.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.12, allocations: 96 kB / 427.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1201, allocations: 100 kB / 428 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1203, allocations: 215.3 kB / 428.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004608/0.1208, allocations: 0.5132 MB / 428.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1219, allocations: 1.097 MB / 429.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1219, allocations: 0 / 429.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.13e-06/0.1219, allocations: 7.938 kB / 429.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.1219, allocations: 0 / 429.8 MB, free: 0.5547 MB / 350.1 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.002089/0.124, allocations: 1.266 MB / 431.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.124, allocations: 8.031 kB / 431.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.1242, allocations: 152.1 kB / 431.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1243, allocations: 108.3 kB / 431.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.125, allocations: 459.4 kB / 431.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.1251, allocations: 70.38 kB / 431.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.1252, allocations: 100.3 kB / 432 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.1266, allocations: 0.8754 MB / 432.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1266, allocations: 0 / 432.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.1267, allocations: 36 kB / 432.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.1267, allocations: 27.94 kB / 432.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1278, allocations: 0.5777 MB / 433.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004291/0.132, allocations: 2.954 MB / 436.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.1325, allocations: 257.5 kB / 436.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.1328, allocations: 244.6 kB / 436.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1329, allocations: 4 kB / 436.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.1329, allocations: 38.56 kB / 437 MB, free: 9.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.1329, allocations: 0 / 437 MB, free: 9.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001538/0.1344, allocations: 0.6513 MB / 437.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1345, allocations: 59.34 kB / 437.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.1351, allocations: 0.5103 MB / 438.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.1351, allocations: 41.7 kB / 438.2 MB, free: 7.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.1354, allocations: 499.2 kB / 438.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.1356, allocations: 166.6 kB / 438.9 MB, free: 7.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.1358, allocations: 134.6 kB / 439 MB, free: 7.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1359, allocations: 366.8 kB / 439.4 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1362, allocations: 169.9 kB / 439.5 MB, free: 6.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.1368, allocations: 449.6 kB / 440 MB, free: 5.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/0.1376, allocations: 0.6517 MB / 440.6 MB, free: 5.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1376, allocations: 8 kB / 440.6 MB, free: 5.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001278/0.1389, allocations: 0.7575 MB / 441.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1389, allocations: 10.5 kB / 441.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1389, allocations: 12 kB / 441.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/0.1392, allocations: 80.75 kB / 441.5 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.1399, allocations: 199.7 kB / 441.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.142, allocations: 2.006 MB / 443.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.1425, allocations: 87.36 kB / 443.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.1425, allocations: 39.94 kB / 443.8 MB, free: 1.809 MB / 366.1 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.0002939/0.1428, allocations: 217.6 kB / 444 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.1429, allocations: 59.67 kB / 444.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.143, allocations: 61.5 kB / 444.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1431, allocations: 4 kB / 444.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1431, allocations: 4 kB / 444.2 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1431, allocations: 3.984 kB / 444.2 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.1438, allocations: 0.6493 MB / 444.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1438, allocations: 4 kB / 444.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.1443, allocations: 99.86 kB / 444.9 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.1445, allocations: 72.73 kB / 445 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.1445, allocations: 12 kB / 445 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1749/0.3194, allocations: 1.979 MB / 447 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3194, allocations: 0 / 447 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.3203, allocations: 0.662 MB / 447.6 MB, free: 28.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3204, allocations: 133.9 kB / 447.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.3205, allocations: 8.797 kB / 447.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.3209, allocations: 45.2 kB / 447.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.321, allocations: 35.39 kB / 447.8 MB, free: 28.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.321, allocations: 15.97 kB / 447.9 MB, free: 28.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003315/0.3213, allocations: 345.6 kB / 448.2 MB, free: 27.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3213, allocations: 0 / 448.2 MB, free: 27.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007347/0.322, allocations: 253.4 kB / 448.4 MB, free: 27.91 MB / 366.1 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.0009583/0.323, allocations: 1.214 MB / 449.7 MB, free: 27.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008513/0.3239, allocations: 0.557 MB / 450.2 MB, free: 27.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3239, allocations: 2.625 kB / 450.2 MB, free: 27.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.3242, allocations: 300.3 kB / 450.5 MB, free: 26.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.3248, allocations: 121.2 kB / 450.6 MB, free: 26.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.3307, allocations: 5.482 MB / 456.1 MB, free: 24.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.331, allocations: 0.9309 MB / 457 MB, free: 23.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.3313, allocations: 70.06 kB / 457.1 MB, free: 23.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.3315, allocations: 266.1 kB / 457.4 MB, free: 23.33 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3315, allocations: 3.938 kB / 457.4 MB, free: 23.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.3779, allocations: 12.93 MB / 470.3 MB, free: 19.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.62, allocations: 3.656 kB / 470.3 MB, free: 19.89 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 14.651361524127424]