Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002673/0.002673, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.75/3.75, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 98.84 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.0006831, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1518, allocations: 47.59 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.01414/0.1661, allocations: 4.509 MB / 379.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.1714, allocations: 1.236 MB / 380.3 MB, free: 9.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.1729, allocations: 19.94 kB / 380.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008481/0.1738, allocations: 123.1 kB / 380.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.1762, allocations: 327 kB / 380.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1776, allocations: 171.8 kB / 380.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.1805, allocations: 0.7231 MB / 381.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.1822, allocations: 404.2 kB / 382 MB, free: 7.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1833, allocations: 338.8 kB / 382.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.1845, allocations: 382.2 kB / 382.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.1849, allocations: 52 kB / 382.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1854, allocations: 52 kB / 382.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.1857, allocations: 151.4 kB / 383 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000502/0.1863, allocations: 205.1 kB / 383.2 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.1884, allocations: 0.7986 MB / 384 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1885, allocations: 4 kB / 384 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.1885, allocations: 0 / 384 MB, free: 5.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.1886, allocations: 0 / 384 MB, free: 5.918 MB / 282.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.004615/0.1932, allocations: 1.084 MB / 385.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.1933, allocations: 12.03 kB / 385.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.1939, allocations: 106.8 kB / 385.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1956, allocations: 446.1 kB / 385.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.1958, allocations: 70 kB / 385.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.1961, allocations: 92 kB / 385.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003832/0.2, allocations: 0.8518 MB / 386.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/0.2001, allocations: 0 / 386.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.2003, allocations: 48 kB / 386.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.246e-05/0.2004, allocations: 20 kB / 386.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.2035, allocations: 0.5661 MB / 387.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4095/0.613, allocations: 2.978 MB / 390.2 MB, free: 19.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.6142, allocations: 297.2 kB / 390.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.6143, allocations: 8.562 kB / 390.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.6144, allocations: 39.27 kB / 390.6 MB, free: 19.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 4.428e-06/0.6144, allocations: 0 / 390.6 MB, free: 19.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.003643/0.618, allocations: 0.6573 MB / 391.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.6182, allocations: 58.41 kB / 391.3 MB, free: 19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.6198, allocations: 0.5029 MB / 391.8 MB, free: 18.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.62, allocations: 40.16 kB / 391.8 MB, free: 18.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.6206, allocations: 0.519 MB / 392.4 MB, free: 18.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.621, allocations: 159.2 kB / 392.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.6211, allocations: 12.81 kB / 392.5 MB, free: 18.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6212, allocations: 340.9 kB / 392.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.6221, allocations: 171.4 kB / 393 MB, free: 18.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.6232, allocations: 448.1 kB / 393.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009994/0.6242, allocations: 241.7 kB / 393.7 MB, free: 17.55 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/0.6243, allocations: 6.547 kB / 393.7 MB, free: 17.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00441/0.6287, allocations: 0.7253 MB / 394.4 MB, free: 17.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.6288, allocations: 14.86 kB / 394.4 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.579e-05/0.6289, allocations: 9.125 kB / 394.5 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.6295, allocations: 86.02 kB / 394.5 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.6312, allocations: 200.3 kB / 394.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.6349, allocations: 1.818 MB / 396.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.6364, allocations: 86.64 kB / 396.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.6366, allocations: 41.14 kB / 396.7 MB, free: 15.5 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007668/0.6374, allocations: 215.4 kB / 396.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.6377, allocations: 63.02 kB / 397 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.638, allocations: 69.98 kB / 397 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.638, allocations: 4.406 kB / 397 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.7e-05/0.638, allocations: 2.734 kB / 397 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6381, allocations: 3.641 kB / 397 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.6401, allocations: 0.6442 MB / 397.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.6401, allocations: 0 / 397.7 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.6414, allocations: 107.7 kB / 397.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/0.642, allocations: 69.03 kB / 397.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/0.6421, allocations: 10.73 kB / 397.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/0.6453, allocations: 1.802 MB / 399.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6454, allocations: 4.062 kB / 399.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.648, allocations: 0.6679 MB / 400.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.6484, allocations: 135.6 kB / 400.5 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.6486, allocations: 7.297 kB / 400.5 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.6499, allocations: 55.12 kB / 400.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.6501, allocations: 28.11 kB / 400.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.6503, allocations: 14.83 kB / 400.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.6513, allocations: 339.4 kB / 400.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.6513, allocations: 0 / 400.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002421/0.6538, allocations: 252.9 kB / 401.1 MB, free: 12.49 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/0.6542, allocations: 117.3 kB / 401.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.6567, allocations: 0.5931 MB / 401.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.6568, allocations: 3.969 kB / 401.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.6581, allocations: 316.1 kB / 402.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.6597, allocations: 103.7 kB / 402.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00536/0.6651, allocations: 1.787 MB / 404.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/0.6661, allocations: 0.9469 MB / 405 MB, free: 9.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.6664, allocations: 48.78 kB / 405 MB, free: 9.973 MB / 282.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6664, allocations: 0 / 405 MB, free: 9.973 MB / 282.7 MB Notification: Performance of Templates: time 0.03626/0.7027, allocations: 10.65 MB / 415.7 MB, free: 5.398 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches