Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001565, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007809/0.000781, allocations: 94.36 kB / 262.5 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.795e-05, allocations: 7.984 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09348, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.437, allocations: 76.62 MB / 439.7 MB, free: 3.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.4372, allocations: 68.91 kB / 439.8 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.4486, allocations: 4.642 MB / 444.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4486, allocations: 4 kB / 444.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.4487, allocations: 4 kB / 444.4 MB, free: 15.09 MB / 330.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.000592/0.4493, allocations: 0.5213 MB / 444.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4493, allocations: 8.031 kB / 444.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.4494, allocations: 31.62 kB / 445 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.4496, allocations: 256.9 kB / 445.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4496, allocations: 8 kB / 445.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.4497, allocations: 16 kB / 445.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002612/0.45, allocations: 156.7 kB / 445.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.4503, allocations: 197.3 kB / 445.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4503, allocations: 0 / 445.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.4503, allocations: 0 / 445.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.4503, allocations: 8 kB / 445.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4516, allocations: 0.9721 MB / 446.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.4519, allocations: 310.8 kB / 446.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.4523, allocations: 176.6 kB / 447 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.4523, allocations: 4.188 kB / 447 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.4523, allocations: 40.58 kB / 447.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.4523, allocations: 0 / 447.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009784/0.4533, allocations: 0.6456 MB / 447.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4533, allocations: 55.41 kB / 447.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.4535, allocations: 160 kB / 447.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.4535, allocations: 25.7 kB / 448 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.4536, allocations: 170.9 kB / 448.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.4537, allocations: 84.72 kB / 448.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.4537, allocations: 0 / 448.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4538, allocations: 336.8 kB / 448.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.4539, allocations: 57.31 kB / 448.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.454, allocations: 87.11 kB / 448.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.4541, allocations: 71.64 kB / 448.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4541, allocations: 0 / 448.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003846/0.4545, allocations: 278.7 kB / 449 MB, free: 10.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4545, allocations: 11.95 kB / 449 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4545, allocations: 160 / 449 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.4547, allocations: 75.06 kB / 449.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4549, allocations: 43.92 kB / 449.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.4565, allocations: 1.801 MB / 451 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4566, allocations: 8.016 kB / 451 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.4566, allocations: 11.23 kB / 451 MB, free: 9.074 MB / 330.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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/0.4567, allocations: 116.9 kB / 451.1 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.4568, allocations: 19.75 kB / 451.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.4568, allocations: 27.16 kB / 451.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4568, allocations: 4 kB / 451.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4568, allocations: 3.984 kB / 451.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.4569, allocations: 0 / 451.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.4577, allocations: 0.6602 MB / 451.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4577, allocations: 0 / 451.8 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.4579, allocations: 39.97 kB / 451.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.458, allocations: 63.62 kB / 451.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4581, allocations: 6.75 kB / 451.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.4595, allocations: 1.72 MB / 453.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4595, allocations: 3.953 kB / 453.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.46, allocations: 418.4 kB / 454 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.46, allocations: 92.91 kB / 454.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4601, allocations: 8 kB / 454.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.4602, allocations: 8 kB / 454.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.4603, allocations: 19.92 kB / 454.2 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4603, allocations: 15.23 kB / 454.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.385e-05/0.4604, allocations: 129.9 kB / 454.3 MB, free: 6 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4604, allocations: 0 / 454.3 MB, free: 6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.4608, allocations: 68 kB / 454.4 MB, free: 5.934 MB / 330.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.0001481/0.4609, allocations: 111.1 kB / 454.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.4614, allocations: 318.8 kB / 454.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4614, allocations: 3.938 kB / 454.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.4618, allocations: 236 kB / 455 MB, free: 5.352 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.462, allocations: 30.81 kB / 455.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.4629, allocations: 0.6129 MB / 455.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.4633, allocations: 0.7717 MB / 456.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.962e-05/0.4634, allocations: 18.08 kB / 456.5 MB, free: 3.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.4634, allocations: 19.44 kB / 456.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4634, allocations: 0 / 456.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of Templates: time 0.005235/0.4687, allocations: 2.615 MB / 459.1 MB, free: 1.285 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches