Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001602/0.001602, allocations: 178.9 kB / 8.154 MB, free: 2.18 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.615/1.615, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002072/0.002072, allocations: 94.34 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.247e-05/1.263e-05, allocations: 4 kB / 314.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2477, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.3645, allocations: 76.32 MB / 438.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.3648, allocations: 63.97 kB / 438.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0203/0.3852, allocations: 4.381 MB / 442.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.3852, allocations: 8 kB / 442.6 MB, free: 5.316 MB / 330.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.001103/0.3864, allocations: 0.5171 MB / 443.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3864, allocations: 8.031 kB / 443.1 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.3865, allocations: 35.62 kB / 443.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.387, allocations: 258.5 kB / 443.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.387, allocations: 12 kB / 443.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.3871, allocations: 18.81 kB / 443.4 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005573/0.3877, allocations: 149.3 kB / 443.6 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.3883, allocations: 196.8 kB / 443.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3883, allocations: 0 / 443.8 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.3883, allocations: 3.938 kB / 443.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.3884, allocations: 8 kB / 443.8 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.3909, allocations: 0.9705 MB / 444.8 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.3913, allocations: 111.7 kB / 444.9 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.392, allocations: 217.2 kB / 445.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3921, allocations: 4.188 kB / 445.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3921, allocations: 34.75 kB / 445.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 3.046e-06/0.3922, allocations: 0 / 445.1 MB, free: 2.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.00174/0.3939, allocations: 0.5972 MB / 445.7 MB, free: 1.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.394, allocations: 55.41 kB / 445.8 MB, free: 1.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.3942, allocations: 150.8 kB / 445.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.3943, allocations: 25.7 kB / 445.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3944, allocations: 230.4 kB / 446.2 MB, free: 1.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.3945, allocations: 78.81 kB / 446.2 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.3945, allocations: 2.531 kB / 446.2 MB, free: 1.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3947, allocations: 322.8 kB / 446.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3948, allocations: 56 kB / 446.6 MB, free: 1.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3951, allocations: 77.7 kB / 446.7 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3953, allocations: 68.47 kB / 446.8 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3953, allocations: 0 / 446.8 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007947/0.3961, allocations: 256.2 kB / 447 MB, free: 0.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3962, allocations: 8 kB / 447 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3962, allocations: 0 / 447 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.3966, allocations: 64.83 kB / 447.1 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.397, allocations: 55.94 kB / 447.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.3999, allocations: 1.701 MB / 448.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.4001, allocations: 7.938 kB / 448.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.4001, allocations: 8 kB / 448.9 MB, free: 14.66 MB / 346.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 {(3,88.9%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4003, allocations: 29.61 kB / 448.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.4004, allocations: 20.94 kB / 448.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.082e-05/0.4005, allocations: 29.73 kB / 448.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4005, allocations: 2.812 kB / 448.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4005, allocations: 7.938 kB / 448.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4005, allocations: 0 / 448.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.4019, allocations: 0.5824 MB / 449.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4019, allocations: 4 kB / 449.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.4023, allocations: 39.92 kB / 449.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003532/0.4027, allocations: 68.8 kB / 449.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.4027, allocations: 6 kB / 449.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.4053, allocations: 1.69 MB / 451.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4054, allocations: 0 / 451.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009391/0.4063, allocations: 405.9 kB / 451.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.4064, allocations: 92.91 kB / 451.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4065, allocations: 4 kB / 451.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.4068, allocations: 8.688 kB / 451.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.4069, allocations: 15.97 kB / 451.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.4069, allocations: 4 kB / 451.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001707/0.4071, allocations: 133.2 kB / 452 MB, free: 11.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005909/0.4077, allocations: 64 kB / 452 MB, free: 11.27 MB / 346.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.0002048/0.4079, allocations: 112.2 kB / 452.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009117/0.4089, allocations: 290.3 kB / 452.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4089, allocations: 4.062 kB / 452.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006079/0.4095, allocations: 216.3 kB / 452.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.41, allocations: 23.89 kB / 452.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.4118, allocations: 0.6176 MB / 453.3 MB, free: 9.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.4123, allocations: 0.7946 MB / 454.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of SimCode: time 1.163e-06/0.4123, allocations: 0 / 454.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of Templates: time 0.009218/0.4215, allocations: 3.985 MB / 458.1 MB, free: 5.184 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches