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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 105.1 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 196.1 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008866/0.0008866, allocations: 47.91 kB / 350.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3272, allocations: 49.44 MB / 400.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007731/0.335, allocations: 5.757 MB / 406 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.3378, allocations: 1.169 MB / 407.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009357/0.3387, allocations: 23.94 kB / 407.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.3394, allocations: 170.4 kB / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.3406, allocations: 273.5 kB / 407.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.3414, allocations: 227.6 kB / 407.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.3429, allocations: 1.06 MB / 408.9 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008429/0.3438, allocations: 0.5103 MB / 409.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005988/0.3444, allocations: 422.6 kB / 409.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008208/0.3452, allocations: 473.9 kB / 410.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003203/0.3456, allocations: 96 kB / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.3459, allocations: 96 kB / 410.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.3462, allocations: 219.3 kB / 410.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006621/0.3468, allocations: 0.5015 MB / 411.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.3482, allocations: 1.108 MB / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3482, allocations: 4 kB / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3482, allocations: 3.938 kB / 412.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.138e-05/0.3483, allocations: 0 / 412.4 MB, free: 12.66 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.002395/0.3507, allocations: 1.262 MB / 413.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3507, allocations: 12.03 kB / 413.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.3509, allocations: 152.1 kB / 413.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.3511, allocations: 112.3 kB / 413.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.3517, allocations: 459.4 kB / 414.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.3518, allocations: 78.36 kB / 414.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.3519, allocations: 92.33 kB / 414.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.3532, allocations: 0.8754 MB / 415.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.3533, allocations: 0 / 415.4 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.359e-05/0.3534, allocations: 40 kB / 415.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.3534, allocations: 24 kB / 415.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009671/0.3544, allocations: 0.5738 MB / 416 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.3586, allocations: 2.954 MB / 419 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.359, allocations: 298.5 kB / 419.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.3594, allocations: 272.7 kB / 419.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3594, allocations: 4 kB / 419.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3595, allocations: 38.56 kB / 419.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.555e-06/0.3595, allocations: 0 / 419.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001505/0.361, allocations: 0.6552 MB / 420.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3611, allocations: 59.34 kB / 420.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.3617, allocations: 0.5065 MB / 420.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.3617, allocations: 37.7 kB / 420.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.362, allocations: 0.4914 MB / 421.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/0.3621, allocations: 158.7 kB / 421.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.3623, allocations: 142.5 kB / 421.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3625, allocations: 366.8 kB / 422 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.3627, allocations: 169.9 kB / 422.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.3633, allocations: 449.6 kB / 422.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/0.364, allocations: 0.644 MB / 423.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.364, allocations: 7.938 kB / 423.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001209/0.3653, allocations: 0.7613 MB / 424 MB, free: 432 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3653, allocations: 12.06 kB / 424 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3653, allocations: 19.98 kB / 424 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.3656, allocations: 84.69 kB / 424.1 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.3663, allocations: 191.7 kB / 424.3 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.3682, allocations: 2.018 MB / 426.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.3687, allocations: 87.36 kB / 426.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.3688, allocations: 39.94 kB / 426.4 MB, free: 13.83 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.0002942/0.3691, allocations: 213.5 kB / 426.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.3692, allocations: 67.72 kB / 426.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/0.3693, allocations: 61.52 kB / 426.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3693, allocations: 4 kB / 426.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3693, allocations: 8 kB / 426.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3693, allocations: 3.984 kB / 426.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007858/0.3701, allocations: 0.6337 MB / 427.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.3701, allocations: 3.984 kB / 427.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.3705, allocations: 99.88 kB / 427.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.3708, allocations: 73.08 kB / 427.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.3708, allocations: 11.94 kB / 427.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.3725, allocations: 1.986 MB / 429.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3726, allocations: 4.062 kB / 429.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009152/0.3735, allocations: 0.6661 MB / 430.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.3737, allocations: 136.7 kB / 430.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.3737, allocations: 7.984 kB / 430.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3741, allocations: 47.97 kB / 430.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.3742, allocations: 27.97 kB / 430.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3743, allocations: 15.98 kB / 430.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003836/0.3746, allocations: 342.9 kB / 430.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3747, allocations: 4 kB / 430.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008416/0.3755, allocations: 247.4 kB / 431.1 MB, free: 8.957 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,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.001278/0.3768, allocations: 1.229 MB / 432.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3779, allocations: 0.5857 MB / 432.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3779, allocations: 0 / 432.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.3784, allocations: 326.2 kB / 433.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.379, allocations: 123.1 kB / 433.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/0.3858, allocations: 5.489 MB / 438.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.3863, allocations: 0.9376 MB / 439.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.3866, allocations: 69.22 kB / 439.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.3869, allocations: 267.3 kB / 440.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3869, allocations: 0 / 440.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.4264, allocations: 12.81 MB / 452.9 MB, free: 2.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.75, allocations: 7.203 kB / 452.9 MB, free: 2.895 MB / 366.1 MB (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.024 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) 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) Reference file matches