Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [: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.001864/0.001864, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, 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.0008975/0.0008977, allocations: 93.59 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.118e-06/9.477e-06, allocations: 4 kB / 343.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 51.48 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2859/0.3976, allocations: 84.49 MB / 479.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.3979, allocations: 77.77 kB / 479.2 MB, free: 8.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03755/0.4354, allocations: 16.58 MB / 495.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.4355, allocations: 23.94 kB / 495.8 MB, free: 11.44 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001755/0.4372, allocations: 0.7912 MB / 496.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4373, allocations: 8.031 kB / 496.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.4394, allocations: 333.2 kB / 496.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.44, allocations: 344.3 kB / 497.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.44, allocations: 19.91 kB / 497.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.609e-05/0.4401, allocations: 36 kB / 497.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009076/0.441, allocations: 0.5114 MB / 497.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008526/0.4419, allocations: 0.5239 MB / 498.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.4419, allocations: 0.5625 kB / 498.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.442, allocations: 3.984 kB / 498.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.442, allocations: 17.19 kB / 498.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.4455, allocations: 2.198 MB / 0.4888 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.4462, allocations: 402.7 kB / 0.4892 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.4465, allocations: 174.3 kB / 0.4894 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.4466, allocations: 173.9 kB / 0.4896 GB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.4467, allocations: 42.19 kB / 0.4896 GB, free: 6.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/0.4467, allocations: 0 / 0.4896 GB, free: 6.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001062/0.4478, allocations: 441.1 kB / 0.49 GB, free: 6.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4478, allocations: 81.48 kB / 0.4901 GB, free: 6.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.448, allocations: 163.7 kB / 0.4902 GB, free: 6.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.448, allocations: 25.7 kB / 0.4903 GB, free: 6.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4482, allocations: 238.1 kB / 0.4905 GB, free: 5.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4483, allocations: 170 kB / 0.4907 GB, free: 5.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.4483, allocations: 0 / 0.4907 GB, free: 5.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.4484, allocations: 332 kB / 0.491 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.4486, allocations: 145.1 kB / 0.4911 GB, free: 5.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.4489, allocations: 252.6 kB / 0.4914 GB, free: 5.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.4493, allocations: 197.4 kB / 0.4915 GB, free: 5.078 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4494, allocations: 4 kB / 0.4915 GB, free: 5.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001021/0.4504, allocations: 0.5141 MB / 0.4921 GB, free: 4.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004473/0.4508, allocations: 1.307 MB / 0.4933 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4509, allocations: 15.83 kB / 0.4933 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.4511, allocations: 51.02 kB / 0.4934 GB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.4516, allocations: 107.3 kB / 0.4935 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.4531, allocations: 1.504 MB / 0.495 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.4535, allocations: 51.58 kB / 0.495 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.4535, allocations: 20 kB / 0.495 GB, free: 1.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.4536, allocations: 4 kB / 0.495 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009763/0.4545, allocations: 457.5 kB / 0.4955 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4546, allocations: 4 kB / 0.4955 GB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.4547, allocations: 50.89 kB / 0.4955 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.4551, allocations: 94.95 kB / 0.4956 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.4563, allocations: 1.433 MB / 0.497 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.4567, allocations: 41.58 kB / 0.4971 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.4567, allocations: 24.05 kB / 0.4971 GB, free: 15.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.4569, allocations: 113 kB / 0.4972 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.457, allocations: 39.61 kB / 0.4972 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4581, allocations: 0.5228 MB / 0.4977 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007644/0.4589, allocations: 428.3 kB / 0.4981 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4589, allocations: 0 / 0.4981 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.4589, allocations: 3.984 kB / 0.4981 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.4606, allocations: 1.08 MB / 0.4992 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4607, allocations: 0 / 0.4992 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.4611, allocations: 91.89 kB / 0.4993 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.4613, allocations: 48.77 kB / 0.4993 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.4613, allocations: 4 kB / 0.4993 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.4626, allocations: 1.505 MB / 0.5008 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4626, allocations: 4 kB / 0.5008 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0013/0.4639, allocations: 0.7761 MB / 0.5016 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.4641, allocations: 148.6 kB / 0.5017 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.4642, allocations: 0 / 0.5017 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.4645, allocations: 27.95 kB / 0.5017 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.4646, allocations: 29.7 kB / 0.5018 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.4646, allocations: 19.98 kB / 0.5018 GB, free: 10.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000108/0.4647, allocations: 128.3 kB / 0.5019 GB, free: 10.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008989/0.4656, allocations: 242.9 kB / 0.5021 GB, free: 10.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002863/0.4659, allocations: 159.1 kB / 0.5023 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.4673, allocations: 0.9026 MB / 0.5032 GB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4673, allocations: 192 / 0.5032 GB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.4678, allocations: 323.3 kB / 0.5035 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.468, allocations: 22.14 kB / 0.5035 GB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4693, allocations: 0.6225 MB / 0.5041 GB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.4699, allocations: 0.8749 MB / 0.505 GB, free: 7.184 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4699, allocations: 0 / 0.505 GB, free: 7.184 MB / 378.7 MB Notification: Performance of Templates: time 0.01258/0.4825, allocations: 7.388 MB / 0.5122 GB, free: 15.88 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches