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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 106.6 kB / 18.45 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001901/0.001901, allocations: 213.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.357/2.357, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4937, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.01151/0.5053, allocations: 3.953 MB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006013/0.5114, allocations: 1.623 MB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.5121, allocations: 12 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.5158, allocations: 0.7778 MB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.5184, allocations: 369.6 kB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.5216, allocations: 0.6745 MB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.524, allocations: 0.5214 MB / 417.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.5259, allocations: 0.4959 MB / 418.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007723/0.5267, allocations: 247 kB / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007682/0.5275, allocations: 286.8 kB / 418.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.5277, allocations: 52 kB / 418.9 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.529, allocations: 259.8 kB / 419.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.5293, allocations: 123.6 kB / 419.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.5302, allocations: 270.6 kB / 419.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.5334, allocations: 0.7995 MB / 420.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.5334, allocations: 0 / 420.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.28e-06/0.5335, allocations: 0 / 420.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-05/0.5335, allocations: 4 kB / 420.4 MB, free: 7.121 MB / 334.1 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.004674/0.5382, allocations: 0.9558 MB / 421.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5383, allocations: 12.03 kB / 421.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005298/0.5436, allocations: 411.9 kB / 421.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.5452, allocations: 357.4 kB / 422.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.055e-05/0.5453, allocations: 45.62 kB / 422.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.5456, allocations: 59.94 kB / 422.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.5473, allocations: 0.6276 MB / 422.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.406e-05/0.5474, allocations: 3.906 kB / 422.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.5475, allocations: 27.94 kB / 422.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.5475, allocations: 20 kB / 422.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.5493, allocations: 0.5751 MB / 423.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005049/0.5544, allocations: 2.233 MB / 425.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.5571, allocations: 1.181 MB / 426.8 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/0.5579, allocations: 192.8 kB / 427 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.5582, allocations: 170.2 kB / 427.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/0.5583, allocations: 34.56 kB / 427.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 6.682e-06/0.5584, allocations: 4 kB / 427.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003223/0.5616, allocations: 0.6824 MB / 427.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.5617, allocations: 59.39 kB / 428 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.5624, allocations: 266.6 kB / 428.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.5625, allocations: 33.64 kB / 428.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.5628, allocations: 260.5 kB / 428.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.563, allocations: 145.9 kB / 428.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.5633, allocations: 86.16 kB / 428.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.5635, allocations: 342.8 kB / 429.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.5642, allocations: 155 kB / 429.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.5649, allocations: 253.9 kB / 429.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.5663, allocations: 437.7 kB / 429.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.5664, allocations: 0 / 429.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001821/0.5682, allocations: 0.5178 MB / 430.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.5683, allocations: 10.66 kB / 430.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.5683, allocations: 4.406 kB / 430.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.5687, allocations: 52.83 kB / 430.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.5693, allocations: 103.8 kB / 430.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.572, allocations: 1.767 MB / 432.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.5726, allocations: 59.31 kB / 432.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.5727, allocations: 27.92 kB / 432.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000869/0.5735, allocations: 265.3 kB / 432.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006465/0.5742, allocations: 249.2 kB / 433 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001247/0.5755, allocations: 423.7 kB / 433.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/0.5755, allocations: 0 / 433.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001782/0.5773, allocations: 0.5087 MB / 433.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.5773, allocations: 12.34 kB / 433.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.5774, allocations: 7.984 kB / 433.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.5777, allocations: 56.77 kB / 434 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.5784, allocations: 95.89 kB / 434 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.5813, allocations: 1.767 MB / 435.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.5819, allocations: 31.69 kB / 435.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.582, allocations: 28.05 kB / 435.9 MB, free: 6.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003676/0.5824, allocations: 208.1 kB / 436.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.5826, allocations: 35.56 kB / 436.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.5848, allocations: 0.4966 MB / 436.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.5848, allocations: 8 kB / 436.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.5849, allocations: 0 / 436.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.5849, allocations: 3.984 kB / 436.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.5882, allocations: 1.088 MB / 437.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5882, allocations: 0 / 437.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/0.5889, allocations: 71.89 kB / 437.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.5892, allocations: 52.83 kB / 437.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.5893, allocations: 11.98 kB / 437.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.5919, allocations: 1.767 MB / 439.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5919, allocations: 0 / 439.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.5945, allocations: 0.7424 MB / 440.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5949, allocations: 156.5 kB / 440.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.595, allocations: 8 kB / 440.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.5955, allocations: 19.98 kB / 440.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.5956, allocations: 28.39 kB / 440.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.001e-05/0.5957, allocations: 15.98 kB / 440.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003796/0.5961, allocations: 190 kB / 440.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5961, allocations: 4 kB / 440.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001682/0.5978, allocations: 243.1 kB / 441 MB, free: 1.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004355/0.5982, allocations: 142.8 kB / 441.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.6012, allocations: 0.8878 MB / 442 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6013, allocations: 0 / 442 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6023, allocations: 342 kB / 442.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007536/0.6031, allocations: 48.48 kB / 442.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.6059, allocations: 0.8691 MB / 443.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.6067, allocations: 0.821 MB / 444.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.6069, allocations: 43.42 kB / 444.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of SimCode: time 1.183e-06/0.607, allocations: 0 / 444.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Templates: time 0.0255/0.6325, allocations: 7.365 MB / 451.5 MB, free: 6.562 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches