Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009958/0.0009957, allocations: 179.1 kB / 8.477 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.2 MB / 214.1 MB, free: 5.164 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008557/0.0008557, allocations: 85.92 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.666e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.09794, allocations: 47.58 MB / 362.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3181/0.4161, allocations: 76.31 MB / 438.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4164, allocations: 66.58 kB / 438.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01162/0.428, allocations: 4.367 MB / 443.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.4281, allocations: 11.62 kB / 443.3 MB, free: 10.43 MB / 314.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.0005998/0.4287, allocations: 0.5183 MB / 443.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.4287, allocations: 11.92 kB / 443.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.4288, allocations: 35 kB / 443.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.4291, allocations: 250.8 kB / 444.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.4291, allocations: 11.41 kB / 444.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.4291, allocations: 18.66 kB / 444.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002581/0.4294, allocations: 149.9 kB / 444.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.4297, allocations: 199.1 kB / 444.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4297, allocations: 0 / 444.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.4298, allocations: 0 / 444.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4298, allocations: 11.47 kB / 444.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.4311, allocations: 0.9772 MB / 445.5 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.4313, allocations: 111.8 kB / 445.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.4317, allocations: 207.9 kB / 445.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.4317, allocations: 192 / 445.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.4317, allocations: 41.47 kB / 445.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.243e-06/0.4317, allocations: 0 / 445.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009923/0.4327, allocations: 0.6009 MB / 446.4 MB, free: 8.855 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.4328, allocations: 62 kB / 446.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4329, allocations: 152.9 kB / 446.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4329, allocations: 34.06 kB / 446.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.433, allocations: 159.1 kB / 446.8 MB, free: 8.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.4331, allocations: 77.14 kB / 446.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.4331, allocations: 0 / 446.9 MB, free: 8.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.4331, allocations: 334.9 kB / 447.2 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.4332, allocations: 52.19 kB / 447.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.446e-05/0.4333, allocations: 80.69 kB / 447.3 MB, free: 8.148 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.4334, allocations: 73.23 kB / 447.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4334, allocations: 3.844 kB / 447.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003705/0.4338, allocations: 256.7 kB / 447.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4338, allocations: 7.812 kB / 447.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4338, allocations: 0.8438 kB / 447.7 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.4341, allocations: 66.86 kB / 447.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.4343, allocations: 49.39 kB / 447.8 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.4356, allocations: 1.696 MB / 449.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4358, allocations: 4.578 kB / 449.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4358, allocations: 11.44 kB / 449.5 MB, free: 6.754 MB / 314.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 6.453e-05/0.4359, allocations: 104.9 kB / 449.6 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.4359, allocations: 24.02 kB / 449.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.436, allocations: 22.48 kB / 449.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.436, allocations: 4.062 kB / 449.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.436, allocations: 3.812 kB / 449.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.436, allocations: 1.5 kB / 449.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.4367, allocations: 0.5908 MB / 450.3 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4368, allocations: 3.938 kB / 450.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.4369, allocations: 40.39 kB / 450.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001899/0.4371, allocations: 66.48 kB / 450.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4372, allocations: 4.578 kB / 450.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.4384, allocations: 1.696 MB / 452.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4384, allocations: 0 / 452.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000426/0.4388, allocations: 395.7 kB / 452.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.4389, allocations: 94.19 kB / 452.5 MB, free: 20.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.439, allocations: 12.53 kB / 452.5 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4391, allocations: 10.23 kB / 452.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.4392, allocations: 8.953 kB / 452.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4392, allocations: 7.844 kB / 452.6 MB, free: 20.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.872e-05/0.4393, allocations: 135.2 kB / 452.7 MB, free: 20.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.4397, allocations: 65.66 kB / 452.8 MB, free: 20.66 MB / 330.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.0001309/0.4398, allocations: 104.7 kB / 452.9 MB, free: 20.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.4403, allocations: 289.5 kB / 453.2 MB, free: 20.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4403, allocations: 0 / 453.2 MB, free: 20.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.4406, allocations: 209.7 kB / 453.4 MB, free: 20.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.4409, allocations: 26.05 kB / 453.4 MB, free: 20.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.4418, allocations: 0.6033 MB / 454 MB, free: 19.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.4421, allocations: 0.7846 MB / 454.8 MB, free: 19.21 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4421, allocations: 0 / 454.8 MB, free: 19.21 MB / 330.7 MB Notification: Performance of Templates: time 0.004892/0.447, allocations: 2.744 MB / 457.5 MB, free: 17.89 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches