Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_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.001742/0.001742, allocations: 104.5 kB / 17.59 MB, free: 5.441 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.001939/0.001939, allocations: 191.9 kB / 18.51 MB, free: 4.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00173/0.001731, allocations: 56.14 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1041, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00686/0.111, allocations: 5.708 MB / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.1139, allocations: 1.201 MB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.1149, allocations: 19.94 kB / 334.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007515/0.1157, allocations: 166.4 kB / 334.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.117, allocations: 285.4 kB / 334.7 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.1178, allocations: 215.7 kB / 335 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001619/0.1195, allocations: 1.064 MB / 336 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009006/0.1204, allocations: 0.5103 MB / 336.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.1211, allocations: 410.6 kB / 336.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.1218, allocations: 481.9 kB / 337.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.1221, allocations: 96 kB / 337.5 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.1224, allocations: 96 kB / 337.6 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.1226, allocations: 219.2 kB / 337.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.1233, allocations: 0.5015 MB / 338.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1243, allocations: 1.094 MB / 339.4 MB, free: 8.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1244, allocations: 0 / 339.4 MB, free: 8.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1244, allocations: 0 / 339.4 MB, free: 8.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.1244, allocations: 4 kB / 339.4 MB, free: 8.277 MB / 286.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.001919/0.1263, allocations: 1.228 MB / 340.6 MB, free: 7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1264, allocations: 12.03 kB / 340.6 MB, free: 6.988 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.1265, allocations: 152.1 kB / 340.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1267, allocations: 103.7 kB / 340.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/0.1272, allocations: 455.1 kB / 341.3 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.1273, allocations: 70.38 kB / 341.4 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1274, allocations: 96.28 kB / 341.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1287, allocations: 0.8754 MB / 342.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.1287, allocations: 0 / 342.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.1288, allocations: 40 kB / 342.4 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1288, allocations: 24 kB / 342.4 MB, free: 5.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009654/0.1298, allocations: 0.57 MB / 343 MB, free: 4.543 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004207/0.134, allocations: 2.972 MB / 346 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.1344, allocations: 306.3 kB / 346.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.1348, allocations: 276.6 kB / 346.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1348, allocations: 4 kB / 346.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1348, allocations: 38.56 kB / 346.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 2.976e-06/0.1349, allocations: 0 / 346.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001418/0.1363, allocations: 0.6511 MB / 347.2 MB, free: 140 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1363, allocations: 59.34 kB / 347.3 MB, free: 68 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.1369, allocations: 0.5025 MB / 347.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.1369, allocations: 37.7 kB / 347.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.1372, allocations: 485.5 kB / 348.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1373, allocations: 161.8 kB / 348.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.1375, allocations: 138.5 kB / 348.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1376, allocations: 362.8 kB / 349 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.138, allocations: 169.9 kB / 349.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.1384, allocations: 457.6 kB / 349.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/0.1391, allocations: 0.6478 MB / 350.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1391, allocations: 4 kB / 350.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001128/0.1403, allocations: 0.7611 MB / 351 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1403, allocations: 8 kB / 351 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1403, allocations: 12.03 kB / 351 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.1406, allocations: 80.81 kB / 351.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.1413, allocations: 191.7 kB / 351.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.1432, allocations: 2.014 MB / 353.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.1437, allocations: 87.06 kB / 353.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.1438, allocations: 39.94 kB / 353.4 MB, free: 9.512 MB / 302.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.0002788/0.144, allocations: 221.5 kB / 353.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.1441, allocations: 63.28 kB / 353.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.647e-05/0.1442, allocations: 61.8 kB / 353.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1443, allocations: 4 kB / 353.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.1443, allocations: 3.984 kB / 353.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.1443, allocations: 3.938 kB / 353.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.145, allocations: 0.6453 MB / 354.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.145, allocations: 0 / 354.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.1454, allocations: 107.9 kB / 354.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/0.1456, allocations: 68.8 kB / 354.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.1457, allocations: 8 kB / 354.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.1474, allocations: 1.975 MB / 356.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1474, allocations: 3.984 kB / 356.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009894/0.1484, allocations: 0.6697 MB / 357.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1485, allocations: 140.4 kB / 357.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.1486, allocations: 4 kB / 357.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.149, allocations: 43.97 kB / 357.4 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.1491, allocations: 32.25 kB / 357.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1491, allocations: 16.11 kB / 357.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003472/0.1495, allocations: 342.9 kB / 357.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.1495, allocations: 3.938 kB / 357.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000803/0.1503, allocations: 255.1 kB / 358 MB, free: 4.625 MB / 302.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.001197/0.1515, allocations: 1.214 MB / 359.3 MB, free: 3.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1526, allocations: 0.6034 MB / 359.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1526, allocations: 2 kB / 359.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.1531, allocations: 314.4 kB / 360.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.1537, allocations: 118.4 kB / 360.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/0.1608, allocations: 5.632 MB / 365.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.1614, allocations: 0.9259 MB / 366.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.1618, allocations: 69.22 kB / 366.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.1621, allocations: 267.3 kB / 367.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1621, allocations: 0 / 367.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.246/0.4081, allocations: 12.58 MB / 379.8 MB, free: 52.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.947/10.35, allocations: 6.484 kB / 379.8 MB, free: 52.93 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches