Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 186.9 kB / 8.141 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 221.4 MB / 229.9 MB, free: 3.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 98.33 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.224e-05, allocations: 4 kB / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2084, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08363/0.2921, allocations: 77.7 MB / 464.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.2924, allocations: 67.95 kB / 464.7 MB, free: 9.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01217/0.3046, allocations: 4.59 MB / 469.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.3047, allocations: 4 kB / 469.3 MB, free: 4.438 MB / 346.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.000612/0.3053, allocations: 0.5259 MB / 469.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3053, allocations: 8.031 kB / 469.8 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.483e-05/0.3054, allocations: 34.78 kB / 469.8 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.3057, allocations: 258.4 kB / 470.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3057, allocations: 8 kB / 470.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.3057, allocations: 16 kB / 470.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002718/0.306, allocations: 157.3 kB / 470.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.3063, allocations: 192.8 kB / 470.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3063, allocations: 0 / 470.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3064, allocations: 11.94 kB / 470.5 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3064, allocations: 4 kB / 470.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3077, allocations: 0.9705 MB / 471.4 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.308, allocations: 110.2 kB / 471.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.3084, allocations: 212.1 kB / 471.7 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3084, allocations: 192 / 471.7 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.3085, allocations: 43.31 kB / 471.8 MB, free: 1.734 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.3085, allocations: 0 / 471.8 MB, free: 1.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001095/0.3096, allocations: 0.5958 MB / 472.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3096, allocations: 55.41 kB / 472.4 MB, free: 1.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3098, allocations: 159.6 kB / 472.6 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3098, allocations: 25.7 kB / 472.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.3099, allocations: 156 kB / 472.8 MB, free: 0.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.3099, allocations: 82.75 kB / 472.9 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.31, allocations: 4 kB / 472.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.3101, allocations: 330.8 kB / 473.2 MB, free: 256 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.3102, allocations: 56 kB / 473.2 MB, free: 200 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3103, allocations: 85.69 kB / 473.3 MB, free: 108 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.3104, allocations: 69.42 kB / 473.4 MB, free: 40 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3104, allocations: 3.984 kB / 473.4 MB, free: 36 kB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004088/0.3108, allocations: 250.2 kB / 473.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3108, allocations: 11.91 kB / 473.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3108, allocations: 4.031 kB / 473.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.3111, allocations: 65.47 kB / 473.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.3113, allocations: 47.92 kB / 473.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.3129, allocations: 1.703 MB / 475.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.313, allocations: 4 kB / 475.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3131, allocations: 4.188 kB / 475.5 MB, free: 13.83 MB / 362.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 () * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.3131, allocations: 109 kB / 475.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3132, allocations: 19.75 kB / 475.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.3132, allocations: 30.77 kB / 475.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3133, allocations: 4 kB / 475.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3133, allocations: 0 / 475.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3133, allocations: 0 / 475.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.314, allocations: 0.6036 MB / 476.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3141, allocations: 0 / 476.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3143, allocations: 39.91 kB / 476.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001849/0.3144, allocations: 64.81 kB / 476.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3145, allocations: 0.625 kB / 476.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.3159, allocations: 1.691 MB / 478 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3159, allocations: 0 / 478 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005318/0.3165, allocations: 408.3 kB / 478.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3165, allocations: 96.91 kB / 478.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3166, allocations: 7.906 kB / 478.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3167, allocations: 8 kB / 478.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.3168, allocations: 11.97 kB / 478.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3168, allocations: 8 kB / 478.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.387e-05/0.3169, allocations: 137.5 kB / 478.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.3173, allocations: 64 kB / 478.8 MB, free: 10.34 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0001381/0.3174, allocations: 103.2 kB / 478.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004794/0.3179, allocations: 292.6 kB / 479.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3179, allocations: 4.062 kB / 479.1 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.3183, allocations: 209.6 kB / 479.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3185, allocations: 27.03 kB / 479.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.3195, allocations: 0.5924 MB / 480 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.3198, allocations: 0.779 MB / 480.7 MB, free: 8.289 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3198, allocations: 0 / 480.7 MB, free: 8.289 MB / 362.7 MB Notification: Performance of Templates: time 0.005756/0.3256, allocations: 2.738 MB / 483.5 MB, free: 5.59 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches