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.00132/0.00132, allocations: 109 kB / 16.51 MB, free: 6.707 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.001508/0.001508, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.525/1.525, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 51.17 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1403, allocations: 49.44 MB / 349.5 MB, free: 4.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007164/0.1475, allocations: 5.757 MB / 355.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1506, allocations: 1.165 MB / 356.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1517, allocations: 23.94 kB / 356.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007642/0.1525, allocations: 127 kB / 356.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.1539, allocations: 230.1 kB / 356.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008121/0.1547, allocations: 191.8 kB / 357 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1563, allocations: 1.021 MB / 358 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.1572, allocations: 452.6 kB / 358.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00066/0.1578, allocations: 386.6 kB / 358.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008377/0.1587, allocations: 462 kB / 359.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.159, allocations: 72 kB / 359.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.1592, allocations: 76 kB / 359.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.1594, allocations: 191.2 kB / 359.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004774/0.1599, allocations: 489.6 kB / 360.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008653/0.1608, allocations: 1.059 MB / 361.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1608, allocations: 4 kB / 361.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1608, allocations: 0 / 361.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1608, allocations: 0 / 361.1 MB, free: 9.031 MB / 302.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.001901/0.1627, allocations: 1.24 MB / 362.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.1628, allocations: 15.97 kB / 362.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.163, allocations: 144.1 kB / 362.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1631, allocations: 107.7 kB / 362.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.1636, allocations: 455 kB / 363.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.1637, allocations: 74.38 kB / 363.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1638, allocations: 88.38 kB / 363.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.1652, allocations: 0.8754 MB / 364.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1652, allocations: 0 / 364.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.1653, allocations: 40 kB / 364.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.1653, allocations: 24 kB / 364.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.1663, allocations: 0.5739 MB / 364.8 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.1704, allocations: 2.96 MB / 367.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.1708, allocations: 290.4 kB / 368 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.1712, allocations: 268.8 kB / 368.3 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.1712, allocations: 4 kB / 368.3 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1713, allocations: 42.55 kB / 368.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.1713, allocations: 4 kB / 368.3 MB, free: 1.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001465/0.1728, allocations: 0.647 MB / 369 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1728, allocations: 67.33 kB / 369 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005461/0.1734, allocations: 0.5104 MB / 369.5 MB, free: 336 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.1734, allocations: 29.7 kB / 369.6 MB, free: 300 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2502/0.4236, allocations: 486.8 kB / 370 MB, free: 25.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/0.4239, allocations: 153.1 kB / 370.2 MB, free: 25.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.4242, allocations: 134.8 kB / 370.3 MB, free: 25.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4244, allocations: 367.8 kB / 370.7 MB, free: 24.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.4248, allocations: 170.1 kB / 370.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.4254, allocations: 456.1 kB / 371.3 MB, free: 24.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/0.4261, allocations: 0.6452 MB / 371.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.4262, allocations: 1.656 kB / 371.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001511/0.4277, allocations: 0.7614 MB / 372.7 MB, free: 23.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.4277, allocations: 7.688 kB / 372.7 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.4277, allocations: 9.812 kB / 372.7 MB, free: 23.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.4281, allocations: 85.23 kB / 372.8 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.4289, allocations: 208 kB / 373 MB, free: 23.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.431, allocations: 1.802 MB / 374.8 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.4315, allocations: 86.17 kB / 374.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.4316, allocations: 36.78 kB / 374.9 MB, free: 22.26 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.0003515/0.4319, allocations: 223.7 kB / 375.2 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.432, allocations: 58.62 kB / 375.2 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.4321, allocations: 62.41 kB / 375.3 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4321, allocations: 4.125 kB / 375.3 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.4322, allocations: 1.375 kB / 375.3 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4322, allocations: 3.391 kB / 375.3 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.433, allocations: 0.6451 MB / 375.9 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.433, allocations: 8.594 kB / 375.9 MB, free: 21.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.4335, allocations: 100.7 kB / 376 MB, free: 21.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.4337, allocations: 66.47 kB / 376.1 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.4337, allocations: 11.5 kB / 376.1 MB, free: 21.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.4353, allocations: 1.797 MB / 377.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4353, allocations: 1.75 kB / 377.9 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4365, allocations: 0.6554 MB / 378.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.4366, allocations: 142.8 kB / 378.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.4367, allocations: 7.547 kB / 378.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.4371, allocations: 48.47 kB / 378.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4372, allocations: 35.73 kB / 378.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.4373, allocations: 9.922 kB / 378.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005834/0.4379, allocations: 348.2 kB / 379.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4379, allocations: 0 / 379.1 MB, free: 19.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001161/0.439, allocations: 249.3 kB / 379.4 MB, free: 19.25 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.001609/0.4407, allocations: 1.215 MB / 380.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.4421, allocations: 0.5899 MB / 381.2 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4422, allocations: 0.9688 kB / 381.2 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.4427, allocations: 319.4 kB / 381.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.4435, allocations: 112.6 kB / 381.6 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/0.4514, allocations: 5.978 MB / 387.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.4521, allocations: 0.9299 MB / 388.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.4525, allocations: 70.52 kB / 388.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.4529, allocations: 265.4 kB / 388.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4529, allocations: 0 / 388.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.482, allocations: 12.11 MB / 401 MB, free: 6.258 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.4822, allocations: 231.9 kB / 401.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.884, allocations: 4.062 kB / 401.2 MB, free: 6 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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