Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.002066/0.002066, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008459/0.0008459, allocations: 89.69 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.533e-06/6.573e-06, allocations: 0 / 343.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09551, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/0.3455, allocations: 80.14 MB / 474.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.3458, allocations: 67.64 kB / 474.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02855/0.3743, allocations: 13.11 MB / 487.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.3744, allocations: 16 kB / 487.9 MB, free: 2.086 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001364/0.3758, allocations: 1.037 MB / 489 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3758, allocations: 8.031 kB / 489 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.376, allocations: 102.8 kB / 489.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.3765, allocations: 439.9 kB / 489.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.3765, allocations: 32 kB / 489.6 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.3766, allocations: 55.98 kB / 489.6 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007306/0.3773, allocations: 499 kB / 490.1 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.3784, allocations: 0.7024 MB / 490.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3784, allocations: 0 / 490.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.3785, allocations: 1.312 kB / 490.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.3786, allocations: 24 kB / 490.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.3826, allocations: 2.858 MB / 493.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.3829, allocations: 249.2 kB / 493.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.3832, allocations: 243.6 kB / 494.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3832, allocations: 7.781 kB / 494.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.3833, allocations: 41.62 kB / 494.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.435e-06/0.3833, allocations: 0 / 494.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.000706/0.384, allocations: 360.3 kB / 494.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.384, allocations: 58.34 kB / 494.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.3845, allocations: 394.4 kB / 495 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3845, allocations: 33.33 kB / 495 MB, free: 12.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.3848, allocations: 447.5 kB / 495.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3849, allocations: 151.8 kB / 495.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.385, allocations: 0 / 495.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3851, allocations: 365.3 kB / 496 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.3853, allocations: 137.8 kB / 496.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.3857, allocations: 408.6 kB / 496.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.386, allocations: 214 kB / 496.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.386, allocations: 4 kB / 496.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001025/0.387, allocations: 0.6317 MB / 497.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3871, allocations: 12.14 kB / 497.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.3871, allocations: 15.91 kB / 497.4 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.3874, allocations: 77.42 kB / 497.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.3881, allocations: 206.4 kB / 497.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.3899, allocations: 1.718 MB / 499.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.3904, allocations: 71.19 kB / 499.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.3904, allocations: 33.75 kB / 499.5 MB, free: 8 MB / 362.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.0001804/0.3906, allocations: 132.2 kB / 499.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3907, allocations: 55.34 kB / 499.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3908, allocations: 56.47 kB / 499.7 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3909, allocations: 4 kB / 499.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3909, allocations: 4 kB / 499.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3909, allocations: 0 / 499.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.3916, allocations: 0.5327 MB / 0.4885 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3916, allocations: 3.938 kB / 0.4885 GB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.392, allocations: 107.2 kB / 0.4886 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.3922, allocations: 66.12 kB / 0.4887 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.3923, allocations: 3.188 kB / 0.4887 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.3938, allocations: 1.707 MB / 0.4904 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3939, allocations: 0 / 0.4904 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008062/0.3947, allocations: 0.601 MB / 0.491 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3948, allocations: 127.9 kB / 0.4911 GB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.3949, allocations: 4 kB / 0.4911 GB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.3953, allocations: 43.97 kB / 0.4911 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.3954, allocations: 27.2 kB / 0.4912 GB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3954, allocations: 11.44 kB / 0.4912 GB, free: 4.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002877/0.3957, allocations: 288.2 kB / 0.4914 GB, free: 4.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007904/0.3965, allocations: 227.2 kB / 0.4917 GB, free: 4.391 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,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.0001701/0.3967, allocations: 115.8 kB / 0.4918 GB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.3975, allocations: 0.5122 MB / 0.4923 GB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3975, allocations: 0 / 0.4923 GB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.3979, allocations: 266.1 kB / 0.4925 GB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3983, allocations: 79.23 kB / 0.4926 GB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4003, allocations: 1.068 MB / 0.4936 GB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.4008, allocations: 0.9944 MB / 0.4946 GB, free: 1.555 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4008, allocations: 0 / 0.4946 GB, free: 1.555 MB / 362.7 MB Notification: Performance of Templates: time 0.01248/0.4133, allocations: 6.377 MB / 0.5008 GB, free: 11.31 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches