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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 241.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009563/0.0009562, allocations: 96.64 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004557, allocations: 8 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3644, allocations: 50.41 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.489, allocations: 80.17 MB / 482.9 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4893, allocations: 71.97 kB / 483 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03703/0.5264, allocations: 13.34 MB / 496.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5264, allocations: 0 / 496.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.105e-05/0.5265, allocations: 20 kB / 496.4 MB, free: 2.656 MB / 362.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.002411/0.5289, allocations: 1.056 MB / 497.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.529, allocations: 12.03 kB / 497.4 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/0.5293, allocations: 103.7 kB / 497.5 MB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000941/0.5303, allocations: 455.1 kB / 498 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.5304, allocations: 70.38 kB / 498 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.5306, allocations: 104.3 kB / 498.1 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.5323, allocations: 0.8642 MB / 499 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.5323, allocations: 4.188 kB / 499 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5324, allocations: 43.94 kB / 499 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5325, allocations: 24 kB / 499.1 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.5337, allocations: 0.57 MB / 499.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/0.5391, allocations: 2.999 MB / 0.4909 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.5396, allocations: 294.5 kB / 0.4911 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.5401, allocations: 272.7 kB / 0.4914 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.5402, allocations: 8 kB / 0.4914 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.5403, allocations: 35.25 kB / 0.4914 GB, free: 11.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.368e-06/0.5403, allocations: 0 / 0.4914 GB, free: 11.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.00179/0.5421, allocations: 0.6504 MB / 0.4921 GB, free: 10.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.5421, allocations: 55.41 kB / 0.4921 GB, free: 10.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.5429, allocations: 0.518 MB / 0.4926 GB, free: 10.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.543, allocations: 29.7 kB / 0.4927 GB, free: 10.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.5433, allocations: 485.6 kB / 0.4931 GB, free: 9.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.5435, allocations: 165.7 kB / 0.4933 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.5435, allocations: 16 kB / 0.4933 GB, free: 9.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5437, allocations: 370.7 kB / 0.4937 GB, free: 9.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.544, allocations: 169.9 kB / 0.4938 GB, free: 9.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.5446, allocations: 457.6 kB / 0.4943 GB, free: 8.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.5455, allocations: 0.6402 MB / 0.4949 GB, free: 7.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.5456, allocations: 4 kB / 0.4949 GB, free: 7.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001442/0.547, allocations: 0.7492 MB / 0.4956 GB, free: 6.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.547, allocations: 8 kB / 0.4956 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.5471, allocations: 12 kB / 0.4956 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.5474, allocations: 85.03 kB / 0.4957 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.5481, allocations: 199.7 kB / 0.4959 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.5503, allocations: 1.811 MB / 0.4977 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.551, allocations: 91.12 kB / 0.4978 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.5511, allocations: 32 kB / 0.4978 GB, free: 4.539 MB / 378.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.0004922/0.5516, allocations: 213.6 kB / 0.498 GB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.5518, allocations: 63.28 kB / 0.4981 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.5519, allocations: 57.52 kB / 0.4981 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.552, allocations: 4 kB / 0.4981 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.552, allocations: 4 kB / 0.4981 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.552, allocations: 7.984 kB / 0.4981 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.5531, allocations: 0.6452 MB / 0.4988 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.5531, allocations: 0 / 0.4988 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.5536, allocations: 103.9 kB / 0.4989 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003028/0.5539, allocations: 72.8 kB / 0.4989 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.554, allocations: 8 kB / 0.4989 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.5562, allocations: 1.797 MB / 0.5007 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5562, allocations: 3.938 kB / 0.5007 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5574, allocations: 0.6661 MB / 0.5013 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.5577, allocations: 132.4 kB / 0.5015 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.5577, allocations: 12 kB / 0.5015 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.5582, allocations: 47.97 kB / 0.5015 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5584, allocations: 35.89 kB / 0.5016 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.5584, allocations: 12 kB / 0.5016 GB, free: 440 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004673/0.5589, allocations: 342.9 kB / 0.5019 GB, free: 100 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5589, allocations: 0 / 0.5019 GB, free: 100 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.2703/0.8292, allocations: 244.7 kB / 0.5021 GB, free: 94.73 MB / 378.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.0003282/0.8296, allocations: 114.7 kB / 0.5022 GB, free: 94.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.8312, allocations: 0.594 MB / 0.5028 GB, free: 94.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8313, allocations: 3.391 kB / 0.5028 GB, free: 94.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.8319, allocations: 318.1 kB / 0.5031 GB, free: 94.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000989/0.8329, allocations: 117.2 kB / 0.5032 GB, free: 94.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.836, allocations: 1.753 MB / 0.505 GB, free: 93.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.8366, allocations: 0.9328 MB / 0.5059 GB, free: 92.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004898/0.8371, allocations: 68.8 kB / 0.5059 GB, free: 92.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.8373, allocations: 39.12 kB / 0.506 GB, free: 92.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.905e-06/0.8373, allocations: 0.5 kB / 0.506 GB, free: 92.77 MB / 378.7 MB Notification: Performance of Templates: time 0.015/0.8523, allocations: 6.652 MB / 0.5125 GB, free: 92.42 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches