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.001163/0.001162, allocations: 118.1 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.00123/0.00123, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3385, allocations: 50.55 MB / 409.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004112/0.3427, allocations: 2.834 MB / 412.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.344, allocations: 0.6427 MB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.3442, allocations: 4 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3444, allocations: 47.5 kB / 412.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.3446, allocations: 95.17 kB / 412.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.3449, allocations: 79.84 kB / 413 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.3452, allocations: 346.9 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.3455, allocations: 151.3 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3457, allocations: 127.5 kB / 413.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.3459, allocations: 147.4 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.97e-05/0.346, allocations: 28 kB / 413.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.3461, allocations: 32 kB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3461, allocations: 75.69 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3463, allocations: 167.2 kB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.3467, allocations: 358.4 kB / 414.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3467, allocations: 0 / 414.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3467, allocations: 0 / 414.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3467, allocations: 0 / 414.4 MB, free: 12.49 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.0009015/0.3476, allocations: 0.5962 MB / 415 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3477, allocations: 8.031 kB / 415 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.3478, allocations: 32.75 kB / 415 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.3482, allocations: 271.8 kB / 415.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3482, allocations: 20.94 kB / 415.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.3483, allocations: 24.38 kB / 415.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.3487, allocations: 265.2 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3487, allocations: 0 / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.3488, allocations: 8 kB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3488, allocations: 8 kB / 415.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.3491, allocations: 194.1 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.3506, allocations: 1.006 MB / 416.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.351, allocations: 328.8 kB / 417.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.3513, allocations: 143.2 kB / 417.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3513, allocations: 3.938 kB / 417.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3513, allocations: 38.56 kB / 417.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.3513, allocations: 4 kB / 417.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001637/0.353, allocations: 0.7747 MB / 418.1 MB, free: 8.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.353, allocations: 63.34 kB / 418.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.3532, allocations: 191.2 kB / 418.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3533, allocations: 25.7 kB / 418.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.3534, allocations: 176.6 kB / 418.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.3535, allocations: 99.16 kB / 418.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.3536, allocations: 49.98 kB / 418.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3537, allocations: 330.8 kB / 419 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3538, allocations: 72.53 kB / 419 MB, free: 7.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.354, allocations: 104.2 kB / 419.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.3543, allocations: 186.1 kB / 419.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3543, allocations: 0 / 419.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005262/0.3548, allocations: 318.2 kB / 419.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3549, allocations: 4 kB / 419.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3549, allocations: 8 kB / 419.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.3552, allocations: 88.73 kB / 419.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.3554, allocations: 43.92 kB / 419.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.3575, allocations: 2.088 MB / 421.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3576, allocations: 11.97 kB / 421.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3576, allocations: 8 kB / 421.9 MB, free: 4.473 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.0001293/0.3577, allocations: 137.8 kB / 422 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.3578, allocations: 23.86 kB / 422 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.3579, allocations: 37.91 kB / 422.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3579, allocations: 4 kB / 422.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3579, allocations: 0 / 422.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3579, allocations: 3.938 kB / 422.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009612/0.3589, allocations: 0.7449 MB / 422.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3589, allocations: 4 kB / 422.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.359, allocations: 35.92 kB / 422.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.3592, allocations: 68.8 kB / 422.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.3593, allocations: 12.08 kB / 423 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.3611, allocations: 1.987 MB / 424.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3611, allocations: 4 kB / 424.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/0.3617, allocations: 456.3 kB / 425.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.3618, allocations: 105 kB / 425.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.3618, allocations: 8.062 kB / 425.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.362, allocations: 11.98 kB / 425.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.362, allocations: 19.97 kB / 425.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.362, allocations: 4 kB / 425.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.3622, allocations: 144.4 kB / 425.7 MB, free: 444 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3622, allocations: 0 / 425.7 MB, free: 444 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000398/0.3626, allocations: 80 kB / 425.8 MB, free: 364 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.0001446/0.3627, allocations: 110.8 kB / 425.9 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.3634, allocations: 378.8 kB / 426.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3634, allocations: 0 / 426.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.3638, allocations: 258.6 kB / 426.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3642, allocations: 40.19 kB / 426.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3654, allocations: 0.7811 MB / 427.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3657, allocations: 0.7713 MB / 428.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.64e-05/0.3658, allocations: 18.28 kB / 428.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.3658, allocations: 19.44 kB / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3658, allocations: 0 / 428.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of Templates: time 0.006675/0.3725, allocations: 3.249 MB / 431.4 MB, free: 10.68 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