Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001291/0.001291, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.001375/0.001375, allocations: 204.3 kB / 20.74 MB, free: 2.414 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.483/1.483, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1157, allocations: 53.32 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005335/0.121, allocations: 2.849 MB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1225, allocations: 0.6505 MB / 429.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1226, allocations: 4 kB / 429.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1228, allocations: 51.5 kB / 429.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.1231, allocations: 87.19 kB / 430 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1233, allocations: 75.89 kB / 430 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.1239, allocations: 354.9 kB / 430.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.1241, allocations: 107.4 kB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1243, allocations: 135.5 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.1246, allocations: 151.3 kB / 430.8 MB, free: 324 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.1247, allocations: 28 kB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.36e-05/0.1247, allocations: 32 kB / 430.8 MB, free: 264 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.1248, allocations: 67.77 kB / 430.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.125, allocations: 163.2 kB / 431.1 MB, free: 32 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2966/0.4217, allocations: 358.6 kB / 431.4 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4217, allocations: 0.9062 kB / 431.4 MB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4217, allocations: 1.844 kB / 431.4 MB, free: 8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4217, allocations: 0 / 431.4 MB, free: 8 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009592/0.4226, allocations: 0.5996 MB / 432 MB, free: 7.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4227, allocations: 9.5 kB / 432 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.4227, allocations: 63.88 kB / 432.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.335e-05/0.4228, allocations: 33.44 kB / 432.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.4232, allocations: 259.3 kB / 432.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.4232, allocations: 22.41 kB / 432.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.545e-05/0.4233, allocations: 26.81 kB / 432.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.4237, allocations: 256.3 kB / 432.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4237, allocations: 0 / 432.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.4238, allocations: 13.69 kB / 432.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4238, allocations: 10.12 kB / 432.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.4241, allocations: 186.1 kB / 432.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.4255, allocations: 1.016 MB / 433.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.4259, allocations: 317.5 kB / 434.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.4261, allocations: 133.7 kB / 434.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.4261, allocations: 1.375 kB / 434.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.4262, allocations: 40.12 kB / 434.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.4262, allocations: 0 / 434.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00143/0.4276, allocations: 0.7789 MB / 435.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.4276, allocations: 54.19 kB / 435.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4278, allocations: 191.8 kB / 435.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4278, allocations: 35.27 kB / 435.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.4279, allocations: 169.1 kB / 435.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.4279, allocations: 98.2 kB / 435.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.428, allocations: 48.77 kB / 435.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.428, allocations: 339.4 kB / 436.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4282, allocations: 70.33 kB / 436.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.4283, allocations: 106 kB / 436.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.4286, allocations: 172.5 kB / 436.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4286, allocations: 0 / 436.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005227/0.4291, allocations: 317.2 kB / 436.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4291, allocations: 9.312 kB / 436.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4291, allocations: 1.844 kB / 436.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.4294, allocations: 82.25 kB / 436.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4296, allocations: 45.62 kB / 436.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.4314, allocations: 2.097 MB / 438.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4315, allocations: 11.47 kB / 439 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4315, allocations: 10.47 kB / 439 MB, free: 3.824 MB / 350.1 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 0.0001306/0.4316, allocations: 138 kB / 439.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.4317, allocations: 24.92 kB / 439.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.4317, allocations: 28.08 kB / 439.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4317, allocations: 2.562 kB / 439.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4317, allocations: 5.344 kB / 439.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4317, allocations: 6.359 kB / 439.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009887/0.4327, allocations: 0.7384 MB / 439.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4327, allocations: 1.312 kB / 439.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.4329, allocations: 35.56 kB / 439.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.4331, allocations: 74.97 kB / 440 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.4331, allocations: 8.125 kB / 440 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.4345, allocations: 1.997 MB / 442 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4345, allocations: 3.719 kB / 442 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.4352, allocations: 454.2 kB / 442.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.4352, allocations: 107 kB / 442.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.4352, allocations: 2.812 kB / 442.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.4354, allocations: 17.03 kB / 442.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.4354, allocations: 20.38 kB / 442.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4355, allocations: 6.266 kB / 442.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.4356, allocations: 142.4 kB / 442.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4356, allocations: 0 / 442.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.436, allocations: 79.28 kB / 442.8 MB, free: 0.8867 MB / 350.1 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.000817/0.4368, allocations: 0.9879 MB / 443.8 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.4375, allocations: 361.4 kB / 444.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4375, allocations: 4 kB / 444.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.438, allocations: 252.6 kB / 444.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.4384, allocations: 40.31 kB / 444.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.4424, allocations: 2.823 MB / 447.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.4429, allocations: 0.769 MB / 448.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.443, allocations: 18.83 kB / 448.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4432, allocations: 85.36 kB / 448.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4432, allocations: 0 / 448.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.4804, allocations: 5.845 MB / 454 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/10.32, allocations: 12.77 kB / 454 MB, free: 12.34 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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: 12.970883724003215]