Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001606/0.001606, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 90.97 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.266e-05, allocations: 4 kB / 350.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 51.5 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.5243, allocations: 79.23 MB / 481.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.5246, allocations: 80.84 kB / 481.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01224/0.5368, allocations: 4.952 MB / 486.3 MB, free: 6 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5368, allocations: 0 / 486.3 MB, free: 6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.5369, allocations: 7.938 kB / 486.3 MB, free: 5.992 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007283/0.5376, allocations: 0.5217 MB / 486.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.5377, allocations: 8.031 kB / 486.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.5378, allocations: 31.62 kB / 486.9 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.5381, allocations: 247.5 kB / 487.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.5381, allocations: 23.88 kB / 487.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.5382, allocations: 26.56 kB / 487.2 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.5386, allocations: 236.5 kB / 487.4 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5386, allocations: 4 kB / 487.4 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.5386, allocations: 14.88 kB / 487.4 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5386, allocations: 8 kB / 487.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.5389, allocations: 164.2 kB / 487.6 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.5403, allocations: 1.026 MB / 488.6 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.5406, allocations: 327.9 kB / 488.9 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.541, allocations: 186.2 kB / 489.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.541, allocations: 192 / 489.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.541, allocations: 45.88 kB / 489.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.541, allocations: 0 / 489.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001089/0.5421, allocations: 0.6992 MB / 489.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.5422, allocations: 51.41 kB / 489.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.5423, allocations: 178.7 kB / 490.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5423, allocations: 28.95 kB / 490.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.5424, allocations: 166.2 kB / 490.3 MB, free: 2.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.5425, allocations: 91.22 kB / 490.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/0.5425, allocations: 3.062 kB / 490.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.5426, allocations: 335.9 kB / 490.7 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.5427, allocations: 64.59 kB / 490.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.5428, allocations: 88.91 kB / 490.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.5429, allocations: 76.41 kB / 490.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5429, allocations: 4 kB / 490.9 MB, free: 1.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004419/0.5433, allocations: 315.7 kB / 491.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5434, allocations: 4 kB / 491.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5434, allocations: 1 kB / 491.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.5436, allocations: 94.14 kB / 491.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.5438, allocations: 43.92 kB / 491.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.5454, allocations: 1.88 MB / 493.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.5456, allocations: 12.02 kB / 493.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.5456, allocations: 6.625 kB / 493.3 MB, free: 15.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.5457, allocations: 121 kB / 493.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.5458, allocations: 23.72 kB / 493.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.5458, allocations: 26.59 kB / 493.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5458, allocations: 3.984 kB / 493.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5458, allocations: 4 kB / 493.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5459, allocations: 0 / 493.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.5469, allocations: 0.7378 MB / 494.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5469, allocations: 0 / 494.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.5471, allocations: 39.97 kB / 494.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.5474, allocations: 74.62 kB / 494.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.5474, allocations: 4 kB / 494.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.549, allocations: 1.781 MB / 496.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.549, allocations: 4.094 kB / 496.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.5496, allocations: 447.8 kB / 496.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.5497, allocations: 92.88 kB / 496.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.5498, allocations: 9.109 kB / 496.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.5499, allocations: 16 kB / 496.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.55, allocations: 15.97 kB / 496.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.55, allocations: 12.75 kB / 496.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.5502, allocations: 136.5 kB / 496.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5502, allocations: 4 kB / 496.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004048/0.5506, allocations: 79.98 kB / 496.9 MB, free: 11.72 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,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0001764/0.5508, allocations: 107.1 kB / 497 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.5514, allocations: 352.8 kB / 497.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5514, allocations: 0 / 497.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.5518, allocations: 250.3 kB / 497.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.5521, allocations: 29.67 kB / 497.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5532, allocations: 0.6322 MB / 498.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.5536, allocations: 0.7713 MB / 499 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.227e-05/0.5537, allocations: 22.08 kB / 499 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.5537, allocations: 15.44 kB / 499 MB, free: 9.492 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5537, allocations: 0 / 499 MB, free: 9.492 MB / 362.7 MB Notification: Performance of Templates: time 0.006207/0.5599, allocations: 2.882 MB / 0.4901 GB, free: 6.68 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches