Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 184.8 kB / 8.134 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.4 MB / 230 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000872/0.000872, allocations: 101.6 kB / 280.8 MB, free: 1.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.12e-05/1.131e-05, allocations: 4 kB / 336.5 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 50.39 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3156, allocations: 83.7 MB / 470.6 MB, free: 3.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.3159, allocations: 79.95 kB / 470.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03857/0.3544, allocations: 15.97 MB / 486.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.3545, allocations: 12 kB / 486.7 MB, free: 2.887 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.00175/0.3563, allocations: 0.8068 MB / 487.5 MB, free: 2.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3563, allocations: 8.031 kB / 487.5 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.3586, allocations: 327 kB / 487.8 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.3592, allocations: 336.2 kB / 488.1 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.3592, allocations: 21.22 kB / 488.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.3593, allocations: 35.91 kB / 488.2 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009485/0.3603, allocations: 0.5102 MB / 488.7 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008653/0.3611, allocations: 0.5158 MB / 489.2 MB, free: 244 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.3612, allocations: 0 / 489.2 MB, free: 244 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.3612, allocations: 0 / 489.2 MB, free: 244 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3613, allocations: 20 kB / 489.2 MB, free: 224 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.3646, allocations: 2.136 MB / 491.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.3654, allocations: 404.7 kB / 491.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.3656, allocations: 174.1 kB / 491.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.851e-05/0.3657, allocations: 93.45 kB / 492 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3658, allocations: 38.94 kB / 492.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.825e-06/0.3658, allocations: 3.938 kB / 492.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001019/0.3668, allocations: 440 kB / 492.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3669, allocations: 85.48 kB / 492.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.367, allocations: 165.4 kB / 492.7 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3671, allocations: 25.7 kB / 492.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3672, allocations: 244 kB / 493 MB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3673, allocations: 153.6 kB / 493.2 MB, free: 12.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.3674, allocations: 0 / 493.2 MB, free: 12.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3675, allocations: 334.8 kB / 493.5 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.3677, allocations: 145 kB / 493.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.368, allocations: 262 kB / 493.9 MB, free: 11.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.3685, allocations: 192.7 kB / 494.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3685, allocations: 3.938 kB / 494.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001016/0.3695, allocations: 0.513 MB / 494.6 MB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/0.37, allocations: 1.309 MB / 495.9 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.37, allocations: 7.938 kB / 495.9 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.3702, allocations: 60.73 kB / 496 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.3706, allocations: 99.89 kB / 496.1 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.372, allocations: 1.505 MB / 497.6 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3723, allocations: 51.52 kB / 497.6 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.3724, allocations: 24.05 kB / 497.6 MB, free: 7.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.3724, allocations: 7.938 kB / 497.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009286/0.3733, allocations: 456.4 kB / 498.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3733, allocations: 4.125 kB / 498.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.3735, allocations: 57.27 kB / 498.2 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.3739, allocations: 99.83 kB / 498.2 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.375, allocations: 1.413 MB / 499.7 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.3753, allocations: 43.64 kB / 499.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.3754, allocations: 24.05 kB / 499.7 MB, free: 5.098 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.0001209/0.3755, allocations: 120.8 kB / 499.8 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3756, allocations: 35.61 kB / 499.9 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.3767, allocations: 0.5228 MB / 0.4887 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007683/0.3775, allocations: 432.4 kB / 0.4891 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3775, allocations: 0 / 0.4891 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3775, allocations: 0 / 0.4891 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.3792, allocations: 1.079 MB / 0.4901 GB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3792, allocations: 4 kB / 0.4901 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.3796, allocations: 84.08 kB / 0.4902 GB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.3798, allocations: 56.83 kB / 0.4903 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3798, allocations: 0 / 0.4903 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.381, allocations: 1.509 MB / 0.4918 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.381, allocations: 0 / 0.4918 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001202/0.3823, allocations: 0.771 MB / 0.4925 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3824, allocations: 148.6 kB / 0.4926 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.3825, allocations: 4.062 kB / 0.4927 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.3828, allocations: 27.98 kB / 0.4927 GB, free: 88 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.3829, allocations: 32.3 kB / 0.4927 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.3829, allocations: 11.98 kB / 0.4927 GB, free: 44 kB / 378.7 MB Notification: Performance of sort global known variables: time 0.1457/0.5286, allocations: 130.4 kB / 0.4928 GB, free: 47.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009436/0.5296, allocations: 245.2 kB / 0.4931 GB, free: 47.69 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.0002454/0.5298, allocations: 158.2 kB / 0.4932 GB, free: 47.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.5311, allocations: 0.9066 MB / 0.4941 GB, free: 47.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5311, allocations: 3.812 kB / 0.4941 GB, free: 47.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.5315, allocations: 318.7 kB / 0.4944 GB, free: 47.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.5317, allocations: 22.7 kB / 0.4944 GB, free: 47.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5328, allocations: 0.6151 MB / 0.495 GB, free: 47.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.5332, allocations: 0.8756 MB / 0.4959 GB, free: 46.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5332, allocations: 7.578 kB / 0.4959 GB, free: 46.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01042/0.5436, allocations: 7.421 MB / 0.5032 GB, free: 46.09 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches