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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009789/0.0009789, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.361/1.361, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.0008161/0.0008159, allocations: 90.92 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.561e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.352/0.4627, allocations: 83.77 MB / 471.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4631, allocations: 75.95 kB / 471.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03996/0.503, allocations: 16.31 MB / 487.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5031, allocations: 0 / 487.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.5031, allocations: 11.94 kB / 487.6 MB, free: 10.52 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.001895/0.505, allocations: 0.7997 MB / 488.4 MB, free: 9.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5051, allocations: 12.03 kB / 488.4 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.5069, allocations: 299.1 kB / 488.7 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.5074, allocations: 336.2 kB / 489.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.5074, allocations: 20 kB / 489.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.5075, allocations: 32 kB / 489.1 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/0.5086, allocations: 0.643 MB / 489.8 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.5096, allocations: 0.586 MB / 490.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5096, allocations: 0 / 490.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.5096, allocations: 0 / 490.3 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.5097, allocations: 23.97 kB / 490.4 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.5131, allocations: 2.251 MB / 492.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5144, allocations: 1.121 MB / 493.7 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.5146, allocations: 174.9 kB / 493.9 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.5147, allocations: 89.11 kB / 494 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5148, allocations: 34.56 kB / 494 MB, free: 3.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.095e-06/0.5148, allocations: 0 / 494 MB, free: 3.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001047/0.5158, allocations: 457 kB / 494.5 MB, free: 3.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.5159, allocations: 85.06 kB / 494.6 MB, free: 3.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.5162, allocations: 237.7 kB / 494.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.5162, allocations: 25.7 kB / 494.8 MB, free: 2.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.5164, allocations: 267.8 kB / 495.1 MB, free: 2.594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.5165, allocations: 141.8 kB / 495.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.5165, allocations: 0 / 495.2 MB, free: 2.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5167, allocations: 334.8 kB / 495.5 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.5169, allocations: 177.1 kB / 495.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.5173, allocations: 299.4 kB / 496 MB, free: 1.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.518, allocations: 285.7 kB / 496.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.518, allocations: 4 kB / 496.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00121/0.5192, allocations: 0.64 MB / 496.9 MB, free: 0.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005749/0.5198, allocations: 1.402 MB / 498.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5198, allocations: 4 kB / 498.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.5201, allocations: 56.83 kB / 498.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.5206, allocations: 107.9 kB / 498.5 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.5221, allocations: 1.529 MB / 0.4883 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.5225, allocations: 51.58 kB / 0.4884 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.5225, allocations: 27.98 kB / 0.4884 GB, free: 13.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.5226, allocations: 7.938 kB / 0.4884 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001195/0.5238, allocations: 0.5672 MB / 0.4889 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5238, allocations: 7.938 kB / 0.489 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.5239, allocations: 52.83 kB / 0.489 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.5244, allocations: 107.8 kB / 0.4891 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.5256, allocations: 1.452 MB / 0.4905 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.5259, allocations: 47.64 kB / 0.4906 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.526, allocations: 20 kB / 0.4906 GB, free: 10.88 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.0001584/0.5262, allocations: 120.8 kB / 0.4907 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.5262, allocations: 23.72 kB / 0.4907 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.5274, allocations: 0.5044 MB / 0.4912 GB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.5274, allocations: 8 kB / 0.4912 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5274, allocations: 0 / 0.4912 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5274, allocations: 0 / 0.4912 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.5291, allocations: 1.061 MB / 0.4923 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5291, allocations: 0 / 0.4923 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.5295, allocations: 83.84 kB / 0.4923 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.5297, allocations: 56.81 kB / 0.4924 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.5297, allocations: 4 kB / 0.4924 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.5311, allocations: 1.529 MB / 0.4939 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5311, allocations: 4.031 kB / 0.4939 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.5324, allocations: 0.7374 MB / 0.4946 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5325, allocations: 140.7 kB / 0.4948 GB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.5326, allocations: 8.125 kB / 0.4948 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.5329, allocations: 31.86 kB / 0.4948 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.533, allocations: 28.39 kB / 0.4948 GB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.533, allocations: 12 kB / 0.4948 GB, free: 6.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.5332, allocations: 189.2 kB / 0.495 GB, free: 6.137 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5332, allocations: 0 / 0.495 GB, free: 6.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001009/0.5342, allocations: 254.9 kB / 0.4953 GB, free: 5.887 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.0002731/0.5345, allocations: 143.1 kB / 0.4954 GB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.536, allocations: 0.9323 MB / 0.4963 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.536, allocations: 0 / 0.4963 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.5364, allocations: 307.3 kB / 0.4966 GB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.5367, allocations: 24.11 kB / 0.4966 GB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.5378, allocations: 0.5759 MB / 0.4972 GB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.5382, allocations: 0.8363 MB / 0.498 GB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008644/0.5391, allocations: 0.5894 MB / 0.4986 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.5392, allocations: 39.42 kB / 0.4986 GB, free: 2.367 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5392, allocations: 0 / 0.4986 GB, free: 2.367 MB / 378.7 MB Notification: Performance of Templates: time 0.009625/0.5488, allocations: 4.837 MB / 0.5033 GB, free: 13.55 MB / 394.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) "" 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