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.00179/0.00179, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002084/0.002084, allocations: 183.7 kB / 23.72 MB, free: 4.699 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.473/1.473, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.002091/0.002091, allocations: 47.92 kB / 370.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2861, allocations: 52.18 MB / 422.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007133/0.2932, allocations: 5.799 MB / 428.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2958, allocations: 1.18 MB / 429.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005397/0.2963, allocations: 19.94 kB / 429.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.2967, allocations: 170.4 kB / 429.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.2974, allocations: 281.4 kB / 430.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.2979, allocations: 219.7 kB / 430.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.2991, allocations: 1.06 MB / 431.4 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.2997, allocations: 403 kB / 431.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004494/0.3001, allocations: 430.6 kB / 432.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.3008, allocations: 477.9 kB / 432.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3009, allocations: 96 kB / 432.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3011, allocations: 100 kB / 432.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.3013, allocations: 219.2 kB / 433.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.3017, allocations: 0.4977 MB / 433.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.303, allocations: 1.109 MB / 434.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.303, allocations: 0 / 434.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.303, allocations: 0 / 434.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.303, allocations: 0 / 434.7 MB, free: 2.5 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002061/0.3051, allocations: 1.194 MB / 435.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3051, allocations: 12.03 kB / 435.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.3053, allocations: 148.1 kB / 436 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.3054, allocations: 108.3 kB / 436.1 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.3062, allocations: 405.5 kB / 436.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.3062, allocations: 66.38 kB / 436.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3064, allocations: 100.3 kB / 436.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3077, allocations: 0.8716 MB / 437.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.3078, allocations: 3.938 kB / 437.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.3078, allocations: 44 kB / 437.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.3079, allocations: 20 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009778/0.3088, allocations: 0.57 MB / 438.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.3133, allocations: 2.872 MB / 441.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.3137, allocations: 261.5 kB / 441.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3141, allocations: 228.8 kB / 441.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3141, allocations: 8 kB / 441.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3141, allocations: 42.56 kB / 441.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.675e-06/0.3141, allocations: 3.938 kB / 441.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001544/0.3157, allocations: 0.5798 MB / 442.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3157, allocations: 59.34 kB / 442.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.3163, allocations: 0.5065 MB / 442.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.3164, allocations: 37.7 kB / 442.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.3167, allocations: 0.4914 MB / 443.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.3168, allocations: 166.6 kB / 443.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.317, allocations: 130.6 kB / 443.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3172, allocations: 370.8 kB / 443.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.3175, allocations: 173.9 kB / 444.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.318, allocations: 449.6 kB / 444.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.3188, allocations: 0.6508 MB / 445.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3188, allocations: 0 / 445.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001239/0.3201, allocations: 0.7635 MB / 446 MB, free: 6.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3201, allocations: 11.94 kB / 446 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3201, allocations: 8 kB / 446 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.3204, allocations: 89.17 kB / 446.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.3211, allocations: 191.7 kB / 446.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.3232, allocations: 1.899 MB / 448.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.3237, allocations: 95.36 kB / 448.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.3237, allocations: 35.94 kB / 448.3 MB, free: 4.227 MB / 350.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.0003242/0.324, allocations: 211.5 kB / 448.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.3241, allocations: 59.67 kB / 448.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.3243, allocations: 61.5 kB / 448.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3243, allocations: 4 kB / 448.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3243, allocations: 0 / 448.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3243, allocations: 11.98 kB / 448.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.3251, allocations: 0.6132 MB / 449.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3251, allocations: 0 / 449.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.3255, allocations: 103.9 kB / 449.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.3257, allocations: 68.73 kB / 449.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3258, allocations: 16 kB / 449.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.3277, allocations: 1.884 MB / 451.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3277, allocations: 0 / 451.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009728/0.3287, allocations: 0.6625 MB / 452 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3288, allocations: 55.61 kB / 452 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.3289, allocations: 12 kB / 452 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.3293, allocations: 43.97 kB / 452.1 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.3294, allocations: 39.86 kB / 452.1 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.3294, allocations: 12 kB / 452.1 MB, free: 204 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004529/0.3299, allocations: 346.9 kB / 452.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3299, allocations: 0 / 452.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008388/0.3307, allocations: 251.4 kB / 452.7 MB, free: 15.62 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.001323/0.332, allocations: 1.21 MB / 453.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3331, allocations: 0.5611 MB / 454.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3331, allocations: 0.8125 kB / 454.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.3336, allocations: 314.5 kB / 454.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.3342, allocations: 114.4 kB / 454.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008114/0.3423, allocations: 5.493 MB / 460.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.3429, allocations: 0.9336 MB / 461.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.3432, allocations: 73.2 kB / 461.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.3435, allocations: 259.4 kB / 461.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3435, allocations: 0 / 461.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07306/0.4166, allocations: 13.41 MB / 475.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.46, allocations: 5.781 kB / 475.1 MB, free: 9.027 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.140953703998093]