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.00129/0.00129, allocations: 76.08 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.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.001361/0.001361, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8765/0.8765, allocations: 173.4 MB / 200.4 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.462e-06/1.462e-06, allocations: 0 / 318.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.201e-05, allocations: 2.281 kB / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004092/0.004104, allocations: 5.057 MB / 323.5 MB, free: 1.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.006338, allocations: 1.149 MB / 324.7 MB, free: 84 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.006772, allocations: 27.94 kB / 324.7 MB, free: 56 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.007142, allocations: 166.4 kB / 324.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006809/0.007823, allocations: 297.2 kB / 325.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.008337, allocations: 227.6 kB / 325.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.009353, allocations: 1.11 MB / 326.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.009974, allocations: 379 kB / 326.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.01064, allocations: 0.6316 MB / 327.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.01111, allocations: 342.9 kB / 327.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.01124, allocations: 96 kB / 327.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.01138, allocations: 96 kB / 328 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.01153, allocations: 219.2 kB / 328.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.01178, allocations: 371.1 kB / 328.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.01291, allocations: 1.121 MB / 329.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01291, allocations: 4 kB / 329.7 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01291, allocations: 0 / 329.7 MB, free: 11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01292, allocations: 0 / 329.7 MB, free: 11 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.001198/0.01412, allocations: 1.171 MB / 330.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.01416, allocations: 12.92 kB / 330.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.01428, allocations: 148.1 kB / 331.1 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.01438, allocations: 104.3 kB / 331.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.01483, allocations: 404.8 kB / 331.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.01487, allocations: 70.38 kB / 331.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.01495, allocations: 100.3 kB / 331.7 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.01586, allocations: 1.144 MB / 332.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01588, allocations: 4.188 kB / 332.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.01592, allocations: 40.12 kB / 332.9 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.01594, allocations: 24 kB / 332.9 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.01658, allocations: 0.5738 MB / 333.5 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.01929, allocations: 2.675 MB / 336.2 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.01958, allocations: 258.5 kB / 336.4 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.01981, allocations: 230.6 kB / 336.7 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01983, allocations: 7.938 kB / 336.7 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.01986, allocations: 42.34 kB / 336.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.513e-06/0.01986, allocations: 0 / 336.7 MB, free: 3.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008757/0.02074, allocations: 0.5753 MB / 337.3 MB, free: 3.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.02077, allocations: 55.41 kB / 337.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.02112, allocations: 0.522 MB / 337.9 MB, free: 2.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.02115, allocations: 37.7 kB / 337.9 MB, free: 2.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.02134, allocations: 0.4952 MB / 338.4 MB, free: 2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/0.02142, allocations: 154.7 kB / 338.5 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.02154, allocations: 138.6 kB / 338.7 MB, free: 1.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.02165, allocations: 374.7 kB / 339 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.02183, allocations: 173.9 kB / 339.2 MB, free: 1.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.02214, allocations: 453.5 kB / 339.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.02264, allocations: 0.6433 MB / 340.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.02265, allocations: 0 / 340.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007105/0.02336, allocations: 0.7555 MB / 341.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.02338, allocations: 15.92 kB / 341.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.02339, allocations: 12 kB / 341.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.02359, allocations: 89.31 kB / 341.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.02394, allocations: 187.7 kB / 341.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.02551, allocations: 1.887 MB / 343.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.02574, allocations: 87.36 kB / 343.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.02577, allocations: 36 kB / 343.4 MB, free: 12.62 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.0001751/0.02594, allocations: 217.5 kB / 343.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.026, allocations: 63.91 kB / 343.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.02605, allocations: 65.56 kB / 343.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02605, allocations: 4 kB / 343.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.02606, allocations: 3.938 kB / 343.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02606, allocations: 7.984 kB / 343.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.02649, allocations: 0.5509 MB / 344.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.0265, allocations: 3.984 kB / 344.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.02671, allocations: 103.9 kB / 344.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.02683, allocations: 72.8 kB / 344.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.02685, allocations: 8 kB / 344.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.02802, allocations: 1.867 MB / 346.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.02802, allocations: 3.938 kB / 346.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.02868, allocations: 0.6625 MB / 347 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.02874, allocations: 63.55 kB / 347 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.02877, allocations: 8 kB / 347.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.02896, allocations: 48.31 kB / 347.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.02901, allocations: 35.72 kB / 347.1 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.02903, allocations: 8 kB / 347.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002421/0.02927, allocations: 350.8 kB / 347.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02927, allocations: 0 / 347.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004673/0.02974, allocations: 251.4 kB / 347.7 MB, free: 8.066 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.0008447/0.03058, allocations: 1.21 MB / 348.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.03128, allocations: 0.5568 MB / 349.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.03128, allocations: 1.875 kB / 349.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.03191, allocations: 306.1 kB / 349.8 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.03233, allocations: 125.9 kB / 349.9 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.03675, allocations: 5.378 MB / 355.3 MB, free: 96 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.03696, allocations: 340 kB / 355.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.03712, allocations: 73.2 kB / 355.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.03733, allocations: 264.4 kB / 356 MB, free: 15.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03733, allocations: 0 / 356 MB, free: 15.4 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.06383, allocations: 14.21 MB / 370.2 MB, free: 1.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/7.706, allocations: 5.734 kB / 370.2 MB, free: 1.461 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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] "" 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.55564677901566]