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.001161/0.001161, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.94 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09847, allocations: 50.54 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005437/0.1039, allocations: 3.954 MB / 361.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.1068, allocations: 1.624 MB / 363.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.1072, allocations: 16 kB / 363.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.109, allocations: 0.7544 MB / 363.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009423/0.11, allocations: 378 kB / 364.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1113, allocations: 0.6806 MB / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.112, allocations: 0.5215 MB / 365.4 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000723/0.1127, allocations: 0.4963 MB / 365.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.113, allocations: 239.1 kB / 366.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.1133, allocations: 286.8 kB / 366.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.1134, allocations: 56 kB / 366.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.1139, allocations: 259.8 kB / 366.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.114, allocations: 123.5 kB / 366.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.1143, allocations: 262.7 kB / 367.1 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.1152, allocations: 0.7944 MB / 367.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1152, allocations: 0 / 367.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1152, allocations: 0 / 367.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1153, allocations: 0 / 367.9 MB, free: 3.672 MB / 302.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.002062/0.1173, allocations: 0.9559 MB / 368.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.1174, allocations: 19.95 kB / 368.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.1202, allocations: 407.9 kB / 369.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.1207, allocations: 359.5 kB / 369.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.1208, allocations: 45.69 kB / 369.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.983e-05/0.1209, allocations: 59.94 kB / 369.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.122, allocations: 0.6237 MB / 370.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.122, allocations: 4 kB / 370.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.1221, allocations: 31.98 kB / 370.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.1221, allocations: 16 kB / 370.4 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1232, allocations: 0.5712 MB / 371 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1696/0.2928, allocations: 2.252 MB / 373.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.2942, allocations: 1.179 MB / 374.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.2946, allocations: 195.7 kB / 374.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.795e-05/0.2947, allocations: 175.2 kB / 374.7 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2947, allocations: 40.97 kB / 374.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.2948, allocations: 0 / 374.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001582/0.2963, allocations: 0.6801 MB / 375.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.2964, allocations: 60.31 kB / 375.5 MB, free: 17.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.2967, allocations: 272.5 kB / 375.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.2967, allocations: 35.3 kB / 375.8 MB, free: 17.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.2968, allocations: 249.1 kB / 376.1 MB, free: 17.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.2969, allocations: 152.6 kB / 376.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.297, allocations: 84.56 kB / 376.3 MB, free: 16.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.2971, allocations: 343.7 kB / 376.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.2974, allocations: 157 kB / 376.8 MB, free: 16.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.2978, allocations: 254 kB / 377 MB, free: 16.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/0.2985, allocations: 433.7 kB / 377.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2986, allocations: 0 / 377.5 MB, free: 16.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001182/0.2997, allocations: 0.5204 MB / 378 MB, free: 15.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2998, allocations: 7.109 kB / 378 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.2998, allocations: 2.938 kB / 378 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.3, allocations: 55.56 kB / 378 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.3005, allocations: 101.9 kB / 378.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3016, allocations: 1.768 MB / 379.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.3019, allocations: 59.58 kB / 380 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.3019, allocations: 21.25 kB / 380 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003872/0.3023, allocations: 269.1 kB / 380.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003047/0.3027, allocations: 252.1 kB / 380.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005826/0.3032, allocations: 416.4 kB / 380.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.584e-06/0.3033, allocations: 1.406 kB / 380.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000868/0.3041, allocations: 0.5102 MB / 381.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3042, allocations: 7.188 kB / 381.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3042, allocations: 5.531 kB / 381.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.3043, allocations: 63.64 kB / 381.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.3047, allocations: 91.59 kB / 381.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009944/0.3057, allocations: 1.764 MB / 383.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.306, allocations: 43.16 kB / 383.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/0.306, allocations: 25.88 kB / 383.4 MB, free: 11.51 MB / 302.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.0001164/0.3061, allocations: 208.8 kB / 383.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.3062, allocations: 30.78 kB / 383.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3073, allocations: 0.5029 MB / 384.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3073, allocations: 10.02 kB / 384.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3073, allocations: 0.75 kB / 384.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3073, allocations: 2.625 kB / 384.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3088, allocations: 1.082 MB / 385.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3088, allocations: 1.062 kB / 385.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.3092, allocations: 87.94 kB / 385.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.3093, allocations: 48.5 kB / 385.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.3094, allocations: 11.88 kB / 385.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.3104, allocations: 1.765 MB / 387.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3104, allocations: 0.5625 kB / 387.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3116, allocations: 0.7465 MB / 387.9 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3118, allocations: 147.7 kB / 388.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.3118, allocations: 10.77 kB / 388.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.3121, allocations: 21.42 kB / 388.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.3122, allocations: 29.27 kB / 388.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.3122, allocations: 14.75 kB / 388.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.3124, allocations: 194.3 kB / 388.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3124, allocations: 0 / 388.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008061/0.3132, allocations: 242.8 kB / 388.6 MB, free: 7.984 MB / 302.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.0001972/0.3134, allocations: 144 kB / 388.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.315, allocations: 0.9023 MB / 389.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.315, allocations: 0 / 389.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.3155, allocations: 337.6 kB / 389.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3159, allocations: 45.33 kB / 390 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3172, allocations: 0.8611 MB / 390.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.3174, allocations: 0.8297 MB / 391.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003487/0.3178, allocations: 72.88 kB / 391.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.3179, allocations: 37.97 kB / 391.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3179, allocations: 0 / 391.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of Templates: time 0.009284/0.3272, allocations: 4.845 MB / 396.6 MB, free: 4.652 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/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