Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00181/0.00181, allocations: 120.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001933/0.001933, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 59.91 kB / 373 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1519, allocations: 53.33 MB / 426.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2615/0.4134, allocations: 5.785 MB / 432.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.4166, allocations: 1.206 MB / 433.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.4172, allocations: 21.53 kB / 433.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.4176, allocations: 170.1 kB / 433.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.4182, allocations: 277.4 kB / 433.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.4187, allocations: 224.4 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.4197, allocations: 1.061 MB / 435.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006847/0.4204, allocations: 412.1 kB / 435.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.4208, allocations: 421.9 kB / 435.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.4214, allocations: 477.9 kB / 436.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.4215, allocations: 99.59 kB / 436.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.4217, allocations: 97.06 kB / 436.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.4219, allocations: 215.4 kB / 436.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004912/0.4224, allocations: 0.503 MB / 437.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.4238, allocations: 1.109 MB / 438.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4238, allocations: 1.719 kB / 438.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4238, allocations: 4 kB / 438.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.4238, allocations: 0 / 438.4 MB, free: 5.824 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.001986/0.4258, allocations: 1.256 MB / 439.7 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4259, allocations: 11.41 kB / 439.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.426, allocations: 150.7 kB / 439.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.4262, allocations: 117.8 kB / 439.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.4268, allocations: 460.7 kB / 440.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.4269, allocations: 71.44 kB / 440.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.427, allocations: 94.05 kB / 440.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.4283, allocations: 0.8741 MB / 441.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.4284, allocations: 0 / 441.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.4284, allocations: 42.53 kB / 441.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.4285, allocations: 22.81 kB / 441.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/0.4294, allocations: 0.5668 MB / 442 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004224/0.4337, allocations: 2.958 MB / 445 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.4341, allocations: 268.2 kB / 445.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.4344, allocations: 227.8 kB / 445.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.4344, allocations: 4.688 kB / 445.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4345, allocations: 38.03 kB / 445.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.4345, allocations: 1.125 kB / 445.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00141/0.4359, allocations: 0.6531 MB / 446.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.4359, allocations: 59.22 kB / 446.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.4365, allocations: 0.5201 MB / 446.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.4365, allocations: 32.39 kB / 446.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.4367, allocations: 0.4889 MB / 447.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.4368, allocations: 167.1 kB / 447.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.437, allocations: 138.4 kB / 447.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4371, allocations: 365.4 kB / 447.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.4374, allocations: 167 kB / 448.1 MB, free: 116 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.4379, allocations: 451.7 kB / 448.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.4388, allocations: 0.6495 MB / 449.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.4388, allocations: 8.969 kB / 449.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001327/0.4401, allocations: 0.7597 MB / 450 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4401, allocations: 9.188 kB / 450 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.4401, allocations: 14.48 kB / 450 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.4405, allocations: 79.05 kB / 450.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.4412, allocations: 200.7 kB / 450.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.4434, allocations: 2.002 MB / 452.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.4439, allocations: 86.55 kB / 452.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.444, allocations: 42.39 kB / 452.4 MB, free: 12.9 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.0003164/0.4443, allocations: 211.3 kB / 452.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4444, allocations: 62.94 kB / 452.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.4445, allocations: 65.56 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4445, allocations: 5.25 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.4445, allocations: 1.219 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4445, allocations: 2.625 kB / 452.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009044/0.4454, allocations: 0.6516 MB / 453.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4454, allocations: 2.906 kB / 453.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.4459, allocations: 99.86 kB / 453.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.4461, allocations: 71.8 kB / 453.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.4461, allocations: 7.641 kB / 453.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.4481, allocations: 1.982 MB / 455.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4481, allocations: 1.312 kB / 455.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.4491, allocations: 0.6622 MB / 456.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4493, allocations: 136.7 kB / 456.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.4493, allocations: 12.47 kB / 456.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.4497, allocations: 45.03 kB / 456.4 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.4498, allocations: 26.89 kB / 456.4 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.4498, allocations: 14.45 kB / 456.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004597/0.4503, allocations: 349.1 kB / 456.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4503, allocations: 0 / 456.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.4512, allocations: 255.9 kB / 457 MB, free: 9.711 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.001385/0.4526, allocations: 1.215 MB / 458.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.4537, allocations: 0.5584 MB / 458.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4537, allocations: 1.219 kB / 458.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.4542, allocations: 306.7 kB / 459.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.4548, allocations: 125 kB / 459.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.4625, allocations: 5.485 MB / 464.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.4631, allocations: 0.9323 MB / 465.6 MB, free: 4.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003235/0.4634, allocations: 70.56 kB / 465.7 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.4638, allocations: 263.4 kB / 466 MB, free: 3.773 MB / 366.1 MB Notification: Performance of SimCode: time 1.512e-06/0.4638, allocations: 0 / 466 MB, free: 3.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.5147, allocations: 12.92 MB / 478.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.97, allocations: 19.92 kB / 478.9 MB, free: 10.71 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.58952211200085]