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.001334/0.001334, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.00139/0.00139, allocations: 187 kB / 18.66 MB, free: 4.387 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.561/1.561, allocations: 205.1 MB / 224.5 MB, free: 12.27 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.001348/0.001348, allocations: 51.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 46.62 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004568/0.1109, allocations: 2.758 MB / 377.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1125, allocations: 0.6511 MB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.1129, allocations: 4 kB / 378.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1132, allocations: 59.5 kB / 378.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.1135, allocations: 83.19 kB / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1139, allocations: 75.89 kB / 378.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1144, allocations: 358.7 kB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.1147, allocations: 143.3 kB / 379.3 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1149, allocations: 131.6 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1152, allocations: 151.3 kB / 379.6 MB, free: 144 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.1153, allocations: 35.94 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.575e-05/0.1154, allocations: 28 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.1154, allocations: 75.69 kB / 379.7 MB, free: 4 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2546/0.3701, allocations: 156.3 kB / 379.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.3707, allocations: 359.3 kB / 380.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3707, allocations: 0 / 380.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3707, allocations: 0 / 380.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3707, allocations: 0 / 380.2 MB, free: 10.12 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.0009182/0.3716, allocations: 0.5994 MB / 380.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3717, allocations: 8.25 kB / 380.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.3718, allocations: 38.58 kB / 380.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.3722, allocations: 258.9 kB / 381.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3722, allocations: 23.47 kB / 381.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.3723, allocations: 32.86 kB / 381.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.3728, allocations: 248.8 kB / 381.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3728, allocations: 6.109 kB / 381.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3728, allocations: 12 kB / 381.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/0.3728, allocations: 6.875 kB / 381.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3732, allocations: 183.6 kB / 381.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3747, allocations: 1.002 MB / 382.6 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.3752, allocations: 325.2 kB / 382.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.3756, allocations: 147.7 kB / 383.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3756, allocations: 2.422 kB / 383.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3757, allocations: 35.25 kB / 383.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.754e-06/0.3757, allocations: 0.5 kB / 383.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.00166/0.3773, allocations: 0.788 MB / 383.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3774, allocations: 54.09 kB / 383.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3776, allocations: 196 kB / 384.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3776, allocations: 34.86 kB / 384.2 MB, free: 8.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3777, allocations: 176.1 kB / 384.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.366e-05/0.3778, allocations: 90.11 kB / 384.4 MB, free: 7.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.3779, allocations: 51.52 kB / 384.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.378, allocations: 334 kB / 384.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3781, allocations: 73.52 kB / 384.9 MB, free: 7.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3783, allocations: 99.09 kB / 385 MB, free: 7.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.3786, allocations: 183.7 kB / 385.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3786, allocations: 1 kB / 385.1 MB, free: 7.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005512/0.3792, allocations: 320.2 kB / 385.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3792, allocations: 5.062 kB / 385.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3792, allocations: 5.672 kB / 385.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.3795, allocations: 83.64 kB / 385.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.3797, allocations: 44.58 kB / 385.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.3815, allocations: 2.107 MB / 387.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.3817, allocations: 8.25 kB / 387.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3817, allocations: 9.344 kB / 387.7 MB, free: 5.633 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.0001215/0.3818, allocations: 141.7 kB / 387.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.3819, allocations: 20.39 kB / 387.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.3819, allocations: 26.61 kB / 387.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3819, allocations: 2.219 kB / 387.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3819, allocations: 2.156 kB / 387.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.382, allocations: 7.172 kB / 387.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.383, allocations: 0.7401 MB / 388.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.383, allocations: 0 / 388.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.3832, allocations: 39.5 kB / 388.7 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.3834, allocations: 76.19 kB / 388.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3835, allocations: 5.797 kB / 388.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.385, allocations: 1.982 MB / 390.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.385, allocations: 3.25 kB / 390.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.3857, allocations: 473.2 kB / 391.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.3858, allocations: 103.6 kB / 391.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3858, allocations: 6.188 kB / 391.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.386, allocations: 10.38 kB / 391.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.386, allocations: 24.58 kB / 391.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3861, allocations: 5.641 kB / 391.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.3862, allocations: 146.5 kB / 391.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3862, allocations: 0 / 391.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.3866, allocations: 79.34 kB / 391.6 MB, free: 2.691 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.0001177/0.3868, allocations: 114.9 kB / 391.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.3875, allocations: 366.5 kB / 392.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3875, allocations: 0 / 392.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.3879, allocations: 260.8 kB / 392.3 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3883, allocations: 48.89 kB / 392.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3894, allocations: 0.7682 MB / 393.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3897, allocations: 0.7669 MB / 393.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.147e-05/0.3898, allocations: 24.06 kB / 393.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.3898, allocations: 21.59 kB / 393.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3898, allocations: 0 / 393.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of Templates: time 0.008248/0.3981, allocations: 3.259 MB / 397.2 MB, free: 0.7344 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