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.0008501/0.0008501, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.000991/0.000991, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9391/0.9391, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.704e-06/1.704e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.042e-05, allocations: 10.22 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004438/0.004459, allocations: 5.1 MB / 329.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.006466, allocations: 1.18 MB / 330.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004828/0.006949, allocations: 19.94 kB / 330.9 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.007272, allocations: 174.3 kB / 331.1 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.007736, allocations: 293.2 kB / 331.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.00812, allocations: 227.6 kB / 331.6 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.008951, allocations: 1.11 MB / 332.7 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000733/0.009684, allocations: 375 kB / 333.1 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000638/0.01032, allocations: 0.6277 MB / 333.7 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.01068, allocations: 342.9 kB / 334 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.139e-05/0.01077, allocations: 100 kB / 334.1 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.01087, allocations: 96 kB / 334.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.01098, allocations: 227.1 kB / 334.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.0112, allocations: 371.1 kB / 334.8 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.01191, allocations: 1.129 MB / 335.9 MB, free: 4.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01191, allocations: 0 / 335.9 MB, free: 4.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01191, allocations: 0 / 335.9 MB, free: 4.492 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.01192, allocations: 0 / 335.9 MB, free: 4.492 MB / 298.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.001241/0.01316, allocations: 1.171 MB / 337.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.01322, allocations: 16.03 kB / 337.1 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.01333, allocations: 144.1 kB / 337.3 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.01343, allocations: 112.3 kB / 337.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.01394, allocations: 400.8 kB / 337.8 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.01398, allocations: 66.38 kB / 337.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.01405, allocations: 92.38 kB / 337.9 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.01497, allocations: 1.148 MB / 339.1 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.01499, allocations: 4.125 kB / 339.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.01504, allocations: 52.06 kB / 339.1 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.01505, allocations: 24 kB / 339.2 MB, free: 1.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.01567, allocations: 0.5622 MB / 339.7 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.0184, allocations: 2.667 MB / 342.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.01873, allocations: 266.4 kB / 342.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.01897, allocations: 225 kB / 342.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.01899, allocations: 8 kB / 342.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.01902, allocations: 38.56 kB / 342.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/0.01903, allocations: 3.938 kB / 342.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009176/0.01994, allocations: 0.5798 MB / 343.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.01998, allocations: 59.39 kB / 343.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.02037, allocations: 0.5336 MB / 344.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.02039, allocations: 29.7 kB / 344.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.02061, allocations: 499.2 kB / 344.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.0207, allocations: 162.6 kB / 344.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.02082, allocations: 130.6 kB / 344.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.02094, allocations: 370.7 kB / 345.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.02114, allocations: 169.9 kB / 345.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.02147, allocations: 461.5 kB / 345.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/0.02203, allocations: 0.6508 MB / 346.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.02203, allocations: 0 / 346.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000925/0.02296, allocations: 0.7598 MB / 347.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.02298, allocations: 8 kB / 347.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.02299, allocations: 8 kB / 347.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.02321, allocations: 80.81 kB / 347.4 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.02356, allocations: 199.9 kB / 347.6 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.02487, allocations: 1.895 MB / 349.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.02516, allocations: 91.36 kB / 349.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.02519, allocations: 36 kB / 349.6 MB, free: 6.109 MB / 314.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.0002264/0.02542, allocations: 217.5 kB / 349.8 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.02548, allocations: 59.62 kB / 349.9 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.02553, allocations: 65.52 kB / 349.9 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02554, allocations: 7.984 kB / 349.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.02554, allocations: 0 / 349.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.02555, allocations: 3.938 kB / 349.9 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.02606, allocations: 0.5548 MB / 350.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02606, allocations: 4 kB / 350.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.02633, allocations: 95.94 kB / 350.6 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.0265, allocations: 72.73 kB / 350.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.02652, allocations: 12 kB / 350.7 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.02786, allocations: 1.872 MB / 352.5 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02786, allocations: 0 / 352.5 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006433/0.02851, allocations: 0.655 MB / 353.2 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.02859, allocations: 63.55 kB / 353.3 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.02862, allocations: 15.94 kB / 353.3 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.02882, allocations: 39.97 kB / 353.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.02888, allocations: 31.94 kB / 353.3 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.0289, allocations: 20.11 kB / 353.4 MB, free: 2.137 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.02915, allocations: 338.9 kB / 353.7 MB, free: 1.809 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.02915, allocations: 0 / 353.7 MB, free: 1.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008144/0.02997, allocations: 251.4 kB / 353.9 MB, free: 1.562 MB / 314.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.0009331/0.0309, allocations: 1.226 MB / 355.2 MB, free: 316 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008239/0.03172, allocations: 0.5618 MB / 355.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03173, allocations: 0 / 355.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.032, allocations: 310.5 kB / 356 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.03243, allocations: 110.4 kB / 356.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.03747, allocations: 5.379 MB / 361.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.03768, allocations: 336 kB / 361.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.03788, allocations: 69.22 kB / 361.9 MB, free: 9.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.03809, allocations: 264.4 kB / 362.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.03809, allocations: 0 / 362.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.06936, allocations: 14.23 MB / 376.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.495, allocations: 7.797 kB / 376.4 MB, free: 10.95 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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] "" 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.426302961073816]