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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000884/0.0008841, allocations: 95.95 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.298e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.5053, allocations: 84.56 MB / 479.7 MB, free: 8.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5057, allocations: 83.7 kB / 479.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03844/0.5441, allocations: 16.93 MB / 496.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5442, allocations: 0 / 496.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.955e-05/0.5442, allocations: 16 kB / 496.8 MB, free: 11.12 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.002357/0.5466, allocations: 0.7931 MB / 497.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5466, allocations: 8.031 kB / 497.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.5487, allocations: 310.2 kB / 497.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.5493, allocations: 334.5 kB / 498.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.5493, allocations: 24 kB / 498.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.5495, allocations: 35.61 kB / 498.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00112/0.5506, allocations: 0.6469 MB / 498.9 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.5516, allocations: 0.5786 MB / 499.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5517, allocations: 3.938 kB / 499.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.5517, allocations: 0 / 499.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.5517, allocations: 16 kB / 499.5 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.5556, allocations: 2.331 MB / 0.4901 GB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.5569, allocations: 1.123 MB / 0.4912 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.5572, allocations: 166.2 kB / 0.4913 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001894/0.5574, allocations: 178.5 kB / 0.4915 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5574, allocations: 42.42 kB / 0.4915 GB, free: 5.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 5.601e-06/0.5574, allocations: 0 / 0.4915 GB, free: 5.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001385/0.5588, allocations: 493 kB / 0.492 GB, free: 5.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.5589, allocations: 85.06 kB / 0.4921 GB, free: 5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.5592, allocations: 243.2 kB / 0.4923 GB, free: 4.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.5592, allocations: 29.64 kB / 0.4923 GB, free: 4.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.5594, allocations: 258.7 kB / 0.4926 GB, free: 4.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5595, allocations: 152.6 kB / 0.4927 GB, free: 4.422 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.5596, allocations: 1.781 kB / 0.4927 GB, free: 4.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5597, allocations: 338.4 kB / 0.4931 GB, free: 4.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.56, allocations: 172.5 kB / 0.4932 GB, free: 3.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.5604, allocations: 299.4 kB / 0.4935 GB, free: 3.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.5614, allocations: 345.2 kB / 0.4938 GB, free: 3.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5614, allocations: 0 / 0.4938 GB, free: 3.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001646/0.563, allocations: 0.689 MB / 0.4945 GB, free: 2.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006496/0.5637, allocations: 1.399 MB / 0.4959 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5637, allocations: 4 kB / 0.4959 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.564, allocations: 60.78 kB / 0.4959 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.5645, allocations: 115.8 kB / 0.4961 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.566, allocations: 1.517 MB / 0.4975 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.5664, allocations: 51.58 kB / 0.4976 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.5665, allocations: 27.98 kB / 0.4976 GB, free: 15.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.5665, allocations: 4 kB / 0.4976 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001544/0.5681, allocations: 0.6255 MB / 0.4982 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5681, allocations: 4 kB / 0.4982 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.5683, allocations: 56.89 kB / 0.4983 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.5687, allocations: 103.9 kB / 0.4984 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.5699, allocations: 1.442 MB / 0.4998 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.5703, allocations: 39.66 kB / 0.4998 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.5704, allocations: 23.98 kB / 0.4999 GB, free: 12.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001547/0.5705, allocations: 120.8 kB / 0.5 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.5706, allocations: 35.66 kB / 0.5 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.5721, allocations: 0.5513 MB / 0.5005 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.5721, allocations: 4 kB / 0.5005 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5721, allocations: 0 / 0.5005 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5721, allocations: 3.953 kB / 0.5005 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.5743, allocations: 1.111 MB / 0.5016 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5743, allocations: 0 / 0.5016 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.5747, allocations: 79.89 kB / 0.5017 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.5749, allocations: 53.02 kB / 0.5018 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.5749, allocations: 8 kB / 0.5018 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.5763, allocations: 1.523 MB / 0.5033 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.5763, allocations: 3.953 kB / 0.5033 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.5779, allocations: 0.7998 MB / 0.504 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.5781, allocations: 144.7 kB / 0.5042 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.5782, allocations: 0 / 0.5042 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.5785, allocations: 22.05 kB / 0.5042 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.5786, allocations: 32.39 kB / 0.5042 GB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.5786, allocations: 15.98 kB / 0.5042 GB, free: 8.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.5789, allocations: 183.4 kB / 0.5044 GB, free: 7.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5789, allocations: 0 / 0.5044 GB, free: 7.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001051/0.5799, allocations: 258.9 kB / 0.5047 GB, free: 7.641 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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003172/0.5802, allocations: 155.2 kB / 0.5048 GB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.5818, allocations: 0.92 MB / 0.5057 GB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.5818, allocations: 0 / 0.5057 GB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.5822, allocations: 307.3 kB / 0.506 GB, free: 6.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.5826, allocations: 26.09 kB / 0.506 GB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.5838, allocations: 0.5797 MB / 0.5066 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.5843, allocations: 0.8288 MB / 0.5074 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009066/0.5852, allocations: 0.5781 MB / 0.508 GB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.5853, allocations: 39.42 kB / 0.508 GB, free: 4.141 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5853, allocations: 2.156 kB / 0.508 GB, free: 4.141 MB / 378.7 MB Notification: Performance of Templates: time 0.01054/0.5959, allocations: 4.877 MB / 0.5128 GB, free: 15.33 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) "" Variables in the reference:time,inductor.pin_p.reference.gamma,abs_y,dB_y,arg_y Variables in the result:abs_y,arg_y,bode.complexToPolar.useConjugateInput,bode.division.useConjugateInput1,bode.division.useConjugateInput2,bode.gain.k,bode.limiter.homotopyType,bode.limiter.strict,bode.limiter.uMax,bode.limiter.uMin,complexConst.k.im,complexConst.k.re,currentSensor.pin_p.reference.gamma,dB_y,frequencySweep.duration,frequencySweep.startTime,frequencySweep.wMax,frequencySweep.wMin,inductor.L,inductor.pin_p.reference.gamma,resistor.R_ref,resistor.T,resistor.T_ref,resistor.alpha_ref,time