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.001427/0.001427, allocations: 105.4 kB / 18.4 MB, free: 4.699 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.001375/0.001375, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.351/1.351, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.002072/0.002072, allocations: 55.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1063, allocations: 46.6 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004152/0.1105, allocations: 2.774 MB / 378.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1118, allocations: 0.6473 MB / 379.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.1121, allocations: 11.94 kB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1123, allocations: 43.56 kB / 379.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.1126, allocations: 99.11 kB / 379.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1129, allocations: 75.89 kB / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.1133, allocations: 350.7 kB / 379.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.1136, allocations: 143.3 kB / 379.9 MB, free: 424 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.1138, allocations: 127.6 kB / 380.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.114, allocations: 159.2 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.1141, allocations: 36 kB / 380.3 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.1142, allocations: 32 kB / 380.3 MB, free: 68 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.1142, allocations: 63.77 kB / 380.4 MB, free: 4 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1936/0.3078, allocations: 157.3 kB / 380.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.3085, allocations: 353.6 kB / 380.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3085, allocations: 1.375 kB / 380.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3085, allocations: 0 / 380.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.3086, allocations: 0 / 380.9 MB, free: 10.68 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.001216/0.3098, allocations: 0.594 MB / 381.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3098, allocations: 8.688 kB / 381.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.31, allocations: 36.75 kB / 381.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.3105, allocations: 257.1 kB / 381.7 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.3105, allocations: 19.41 kB / 381.8 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.3106, allocations: 27.62 kB / 381.8 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.3113, allocations: 250.2 kB / 382 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3113, allocations: 3.938 kB / 382 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3113, allocations: 11.38 kB / 382.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.3113, allocations: 6.875 kB / 382.1 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004116/0.3118, allocations: 190.9 kB / 382.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.3136, allocations: 1.009 MB / 383.3 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.3141, allocations: 331.8 kB / 383.6 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.3144, allocations: 142 kB / 383.7 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3144, allocations: 2.156 kB / 383.7 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3144, allocations: 44.77 kB / 383.8 MB, free: 9.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.3144, allocations: 0 / 383.8 MB, free: 9.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.00159/0.316, allocations: 0.7689 MB / 384.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.3161, allocations: 59.23 kB / 384.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3163, allocations: 190 kB / 384.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3163, allocations: 32.45 kB / 384.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.3164, allocations: 178.2 kB / 385 MB, free: 8.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.3165, allocations: 92.47 kB / 385.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/0.3166, allocations: 50.88 kB / 385.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.3167, allocations: 334.5 kB / 385.4 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3168, allocations: 70.39 kB / 385.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.317, allocations: 103.2 kB / 385.6 MB, free: 7.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.3173, allocations: 182.7 kB / 385.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3173, allocations: 0 / 385.8 MB, free: 7.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005476/0.3178, allocations: 313.8 kB / 386.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3179, allocations: 5.547 kB / 386.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3179, allocations: 0 / 386.1 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.3182, allocations: 96.36 kB / 386.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3184, allocations: 46.03 kB / 386.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.3201, allocations: 2.088 MB / 388.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3202, allocations: 6.969 kB / 388.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.3202, allocations: 14.03 kB / 388.4 MB, free: 5.902 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.000133/0.3204, allocations: 137.9 kB / 388.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.3204, allocations: 18.98 kB / 388.5 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.3205, allocations: 30.92 kB / 388.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3205, allocations: 2.719 kB / 388.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3205, allocations: 3.031 kB / 388.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3205, allocations: 1.594 kB / 388.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.3216, allocations: 0.754 MB / 389.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3216, allocations: 0 / 389.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.3218, allocations: 43.23 kB / 389.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/0.322, allocations: 76.08 kB / 389.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.322, allocations: 6.766 kB / 389.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.3235, allocations: 1.979 MB / 391.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3235, allocations: 1.156 kB / 391.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.3242, allocations: 477.3 kB / 391.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.3243, allocations: 94.94 kB / 392 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.3243, allocations: 7.078 kB / 392 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.3245, allocations: 13.72 kB / 392 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.3245, allocations: 20.5 kB / 392 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3246, allocations: 13.22 kB / 392 MB, free: 3.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.3247, allocations: 145.4 kB / 392.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3247, allocations: 1.469 kB / 392.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.3252, allocations: 78.78 kB / 392.2 MB, free: 2.961 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.0001235/0.3253, allocations: 106.6 kB / 392.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006859/0.326, allocations: 365.9 kB / 392.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.326, allocations: 1.094 kB / 392.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.3264, allocations: 265.8 kB / 393 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.3268, allocations: 40.09 kB / 393 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3281, allocations: 0.7861 MB / 393.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3283, allocations: 0.765 MB / 394.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.3284, allocations: 18.62 kB / 394.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3284, allocations: 0 / 394.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of Templates: time 0.008482/0.3369, allocations: 4.043 MB / 398.6 MB, free: 0.9336 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/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