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") [: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 trunk/package.mo): time 0.00157/0.00157, allocations: 199.8 kB / 8.536 MB, free: 488 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 225.5 MB / 234.4 MB, free: 9.469 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009297/0.0009298, allocations: 99.72 kB / 286.3 MB, free: 5.812 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 8.636e-06/8.977e-06, allocations: 3.938 kB / 343.1 MB, free: 13.01 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2311, allocations: 51.46 MB / 394.6 MB, free: 47.42 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09038/0.3215, allocations: 78.51 MB / 473.1 MB, free: 13.38 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.3217, allocations: 75.95 kB / 473.2 MB, free: 13.3 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.01296/0.3347, allocations: 4.636 MB / 477.8 MB, free: 8.723 MB / 354.8 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.3348, allocations: 4 kB / 477.8 MB, free: 8.719 MB / 354.8 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.000924/0.3357, allocations: 0.5375 MB / 478.4 MB, free: 8.137 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3358, allocations: 8.031 kB / 478.4 MB, free: 8.129 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.3359, allocations: 31.62 kB / 478.4 MB, free: 8.098 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.3363, allocations: 250.6 kB / 478.6 MB, free: 7.812 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3363, allocations: 8 kB / 478.6 MB, free: 7.805 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.3364, allocations: 23.83 kB / 478.7 MB, free: 7.785 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003027/0.3367, allocations: 157.2 kB / 478.8 MB, free: 7.629 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.3371, allocations: 200.8 kB / 479 MB, free: 7.426 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3371, allocations: 4 kB / 479 MB, free: 7.422 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.3371, allocations: 0 / 479 MB, free: 7.422 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3371, allocations: 7.906 kB / 479 MB, free: 7.414 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.3387, allocations: 0.9666 MB / 480 MB, free: 6.383 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3389, allocations: 106.8 kB / 480.1 MB, free: 6.273 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.3394, allocations: 217.2 kB / 480.3 MB, free: 6.059 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3394, allocations: 2.438 kB / 480.3 MB, free: 6.059 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3394, allocations: 38.75 kB / 480.3 MB, free: 6.012 MB / 354.8 MB Notification: Performance of pre-optimization done (n=21): time 2.655e-06/0.3394, allocations: 0 / 480.3 MB, free: 6.012 MB / 354.8 MB Notification: Performance of matching and sorting (n=23): time 0.001094/0.3405, allocations: 0.5942 MB / 480.9 MB, free: 5.367 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.3406, allocations: 55.41 kB / 481 MB, free: 5.301 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3407, allocations: 164.1 kB / 481.2 MB, free: 5.129 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3408, allocations: 25.7 kB / 481.2 MB, free: 5.098 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.3408, allocations: 152 kB / 481.3 MB, free: 4.945 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.3409, allocations: 86.75 kB / 481.4 MB, free: 4.859 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.3409, allocations: 0 / 481.4 MB, free: 4.859 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.341, allocations: 330.8 kB / 481.7 MB, free: 4.527 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.3411, allocations: 56 kB / 481.8 MB, free: 4.473 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3412, allocations: 85.64 kB / 481.9 MB, free: 4.383 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.3413, allocations: 68.47 kB / 481.9 MB, free: 4.316 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3413, allocations: 0 / 481.9 MB, free: 4.316 MB / 354.8 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004124/0.3418, allocations: 262.1 kB / 482.2 MB, free: 4.051 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3418, allocations: 6.969 kB / 482.2 MB, free: 4.047 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3418, allocations: 4.031 kB / 482.2 MB, free: 4.043 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.342, allocations: 68.77 kB / 482.3 MB, free: 3.973 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3422, allocations: 45.47 kB / 482.3 MB, free: 3.93 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.3438, allocations: 1.698 MB / 484 MB, free: 2.121 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.344, allocations: 7.984 kB / 484 MB, free: 2.113 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.344, allocations: 9.219 kB / 484 MB, free: 2.105 MB / 354.8 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.239e-05/0.3441, allocations: 109.2 kB / 484.1 MB, free: 1.992 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.3441, allocations: 19.72 kB / 484.2 MB, free: 1.973 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.3442, allocations: 21.75 kB / 484.2 MB, free: 1.953 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3442, allocations: 7.984 kB / 484.2 MB, free: 1.945 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3442, allocations: 0 / 484.2 MB, free: 1.945 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3442, allocations: 7.984 kB / 484.2 MB, free: 1.938 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.345, allocations: 0.5892 MB / 484.8 MB, free: 1.301 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.345, allocations: 0 / 484.8 MB, free: 1.301 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.3452, allocations: 31.98 kB / 484.8 MB, free: 1.27 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.3454, allocations: 66.88 kB / 484.9 MB, free: 1.203 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3454, allocations: 11.83 kB / 484.9 MB, free: 1.191 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.3468, allocations: 1.692 MB / 486.6 MB, free: 15.39 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3468, allocations: 4 kB / 486.6 MB, free: 15.38 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004955/0.3473, allocations: 404.6 kB / 487 MB, free: 14.97 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.3474, allocations: 88.92 kB / 487.1 MB, free: 14.86 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3474, allocations: 7.906 kB / 487.1 MB, free: 14.86 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3476, allocations: 11.98 kB / 487.1 MB, free: 14.84 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3477, allocations: 11.98 kB / 487.1 MB, free: 14.83 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3477, allocations: 7.984 kB / 487.1 MB, free: 14.82 MB / 370.8 MB Notification: Performance of sort global known variables: time 9.467e-05/0.3478, allocations: 136.3 kB / 487.2 MB, free: 14.69 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.000378/0.3482, allocations: 64.09 kB / 487.3 MB, free: 14.63 MB / 370.8 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.0001288/0.3483, allocations: 103.2 kB / 487.4 MB, free: 14.52 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.3488, allocations: 286.5 kB / 487.7 MB, free: 14.23 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3488, allocations: 4.062 kB / 487.7 MB, free: 14.23 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.3491, allocations: 209.6 kB / 487.9 MB, free: 14.01 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.3494, allocations: 25.23 kB / 487.9 MB, free: 13.99 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.3503, allocations: 0.5876 MB / 488.5 MB, free: 13.39 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.3507, allocations: 0.7888 MB / 489.3 MB, free: 12.57 MB / 370.8 MB Notification: Performance of SimCode: time 2.61e-07/0.3507, allocations: 0 / 489.3 MB, free: 12.57 MB / 370.8 MB Notification: Performance of Templates: time 0.005441/0.3561, allocations: 2.744 MB / 492 MB, free: 9.906 MB / 370.8 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