Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 168.2 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 250.4 MB, free: 7.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.926e-05, allocations: 6.25 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005937/0.005966, allocations: 3.744 MB / 254.1 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.008989, allocations: 1.562 MB / 255.7 MB, free: 2.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.00919, allocations: 15.94 kB / 255.7 MB, free: 2.484 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.01109, allocations: 0.7579 MB / 256.4 MB, free: 1.719 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.01211, allocations: 425.7 kB / 256.9 MB, free: 1.301 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.01346, allocations: 0.6342 MB / 257.5 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007695/0.01422, allocations: 0.6145 MB / 258.1 MB, free: 48 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.015, allocations: 468 kB / 258.6 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.01551, allocations: 383 kB / 258.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.01587, allocations: 251.3 kB / 259.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.01595, allocations: 56 kB / 259.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.01639, allocations: 239.6 kB / 259.5 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.01653, allocations: 135.5 kB / 259.6 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.01676, allocations: 199.4 kB / 259.8 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.01807, allocations: 0.8682 MB / 260.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01808, allocations: 0 / 260.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01808, allocations: 0 / 260.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.01809, allocations: 0 / 260.7 MB, free: 13.48 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00228/0.02037, allocations: 0.9462 MB / 261.6 MB, free: 12.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.0204, allocations: 15.98 kB / 261.6 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004436/0.02484, allocations: 0.7574 MB / 262.4 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007114/0.02555, allocations: 330.7 kB / 262.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.02561, allocations: 46.38 kB / 262.8 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.02574, allocations: 76.36 kB / 262.8 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.02723, allocations: 0.7782 MB / 263.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.02726, allocations: 8.125 kB / 263.6 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.02734, allocations: 35.94 kB / 263.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.02736, allocations: 20 kB / 263.7 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.02886, allocations: 0.7027 MB / 264.4 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.03267, allocations: 1.966 MB / 266.3 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.03427, allocations: 0.5472 MB / 266.9 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.03471, allocations: 190.2 kB / 267.1 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.181e-05/0.03478, allocations: 20.48 kB / 267.1 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.03504, allocations: 39.06 kB / 267.1 MB, free: 6.824 MB / 250.7 MB Notification: Performance of pre-optimization done (n=48): time 1.853e-06/0.03504, allocations: 0 / 267.1 MB, free: 6.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001875/0.03692, allocations: 0.646 MB / 267.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.03697, allocations: 59.91 kB / 267.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.03726, allocations: 241.5 kB / 268.1 MB, free: 5.852 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/0.03734, allocations: 33.7 kB / 268.1 MB, free: 5.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.0376, allocations: 316.5 kB / 268.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.03776, allocations: 166.5 kB / 268.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.03794, allocations: 106.3 kB / 268.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.03814, allocations: 342.8 kB / 269 MB, free: 4.883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.03856, allocations: 171.4 kB / 269.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.03914, allocations: 361.2 kB / 269.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.04016, allocations: 0.539 MB / 270.1 MB, free: 3.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.04017, allocations: 0 / 270.1 MB, free: 3.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001387/0.04156, allocations: 0.6466 MB / 270.7 MB, free: 3.008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.04158, allocations: 15.44 kB / 270.7 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.04159, allocations: 4 kB / 270.7 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003463/0.04193, allocations: 72.81 kB / 270.8 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.04247, allocations: 127.8 kB / 270.9 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.04436, allocations: 1.648 MB / 272.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.04474, allocations: 67.55 kB / 272.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.04479, allocations: 27.98 kB / 272.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005359/0.04532, allocations: 293.4 kB / 273 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005357/0.04586, allocations: 345.3 kB / 273.3 MB, free: 248 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009726/0.04683, allocations: 0.5312 MB / 273.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.16e-06/0.04684, allocations: 4 kB / 273.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001609/0.04845, allocations: 0.6304 MB / 274.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.04847, allocations: 8 kB / 274.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.04848, allocations: 4.688 kB / 274.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/0.04879, allocations: 76.81 kB / 274.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.04931, allocations: 131.8 kB / 274.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.05119, allocations: 1.637 MB / 276.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.05153, allocations: 55.84 kB / 276.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.05158, allocations: 24 kB / 276.4 MB, free: 12.95 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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.0002208/0.0518, allocations: 220 kB / 276.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.05192, allocations: 55.7 kB / 276.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.05318, allocations: 0.5219 MB / 277.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.05319, allocations: 4 kB / 277.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.05319, allocations: 3.938 kB / 277.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.0532, allocations: 3.984 kB / 277.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.0551, allocations: 0.9762 MB / 278.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.05511, allocations: 0 / 278.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.05551, allocations: 87.89 kB / 278.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.05578, allocations: 64.81 kB / 278.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.05581, allocations: 11.98 kB / 278.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.05754, allocations: 1.637 MB / 280 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.05754, allocations: 8.078 kB / 280 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.05917, allocations: 0.7913 MB / 280.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.05931, allocations: 63.64 kB / 280.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.05936, allocations: 12 kB / 280.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.05963, allocations: 19.98 kB / 280.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.05973, allocations: 40.48 kB / 280.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.05976, allocations: 19.94 kB / 280.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.05994, allocations: 157.2 kB / 281.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05994, allocations: 0 / 281.1 MB, free: 8.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001261/0.06121, allocations: 287.1 kB / 281.4 MB, free: 7.812 MB / 266.7 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 (46): * Single equations (assignments): 45 * 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.0002754/0.06148, allocations: 127.2 kB / 281.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.06342, allocations: 0.9451 MB / 282.4 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.06342, allocations: 4.188 kB / 282.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006416/0.06407, allocations: 329.3 kB / 282.8 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.06448, allocations: 51.88 kB / 282.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.06631, allocations: 0.9421 MB / 283.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.06659, allocations: 234.2 kB / 284 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.06694, allocations: 83.22 kB / 284.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.06706, allocations: 44.48 kB / 284.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.06706, allocations: 0 / 284.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of Templates: time 0.01162/0.07868, allocations: 4.678 MB / 288.8 MB, free: 332 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.485506506985985]