Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.QuasiStationary.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_cpp_Modelica.Electrical.QuasiStationary.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 3.2.3+maint.om/package.mo): time 0.001611/0.00161, allocations: 176.2 kB / 8.148 MB, free: 2.207 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.671/1.671, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001796/0.001796, allocations: 92.89 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.02e-05/1.022e-05, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2425, allocations: 47.56 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.3712, allocations: 82.04 MB / 443.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.3715, allocations: 84.45 kB / 444 MB, free: 3.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0707/0.4422, allocations: 17.44 MB / 461.4 MB, free: 2.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.4423, allocations: 15.47 kB / 461.4 MB, free: 2.359 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002923/0.4453, allocations: 0.8421 MB / 462.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4453, allocations: 11.97 kB / 462.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/0.4507, allocations: 490.7 kB / 462.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.4517, allocations: 366.6 kB / 463.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.4518, allocations: 20 kB / 463.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.452, allocations: 43.91 kB / 463.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/0.4541, allocations: 0.6443 MB / 463.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4559, allocations: 0.5987 MB / 464.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.456, allocations: 4 kB / 464.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/0.4561, allocations: 0 / 464.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.4561, allocations: 19.98 kB / 464.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006899/0.463, allocations: 2.796 MB / 467.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.4644, allocations: 452.7 kB / 467.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.465, allocations: 190.2 kB / 467.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.4652, allocations: 89.53 kB / 468 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.4652, allocations: 42.98 kB / 468 MB, free: 11.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.307e-06/0.4653, allocations: 4 kB / 468 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001947/0.4672, allocations: 467.5 kB / 468.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4673, allocations: 81.55 kB / 468.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.4677, allocations: 199.8 kB / 468.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.346e-05/0.4678, allocations: 25.7 kB / 468.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.468, allocations: 341.8 kB / 469.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.4682, allocations: 173.4 kB / 469.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.4683, allocations: 4 kB / 469.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4684, allocations: 334.8 kB / 469.6 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.4689, allocations: 157.3 kB / 469.7 MB, free: 9.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.4696, allocations: 350.3 kB / 470.1 MB, free: 9.172 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4706, allocations: 240.6 kB / 470.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.4706, allocations: 0 / 470.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002195/0.4728, allocations: 0.6014 MB / 470.9 MB, free: 8.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009583/0.4738, allocations: 2.344 MB / 473.3 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4738, allocations: 8 kB / 473.3 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.4742, allocations: 56.75 kB / 473.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4753, allocations: 143.7 kB / 473.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.4774, allocations: 1.424 MB / 474.9 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.4782, allocations: 59.58 kB / 475 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/0.4783, allocations: 30.48 kB / 475 MB, free: 3.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4783, allocations: 4 kB / 475 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002133/0.4805, allocations: 0.5375 MB / 475.5 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.4805, allocations: 16.02 kB / 475.5 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.4808, allocations: 48.84 kB / 475.6 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.482, allocations: 127.8 kB / 475.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.4852, allocations: 1.428 MB / 477.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4865, allocations: 47.48 kB / 477.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.4867, allocations: 28.06 kB / 477.2 MB, free: 1.609 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003669/0.4871, allocations: 49.5 kB / 477.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.4875, allocations: 35.67 kB / 477.3 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.4907, allocations: 0.5593 MB / 477.9 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002276/0.4931, allocations: 445.5 kB / 478.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.4931, allocations: 0 / 478.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4932, allocations: 0 / 478.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/0.4979, allocations: 1.171 MB / 479.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.498, allocations: 3.938 kB / 479.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.4993, allocations: 99.88 kB / 479.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.4998, allocations: 48.83 kB / 479.6 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.4999, allocations: 8 kB / 479.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003031/0.503, allocations: 1.501 MB / 481.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/0.503, allocations: 0 / 481.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00406/0.5071, allocations: 0.8127 MB / 481.9 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.5078, allocations: 160.4 kB / 482.1 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.508, allocations: 8 kB / 482.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/0.5105, allocations: 28.03 kB / 482.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.5109, allocations: 29.61 kB / 482.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.511, allocations: 12 kB / 482.2 MB, free: 12.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002377/0.5113, allocations: 148.5 kB / 482.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001537/0.5128, allocations: 270.8 kB / 482.6 MB, free: 12.01 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 (49): * Single equations (assignments): 45 * 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.0004041/0.5133, allocations: 147 kB / 482.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.5159, allocations: 1.003 MB / 483.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5159, allocations: 4.062 kB / 483.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008101/0.5167, allocations: 343.3 kB / 484.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.5172, allocations: 20.91 kB / 484.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/0.5228, allocations: 1.257 MB / 485.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/0.5237, allocations: 0.8988 MB / 486.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5237, allocations: 4 kB / 486.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of Templates: time 0.02025/0.544, allocations: 8.27 MB / 494.5 MB, free: 0 / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches