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/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_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/Complex trunk/package.mo): time 0.001081/0.001082, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008937/0.0008936, allocations: 104.2 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002426/0.0002425, allocations: 4 kB / 357.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08197/0.2837, allocations: 79.31 MB / 488.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.2839, allocations: 67.97 kB / 488.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01207/0.296, allocations: 4.954 MB / 493.7 MB, free: 6.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.296, allocations: 0 / 493.7 MB, free: 6.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.296, allocations: 4 kB / 493.7 MB, free: 6.23 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.0007061/0.2967, allocations: 0.5459 MB / 494.3 MB, free: 5.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2968, allocations: 8.031 kB / 494.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.2969, allocations: 31.62 kB / 494.3 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.2971, allocations: 266.5 kB / 494.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2972, allocations: 20.56 kB / 494.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.2972, allocations: 28 kB / 494.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.2976, allocations: 244.9 kB / 494.9 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2977, allocations: 3.984 kB / 494.9 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2977, allocations: 12 kB / 494.9 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.2977, allocations: 8 kB / 494.9 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.298, allocations: 194.2 kB / 495.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2994, allocations: 1.029 MB / 496.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.2998, allocations: 325.5 kB / 496.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2998, allocations: 8.125 kB / 496.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2999, allocations: 38.69 kB / 496.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.2999, allocations: 0 / 496.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001284/0.3012, allocations: 0.7927 MB / 497.3 MB, free: 2.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.3012, allocations: 55.34 kB / 497.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3014, allocations: 182 kB / 497.5 MB, free: 2.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3014, allocations: 25.7 kB / 497.5 MB, free: 2.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.3015, allocations: 176.2 kB / 497.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.3015, allocations: 90.66 kB / 497.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.3016, allocations: 8 kB / 497.8 MB, free: 1.863 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.3016, allocations: 330.8 kB / 498.1 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.3018, allocations: 68.53 kB / 498.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3019, allocations: 107.3 kB / 498.3 MB, free: 1.352 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3021, allocations: 83.98 kB / 498.4 MB, free: 1.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3021, allocations: 0 / 498.4 MB, free: 1.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004813/0.3026, allocations: 326.6 kB / 498.7 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3026, allocations: 11.95 kB / 498.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3026, allocations: 0 / 498.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.3028, allocations: 92.77 kB / 498.8 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.303, allocations: 47.91 kB / 498.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.3048, allocations: 1.914 MB / 0.489 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3049, allocations: 12.02 kB / 0.489 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3049, allocations: 4 kB / 0.489 GB, free: 14.72 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.0001149/0.3051, allocations: 145.9 kB / 0.4892 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.3051, allocations: 23.75 kB / 0.4892 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.3052, allocations: 29.86 kB / 0.4892 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3052, allocations: 3.984 kB / 0.4892 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3052, allocations: 4.375 kB / 0.4892 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3052, allocations: 0 / 0.4892 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009274/0.3061, allocations: 0.7526 MB / 0.49 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3061, allocations: 0 / 0.49 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3063, allocations: 47.92 kB / 0.49 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/0.3065, allocations: 68.73 kB / 0.4901 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3065, allocations: 8 kB / 0.4901 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.308, allocations: 1.808 MB / 0.4919 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.308, allocations: 0 / 0.4919 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.3086, allocations: 463.9 kB / 0.4923 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.3087, allocations: 96.88 kB / 0.4924 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.3087, allocations: 11.95 kB / 0.4924 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3089, allocations: 16 kB / 0.4924 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.3089, allocations: 23.91 kB / 0.4924 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3089, allocations: 7.984 kB / 0.4925 GB, free: 10.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.309, allocations: 139.2 kB / 0.4926 GB, free: 10.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.309, allocations: 0 / 0.4926 GB, free: 10.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.3094, allocations: 80.56 kB / 0.4927 GB, free: 10.77 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.0001233/0.3095, allocations: 111.2 kB / 0.4928 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.3101, allocations: 370.4 kB / 0.4931 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3101, allocations: 0 / 0.4931 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.3105, allocations: 255.3 kB / 0.4934 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.3108, allocations: 40.02 kB / 0.4934 GB, free: 9.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3119, allocations: 0.9467 MB / 0.4943 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.3122, allocations: 0.7791 MB / 0.4951 GB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.249e-05/0.3123, allocations: 18.3 kB / 0.4951 GB, free: 8.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.3123, allocations: 19.44 kB / 0.4951 GB, free: 8.168 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3123, allocations: 0 / 0.4951 GB, free: 8.168 MB / 378.7 MB Notification: Performance of Templates: time 0.005532/0.3179, allocations: 2.886 MB / 0.4979 GB, free: 5.305 MB / 378.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches