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.001171/0.001171, allocations: 106.7 kB / 16.62 MB, free: 6.812 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.001528/0.001529, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.553/1.553, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 47.8 kB / 300.2 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 49.43 MB / 349.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00826/0.1412, allocations: 5.765 MB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.1446, allocations: 1.161 MB / 356.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.1461, allocations: 19.94 kB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009415/0.1471, allocations: 127 kB / 356.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.1489, allocations: 238 kB / 357 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1499, allocations: 187.8 kB / 357.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.1521, allocations: 1.06 MB / 358.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1532, allocations: 0.5219 MB / 358.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009382/0.1542, allocations: 414.6 kB / 359.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.1553, allocations: 469.9 kB / 359.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.1557, allocations: 104 kB / 359.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.1561, allocations: 96 kB / 359.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.1564, allocations: 223.3 kB / 360 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007867/0.1572, allocations: 0.5016 MB / 360.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.1586, allocations: 1.094 MB / 361.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1586, allocations: 0 / 361.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1586, allocations: 0 / 361.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.174e-05/0.1587, allocations: 0 / 361.6 MB, free: 8.426 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.002744/0.1614, allocations: 1.232 MB / 362.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.1615, allocations: 8.031 kB / 362.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.1617, allocations: 148.1 kB / 363 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.1619, allocations: 107.7 kB / 363.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006356/0.1625, allocations: 459 kB / 363.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/0.1626, allocations: 66.38 kB / 363.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.1627, allocations: 96.38 kB / 363.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.1641, allocations: 0.8754 MB / 364.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1641, allocations: 0 / 364.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.1642, allocations: 44 kB / 364.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.1642, allocations: 20 kB / 364.7 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.1652, allocations: 0.57 MB / 365.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004469/0.1696, allocations: 2.964 MB / 368.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.1702, allocations: 290.5 kB / 368.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.1706, allocations: 272.7 kB / 368.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.1706, allocations: 4 kB / 368.7 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1707, allocations: 42.56 kB / 368.8 MB, free: 1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.806e-06/0.1707, allocations: 3.938 kB / 368.8 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001518/0.1722, allocations: 0.6509 MB / 369.4 MB, free: 324 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.1723, allocations: 59.34 kB / 369.5 MB, free: 252 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2519/0.4241, allocations: 0.5012 MB / 370 MB, free: 25.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.4244, allocations: 36.86 kB / 370 MB, free: 25.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.4249, allocations: 491.5 kB / 370.5 MB, free: 25.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/0.4252, allocations: 156.5 kB / 370.7 MB, free: 25.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.4255, allocations: 134.2 kB / 370.8 MB, free: 25.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4257, allocations: 366.8 kB / 371.2 MB, free: 25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.4263, allocations: 170.6 kB / 371.3 MB, free: 24.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007608/0.4271, allocations: 455.9 kB / 371.8 MB, free: 24.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.4282, allocations: 0.6522 MB / 372.4 MB, free: 24.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/0.4283, allocations: 2.562 kB / 372.4 MB, free: 24.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002206/0.4305, allocations: 0.758 MB / 373.2 MB, free: 23.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.4306, allocations: 8.156 kB / 373.2 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.4306, allocations: 12.8 kB / 373.2 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.4311, allocations: 88.83 kB / 373.3 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/0.432, allocations: 198.9 kB / 373.5 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.4345, allocations: 1.996 MB / 375.5 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.4351, allocations: 94.08 kB / 375.6 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.4352, allocations: 32.09 kB / 375.6 MB, free: 21.79 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.00036/0.4355, allocations: 211.4 kB / 375.8 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4357, allocations: 58.36 kB / 375.9 MB, free: 21.58 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.4358, allocations: 62.3 kB / 375.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4358, allocations: 4.5 kB / 375.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.4358, allocations: 6.531 kB / 375.9 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4358, allocations: 6.297 kB / 375.9 MB, free: 21.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.4371, allocations: 0.6478 MB / 376.6 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4371, allocations: 3.938 kB / 376.6 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.4377, allocations: 97.61 kB / 376.7 MB, free: 21.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/0.438, allocations: 75.64 kB / 376.8 MB, free: 21.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.438, allocations: 15.42 kB / 376.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.4404, allocations: 1.979 MB / 378.8 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4404, allocations: 0 / 378.8 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.4416, allocations: 0.6628 MB / 379.4 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.4418, allocations: 132 kB / 379.5 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.4419, allocations: 10.75 kB / 379.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.4423, allocations: 44.98 kB / 379.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.4425, allocations: 27.67 kB / 379.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.4425, allocations: 14.19 kB / 379.6 MB, free: 18.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005337/0.4431, allocations: 351.9 kB / 380 MB, free: 18.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4431, allocations: 0 / 380 MB, free: 18.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001038/0.4441, allocations: 248.7 kB / 380.2 MB, free: 18.61 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.001386/0.4455, allocations: 1.215 MB / 381.4 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.447, allocations: 0.6107 MB / 382.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.447, allocations: 5.5 kB / 382.1 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.4476, allocations: 320.1 kB / 382.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.4484, allocations: 122.2 kB / 382.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009813/0.4582, allocations: 5.978 MB / 388.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.4593, allocations: 0.9314 MB / 389.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005711/0.46, allocations: 70 kB / 389.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.4604, allocations: 262.4 kB / 389.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of SimCode: time 1.733e-06/0.4605, allocations: 0 / 389.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04257/0.503, allocations: 12.46 MB / 402.2 MB, free: 5.176 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/0.5034, allocations: 226.8 kB / 402.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.791, allocations: 0 / 402.4 MB, free: 4.922 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