Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009441/0.0009441, allocations: 196.1 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 226.5 MB / 245.4 MB, free: 8.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007357/0.0007357, allocations: 107.1 kB / 297.4 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002073/0.0002073, allocations: 8 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1842, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08503/0.2692, allocations: 79.24 MB / 487.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.2695, allocations: 75.95 kB / 488 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.2819, allocations: 4.957 MB / 492.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2819, allocations: 0 / 492.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.282, allocations: 12 kB / 492.9 MB, free: 7.281 MB / 362.7 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.0006855/0.2827, allocations: 0.5344 MB / 493.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2827, allocations: 12.03 kB / 493.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.2828, allocations: 36.56 kB / 493.5 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.283, allocations: 251.7 kB / 493.8 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.283, allocations: 20.94 kB / 493.8 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.2831, allocations: 28.36 kB / 493.8 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.2835, allocations: 253.4 kB / 494.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2835, allocations: 192 / 494.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.2836, allocations: 11.94 kB / 494.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.2836, allocations: 11.94 kB / 494.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.2839, allocations: 190.2 kB / 494.3 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2853, allocations: 1.029 MB / 495.3 MB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.2856, allocations: 336.4 kB / 495.6 MB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.286, allocations: 199.2 kB / 495.8 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.286, allocations: 4 kB / 495.8 MB, free: 4.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2861, allocations: 34.56 kB / 495.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.2861, allocations: 0 / 495.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001317/0.2874, allocations: 0.7741 MB / 496.6 MB, free: 3.312 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2874, allocations: 55.41 kB / 496.7 MB, free: 3.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.2876, allocations: 195 kB / 496.9 MB, free: 3.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2876, allocations: 33.7 kB / 496.9 MB, free: 3.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.2877, allocations: 172.2 kB / 497.1 MB, free: 2.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.2878, allocations: 86.66 kB / 497.2 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.2878, allocations: 8 kB / 497.2 MB, free: 2.738 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2879, allocations: 334.8 kB / 497.5 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2881, allocations: 72.53 kB / 497.6 MB, free: 2.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2882, allocations: 104.2 kB / 497.7 MB, free: 2.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.2885, allocations: 178.2 kB / 497.8 MB, free: 2.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2885, allocations: 4 kB / 497.8 MB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005073/0.289, allocations: 318 kB / 498.2 MB, free: 1.719 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.289, allocations: 4 kB / 498.2 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.289, allocations: 0 / 498.2 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.2893, allocations: 84.81 kB / 498.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.2895, allocations: 51.91 kB / 498.3 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.2913, allocations: 1.898 MB / 0.4885 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2914, allocations: 12.02 kB / 0.4885 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2914, allocations: 12 kB / 0.4885 GB, free: 15.52 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.2915, allocations: 138.6 kB / 0.4886 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.2916, allocations: 23.92 kB / 0.4886 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.2916, allocations: 29.81 kB / 0.4887 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2917, allocations: 4 kB / 0.4887 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2917, allocations: 3.984 kB / 0.4887 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2917, allocations: 0 / 0.4887 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.2927, allocations: 0.75 MB / 0.4894 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2927, allocations: 0 / 0.4894 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.2929, allocations: 39.92 kB / 0.4895 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.2931, allocations: 76.7 kB / 0.4895 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2931, allocations: 11.94 kB / 0.4895 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.2946, allocations: 1.777 MB / 0.4913 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2946, allocations: 0 / 0.4913 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.2953, allocations: 477 kB / 0.4917 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.2953, allocations: 92.83 kB / 0.4918 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.2954, allocations: 4.062 kB / 0.4918 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2955, allocations: 19.98 kB / 0.4918 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.2956, allocations: 27.91 kB / 0.4919 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2956, allocations: 7.938 kB / 0.4919 GB, free: 11.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.2957, allocations: 144.3 kB / 0.492 GB, free: 11.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2957, allocations: 0 / 0.492 GB, free: 11.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003805/0.2961, allocations: 80 kB / 0.4921 GB, free: 11.6 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.2963, allocations: 107.2 kB / 0.4922 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005932/0.2969, allocations: 378.4 kB / 0.4926 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2969, allocations: 0 / 0.4926 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.2973, allocations: 262.5 kB / 0.4928 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.2976, allocations: 43.88 kB / 0.4928 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2989, allocations: 0.9764 MB / 0.4938 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.2992, allocations: 0.7674 MB / 0.4945 GB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.2992, allocations: 19.44 kB / 0.4946 GB, free: 8.977 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2992, allocations: 0 / 0.4946 GB, free: 8.977 MB / 378.7 MB Notification: Performance of Templates: time 0.005281/0.3045, allocations: 3.963 MB / 0.4984 GB, free: 5.016 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches