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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 105.5 kB / 17.73 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001823/0.001824, allocations: 187.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 47.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 46.61 MB / 375.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003801/0.1143, allocations: 2.757 MB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1159, allocations: 0.6589 MB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002295/0.1162, allocations: 4 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.1165, allocations: 55.5 kB / 378.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1167, allocations: 91.19 kB / 378.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1171, allocations: 71.91 kB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.1175, allocations: 354.7 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.1177, allocations: 151.3 kB / 379.3 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1179, allocations: 123.6 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1181, allocations: 159.3 kB / 379.6 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.1182, allocations: 32 kB / 379.6 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.902e-05/0.1182, allocations: 28 kB / 379.6 MB, free: 76 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.1183, allocations: 67.77 kB / 379.7 MB, free: 8 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2365/0.3548, allocations: 155.1 kB / 379.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.3554, allocations: 354 kB / 380.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3554, allocations: 1.375 kB / 380.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3554, allocations: 0 / 380.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3554, allocations: 3.094 kB / 380.2 MB, free: 10.14 MB / 318.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.0008492/0.3563, allocations: 0.5946 MB / 380.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3563, allocations: 10.75 kB / 380.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.3564, allocations: 36.88 kB / 380.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.3567, allocations: 256.6 kB / 381.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3567, allocations: 19.77 kB / 381.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.3568, allocations: 28.25 kB / 381.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.3573, allocations: 249.6 kB / 381.4 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3573, allocations: 3.938 kB / 381.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3573, allocations: 12.95 kB / 381.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3573, allocations: 6.875 kB / 381.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003546/0.3577, allocations: 186.8 kB / 381.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.3593, allocations: 1.007 MB / 382.6 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.3597, allocations: 326.2 kB / 382.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.36, allocations: 147 kB / 383 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.36, allocations: 2.156 kB / 383 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3601, allocations: 36.22 kB / 383.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.3601, allocations: 1.062 kB / 383.1 MB, free: 8.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001712/0.3618, allocations: 0.7806 MB / 383.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.3618, allocations: 54.84 kB / 383.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.362, allocations: 193 kB / 384.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3621, allocations: 34.61 kB / 384.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.3622, allocations: 177 kB / 384.3 MB, free: 8.055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.3622, allocations: 91.83 kB / 384.4 MB, free: 7.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.3623, allocations: 44.75 kB / 384.4 MB, free: 7.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.3624, allocations: 337.6 kB / 384.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3625, allocations: 73.05 kB / 384.8 MB, free: 7.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3627, allocations: 100.2 kB / 384.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.363, allocations: 184.9 kB / 385.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.363, allocations: 1.281 kB / 385.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005042/0.3635, allocations: 316.4 kB / 385.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3635, allocations: 5.547 kB / 385.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3635, allocations: 6.266 kB / 385.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.3638, allocations: 83.08 kB / 385.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.364, allocations: 45.91 kB / 385.6 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.3658, allocations: 2.101 MB / 387.7 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3659, allocations: 7.844 kB / 387.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.366, allocations: 10.72 kB / 387.7 MB, free: 5.676 MB / 318.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.0001404/0.3661, allocations: 141.5 kB / 387.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.3662, allocations: 19.41 kB / 387.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.3662, allocations: 26.81 kB / 387.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3662, allocations: 2.953 kB / 387.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.3662, allocations: 2.281 kB / 387.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3662, allocations: 5.328 kB / 387.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.3673, allocations: 0.7359 MB / 388.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3673, allocations: 0.6094 kB / 388.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.3675, allocations: 42.75 kB / 388.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/0.3677, allocations: 79.8 kB / 388.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3677, allocations: 5.719 kB / 388.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.3691, allocations: 1.979 MB / 390.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3692, allocations: 3.688 kB / 390.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.3698, allocations: 476.7 kB / 391.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.3699, allocations: 100.3 kB / 391.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.3699, allocations: 7.156 kB / 391.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3701, allocations: 12.28 kB / 391.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.3701, allocations: 21.14 kB / 391.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3702, allocations: 5.719 kB / 391.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3703, allocations: 145.3 kB / 391.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 391.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004786/0.3708, allocations: 80.16 kB / 391.6 MB, free: 2.734 MB / 318.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.0001359/0.3709, allocations: 110.7 kB / 391.7 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.3717, allocations: 361.5 kB / 392 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3717, allocations: 3.938 kB / 392 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.3722, allocations: 262.3 kB / 392.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.3726, allocations: 45.67 kB / 392.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.374, allocations: 0.7591 MB / 393.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3742, allocations: 0.766 MB / 393.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.3743, allocations: 22.25 kB / 393.9 MB, free: 1.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.3744, allocations: 18.31 kB / 393.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3744, allocations: 0 / 393.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of Templates: time 0.00807/0.3825, allocations: 3.255 MB / 397.1 MB, free: 0.7969 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches