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.001448/0.001447, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001132/0.001132, allocations: 99.33 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4421, allocations: 78.82 MB / 453.4 MB, free: 1.949 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4424, allocations: 75.91 kB / 453.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05223/0.4947, allocations: 12.8 MB / 466.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4948, allocations: 4 kB / 466.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.811e-05/0.4948, allocations: 20 kB / 466.2 MB, free: 5.004 MB / 346.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.002774/0.4976, allocations: 1.068 MB / 467.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4977, allocations: 8.031 kB / 467.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.4979, allocations: 110.7 kB / 467.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.4988, allocations: 434.1 kB / 467.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.4989, allocations: 78 kB / 467.9 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.4991, allocations: 88 kB / 468 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.5012, allocations: 0.8596 MB / 468.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.5013, allocations: 3.938 kB / 468.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.5014, allocations: 40 kB / 468.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.5014, allocations: 24 kB / 468.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.5032, allocations: 0.5738 MB / 469.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007063/0.5103, allocations: 2.996 MB / 472.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.5111, allocations: 299.8 kB / 472.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.5111, allocations: 4 kB / 472.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.5112, allocations: 42.56 kB / 472.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.877e-06/0.5112, allocations: 0 / 472.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002354/0.5136, allocations: 0.6432 MB / 473.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.5136, allocations: 63.41 kB / 473.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.5144, allocations: 461.7 kB / 474 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.5145, allocations: 37.7 kB / 474 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.5149, allocations: 0.5156 MB / 474.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.5151, allocations: 153.9 kB / 474.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.5151, allocations: 16 kB / 474.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5153, allocations: 338.8 kB / 475.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.5158, allocations: 169.9 kB / 475.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.5165, allocations: 449.6 kB / 475.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/0.5172, allocations: 238 kB / 475.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.5172, allocations: 4 kB / 475.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001889/0.5191, allocations: 0.7262 MB / 476.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.5191, allocations: 8 kB / 476.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.5192, allocations: 11.94 kB / 476.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004394/0.5196, allocations: 88.97 kB / 476.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.5209, allocations: 195.7 kB / 476.9 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.5236, allocations: 1.846 MB / 478.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/0.5245, allocations: 87.12 kB / 478.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.5246, allocations: 32 kB / 478.9 MB, free: 7.766 MB / 362.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.0004694/0.5251, allocations: 218 kB / 479.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.5252, allocations: 59.25 kB / 479.2 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.5254, allocations: 65.5 kB / 479.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5254, allocations: 4 kB / 479.2 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5254, allocations: 3.953 kB / 479.2 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5254, allocations: 3.984 kB / 479.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.5265, allocations: 0.6377 MB / 479.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5266, allocations: 0 / 479.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.5274, allocations: 103.9 kB / 480 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.5278, allocations: 68.81 kB / 480 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.5278, allocations: 11.98 kB / 480.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.5303, allocations: 1.82 MB / 481.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5304, allocations: 4.031 kB / 481.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.532, allocations: 0.6658 MB / 482.5 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.5322, allocations: 132.4 kB / 482.7 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5323, allocations: 8 kB / 482.7 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007507/0.5331, allocations: 55.92 kB / 482.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5332, allocations: 35.72 kB / 482.8 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.5333, allocations: 12 kB / 482.8 MB, free: 3.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000655/0.5339, allocations: 346.9 kB / 483.1 MB, free: 3.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.534, allocations: 0 / 483.1 MB, free: 3.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00113/0.5351, allocations: 255.1 kB / 483.4 MB, free: 3.055 MB / 362.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.0002095/0.5353, allocations: 107.2 kB / 483.5 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.5368, allocations: 0.5895 MB / 484.1 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5369, allocations: 0 / 484.1 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007475/0.5376, allocations: 318.3 kB / 484.4 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008045/0.5384, allocations: 114.8 kB / 484.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.5421, allocations: 1.787 MB / 486.3 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.5428, allocations: 0.9535 MB / 487.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.543, allocations: 43.44 kB / 487.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.543, allocations: 0 / 487.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of Templates: time 0.0214/0.5644, allocations: 10.64 MB / 497.9 MB, free: 4.422 MB / 378.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