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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 121.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.428, allocations: 50.54 MB / 409.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.008057/0.4362, allocations: 2.831 MB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.4387, allocations: 0.6427 MB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006245/0.4393, allocations: 4 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.4398, allocations: 51.5 kB / 412.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006371/0.4405, allocations: 95.17 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.441, allocations: 71.91 kB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009617/0.442, allocations: 362.8 kB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.4425, allocations: 139.4 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000383/0.4429, allocations: 127.5 kB / 413.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.4434, allocations: 151.4 kB / 413.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.4435, allocations: 32 kB / 413.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.4436, allocations: 28 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4437, allocations: 75.73 kB / 413.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.444, allocations: 167.2 kB / 414 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.4446, allocations: 359.9 kB / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4447, allocations: 0 / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4447, allocations: 0 / 414.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.4447, allocations: 0 / 414.4 MB, free: 12.48 MB / 334.1 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.001392/0.4461, allocations: 0.5887 MB / 414.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4462, allocations: 8.031 kB / 415 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.4463, allocations: 36.56 kB / 415 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/0.4469, allocations: 267.7 kB / 415.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.447, allocations: 20.94 kB / 415.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.447, allocations: 24.38 kB / 415.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.4477, allocations: 257.2 kB / 415.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4477, allocations: 0 / 415.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.4478, allocations: 8 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4478, allocations: 8 kB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.4483, allocations: 190.2 kB / 415.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.4507, allocations: 1.006 MB / 416.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.4512, allocations: 328.1 kB / 417.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.4515, allocations: 154.4 kB / 417.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4516, allocations: 0 / 417.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4516, allocations: 46.48 kB / 417.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.4516, allocations: 0 / 417.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.002076/0.4537, allocations: 0.7751 MB / 418 MB, free: 8.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4538, allocations: 55.41 kB / 418.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.4541, allocations: 203 kB / 418.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.4541, allocations: 25.7 kB / 418.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4542, allocations: 168.3 kB / 418.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.4544, allocations: 94.66 kB / 418.6 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.4545, allocations: 49.98 kB / 418.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4547, allocations: 330.8 kB / 419 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.4549, allocations: 68.53 kB / 419 MB, free: 7.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.4551, allocations: 104.2 kB / 419.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.4555, allocations: 182.2 kB / 419.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4555, allocations: 7.938 kB / 419.3 MB, free: 7.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006977/0.4562, allocations: 314 kB / 419.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4563, allocations: 8 kB / 419.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.4563, allocations: 0 / 419.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.4566, allocations: 92.77 kB / 419.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.4568, allocations: 39.98 kB / 419.8 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.4592, allocations: 2.084 MB / 421.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.4593, allocations: 11.97 kB / 421.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.4593, allocations: 12 kB / 421.9 MB, free: 4.492 MB / 334.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.4595, allocations: 149.8 kB / 422 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.4596, allocations: 19.72 kB / 422 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.4596, allocations: 29.86 kB / 422.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4596, allocations: 4 kB / 422.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4596, allocations: 0 / 422.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4597, allocations: 3.938 kB / 422.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.4607, allocations: 0.7449 MB / 422.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4608, allocations: 0 / 422.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.461, allocations: 39.91 kB / 422.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.4612, allocations: 64.81 kB / 422.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.4612, allocations: 15.98 kB / 422.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.463, allocations: 1.987 MB / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.463, allocations: 0 / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.4639, allocations: 460.3 kB / 425.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.464, allocations: 100.9 kB / 425.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.4641, allocations: 4 kB / 425.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.4643, allocations: 11.98 kB / 425.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.4644, allocations: 19.97 kB / 425.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.4644, allocations: 8 kB / 425.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.4646, allocations: 144.4 kB / 425.6 MB, free: 468 kB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4646, allocations: 0 / 425.6 MB, free: 468 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006134/0.4652, allocations: 80 kB / 425.7 MB, free: 388 kB / 334.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.4654, allocations: 106.8 kB / 425.8 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009786/0.4664, allocations: 378.8 kB / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.006e-06/0.4665, allocations: 0 / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.4671, allocations: 258.5 kB / 426.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.4676, allocations: 44.53 kB / 426.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4695, allocations: 0.7778 MB / 427.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.47, allocations: 0.7635 MB / 428 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.4701, allocations: 26.22 kB / 428.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.4702, allocations: 23.44 kB / 428.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4702, allocations: 0 / 428.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Templates: time 0.01055/0.4808, allocations: 3.242 MB / 431.3 MB, free: 10.71 MB / 350.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches