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.001567/0.001567, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009226/0.0009224, allocations: 90.47 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.4e-05, allocations: 4 kB / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4604, allocations: 85.23 MB / 487.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4607, allocations: 81.83 kB / 487.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04011/0.5008, allocations: 17.13 MB / 0.4926 GB, free: 4.672 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5008, allocations: 0 / 0.4926 GB, free: 4.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.5008, allocations: 8 kB / 0.4927 GB, free: 4.664 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.002188/0.503, allocations: 0.8023 MB / 0.4934 GB, free: 3.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5031, allocations: 8.031 kB / 0.4934 GB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.5057, allocations: 307 kB / 0.4937 GB, free: 3.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.5063, allocations: 336 kB / 0.4941 GB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.5064, allocations: 41.31 kB / 0.4941 GB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5065, allocations: 63.61 kB / 0.4942 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.5078, allocations: 0.6862 MB / 0.4948 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5078, allocations: 0 / 0.4948 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.5079, allocations: 24 kB / 0.4949 GB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.5079, allocations: 16 kB / 0.4949 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.5091, allocations: 0.669 MB / 0.4955 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00421/0.5134, allocations: 2.502 MB / 0.498 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.5149, allocations: 1.216 MB / 0.4992 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.5152, allocations: 234.1 kB / 0.4994 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.5154, allocations: 186.9 kB / 0.4996 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.5155, allocations: 34.94 kB / 0.4996 GB, free: 13.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/0.5155, allocations: 0 / 0.4996 GB, free: 13.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001044/0.5165, allocations: 0.4919 MB / 0.5001 GB, free: 12.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.5166, allocations: 88.86 kB / 0.5002 GB, free: 12.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.5169, allocations: 237 kB / 0.5004 GB, free: 12.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.517, allocations: 37.7 kB / 0.5004 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.5171, allocations: 244.3 kB / 0.5006 GB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.5173, allocations: 161.7 kB / 0.5008 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.5173, allocations: 8 kB / 0.5008 GB, free: 11.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5175, allocations: 350.7 kB / 0.5011 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.5178, allocations: 181.1 kB / 0.5013 GB, free: 11.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.5182, allocations: 325.8 kB / 0.5016 GB, free: 10.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.5186, allocations: 212.5 kB / 0.5018 GB, free: 10.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5187, allocations: 0 / 0.5018 GB, free: 10.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001121/0.5198, allocations: 0.5975 MB / 0.5024 GB, free: 10.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006568/0.5205, allocations: 1.403 MB / 0.5038 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5205, allocations: 0 / 0.5038 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.5207, allocations: 60.78 kB / 0.5038 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.5212, allocations: 115.8 kB / 0.504 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.5228, allocations: 1.587 MB / 0.5055 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.5233, allocations: 67.48 kB / 0.5056 GB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.5233, allocations: 24.11 kB / 0.5056 GB, free: 6.594 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5234, allocations: 4 kB / 0.5056 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009775/0.5243, allocations: 0.5511 MB / 0.5061 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.5244, allocations: 4 kB / 0.5061 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.5246, allocations: 52.83 kB / 0.5062 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.525, allocations: 103.9 kB / 0.5063 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.5264, allocations: 1.501 MB / 0.5077 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.5268, allocations: 59.42 kB / 0.5078 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.5269, allocations: 23.98 kB / 0.5078 GB, free: 4.16 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.0001733/0.527, allocations: 132.9 kB / 0.508 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.5271, allocations: 35.61 kB / 0.508 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.5283, allocations: 0.5865 MB / 0.5086 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5283, allocations: 7.953 kB / 0.5086 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5283, allocations: 7.984 kB / 0.5086 GB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5284, allocations: 8.875 kB / 0.5086 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.5303, allocations: 1.245 MB / 0.5098 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5303, allocations: 192 / 0.5098 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.5307, allocations: 99.88 kB / 0.5099 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.5309, allocations: 56.77 kB / 0.5099 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.5309, allocations: 8 kB / 0.51 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.5323, allocations: 1.577 MB / 0.5115 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5323, allocations: 0 / 0.5115 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.5337, allocations: 0.9014 MB / 0.5124 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.5339, allocations: 156.5 kB / 0.5125 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.534, allocations: 13.88 kB / 0.5125 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.5343, allocations: 27.98 kB / 0.5126 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.5344, allocations: 36.38 kB / 0.5126 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.5344, allocations: 28.17 kB / 0.5126 GB, free: 15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.5346, allocations: 183.1 kB / 0.5128 GB, free: 14.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5346, allocations: 0 / 0.5128 GB, free: 14.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009495/0.5356, allocations: 267.2 kB / 0.5131 GB, free: 14.55 MB / 394.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 (44): * Single equations (assignments): 41 * 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.0003632/0.5359, allocations: 174 kB / 0.5132 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.5377, allocations: 1.036 MB / 0.5142 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5378, allocations: 1.375 kB / 0.5142 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.5383, allocations: 385 kB / 0.5146 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5387, allocations: 34.61 kB / 0.5146 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.54, allocations: 0.6649 MB / 0.5153 GB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.5404, allocations: 0.8337 MB / 0.5161 GB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001352/0.5418, allocations: 1.09 MB / 0.5172 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.542, allocations: 43.41 kB / 0.5172 GB, free: 10.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.542, allocations: 0 / 0.5172 GB, free: 10.23 MB / 394.7 MB Notification: Performance of Templates: time 0.01142/0.5534, allocations: 5.848 MB / 0.5229 GB, free: 4.461 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