Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [: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.001083/0.001083, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.012 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.0008771/0.0008771, allocations: 99.5 kB / 280.8 MB, free: 1.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.403e-06/7.434e-06, allocations: 0 / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1865, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07691/0.2634, allocations: 79.33 MB / 466.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.2636, allocations: 75.89 kB / 466.3 MB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03238/0.296, allocations: 13.06 MB / 479.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.067e-05/0.2961, allocations: 20 kB / 479.4 MB, free: 10.31 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001452/0.2976, allocations: 1.029 MB / 480.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2976, allocations: 8.875 kB / 480.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2977, allocations: 106.8 kB / 480.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.2983, allocations: 438.2 kB / 481 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.2983, allocations: 35.91 kB / 481 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.2984, allocations: 52 kB / 481 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008223/0.2993, allocations: 496 kB / 481.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3004, allocations: 0.6958 MB / 482.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3004, allocations: 3.938 kB / 482.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.3005, allocations: 0 / 482.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.3005, allocations: 26.44 kB / 482.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.3047, allocations: 2.859 MB / 485.1 MB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.305, allocations: 249.5 kB / 485.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.3053, allocations: 236.8 kB / 485.6 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3053, allocations: 8 kB / 485.6 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3053, allocations: 38.56 kB / 485.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.3054, allocations: 0 / 485.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006928/0.3061, allocations: 369.8 kB / 486 MB, free: 3.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.3061, allocations: 59.41 kB / 486 MB, free: 3.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.3065, allocations: 405 kB / 486.4 MB, free: 2.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3066, allocations: 25.7 kB / 486.5 MB, free: 2.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.3068, allocations: 453.4 kB / 486.9 MB, free: 2.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.3069, allocations: 145.9 kB / 487.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.3069, allocations: 0 / 487.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.307, allocations: 366.8 kB / 487.4 MB, free: 1.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.3072, allocations: 137.6 kB / 487.5 MB, free: 1.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.3076, allocations: 413.9 kB / 488 MB, free: 1.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.3079, allocations: 213.2 kB / 488.2 MB, free: 1.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3079, allocations: 4 kB / 488.2 MB, free: 1.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009457/0.3089, allocations: 0.6334 MB / 488.8 MB, free: 472 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3089, allocations: 4 kB / 488.8 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3089, allocations: 8.594 kB / 488.8 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.3092, allocations: 85.39 kB / 488.9 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.3099, allocations: 199.7 kB / 489.1 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.3116, allocations: 1.725 MB / 490.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.3121, allocations: 67.41 kB / 490.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.3121, allocations: 36 kB / 490.9 MB, free: 14.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 0.0001206/0.3122, allocations: 129.1 kB / 491 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.3123, allocations: 59.28 kB / 491.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.3124, allocations: 60.88 kB / 491.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3124, allocations: 4 kB / 491.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3124, allocations: 4 kB / 491.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3125, allocations: 3.984 kB / 491.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.3131, allocations: 0.521 MB / 491.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3131, allocations: 0 / 491.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.3135, allocations: 111.9 kB / 491.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.3137, allocations: 60.81 kB / 491.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.3138, allocations: 8 kB / 491.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.3152, allocations: 1.704 MB / 493.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3152, allocations: 3.938 kB / 493.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007479/0.316, allocations: 0.6022 MB / 494.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3161, allocations: 132.3 kB / 494.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.3162, allocations: 3.984 kB / 494.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.3166, allocations: 47.97 kB / 494.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.3166, allocations: 19.97 kB / 494.4 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.3167, allocations: 12 kB / 494.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000276/0.3169, allocations: 299.2 kB / 494.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007649/0.3177, allocations: 227.1 kB / 494.9 MB, free: 10.04 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,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0001823/0.3179, allocations: 103.2 kB / 495 MB, free: 9.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.3187, allocations: 0.5131 MB / 495.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3187, allocations: 0 / 495.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.319, allocations: 277.7 kB / 495.8 MB, free: 9.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3195, allocations: 73.19 kB / 495.9 MB, free: 9.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3213, allocations: 1.076 MB / 496.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/0.3219, allocations: 0.9877 MB / 497.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3219, allocations: 0 / 497.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of Templates: time 0.01218/0.3341, allocations: 6.375 MB / 0.4925 GB, free: 0.625 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches