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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 89.67 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 182.5 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002457, allocations: 11.94 kB / 301.4 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.0913, allocations: 50.41 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004519/0.09586, allocations: 3.543 MB / 355.4 MB, free: 128 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.09896, allocations: 1.538 MB / 356.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.09931, allocations: 8 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.09988, allocations: 187.2 kB / 357.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.1011, allocations: 481.3 kB / 357.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1021, allocations: 0.5064 MB / 358.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.1028, allocations: 0.5019 MB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.1041, allocations: 0.8025 MB / 359.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1044, allocations: 187.2 kB / 359.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.1047, allocations: 258.8 kB / 359.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.1048, allocations: 20 kB / 359.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.1052, allocations: 219.8 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.1053, allocations: 83.61 kB / 360.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1055, allocations: 248.4 kB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007678/0.1062, allocations: 0.7554 MB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1063, allocations: 0 / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1063, allocations: 0 / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1063, allocations: 0 / 361.1 MB, free: 10.32 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.002172/0.1085, allocations: 0.8895 MB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1085, allocations: 12.03 kB / 362 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.1112, allocations: 407.9 kB / 362.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.1117, allocations: 348.4 kB / 362.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.1118, allocations: 45.69 kB / 362.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.881e-05/0.1119, allocations: 67.92 kB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.1131, allocations: 0.7057 MB / 363.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1132, allocations: 0 / 363.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.1132, allocations: 28 kB / 363.6 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.1133, allocations: 33.23 kB / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.1146, allocations: 0.704 MB / 364.4 MB, free: 7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.1182, allocations: 2.37 MB / 366.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.1196, allocations: 1.188 MB / 367.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.1201, allocations: 240.8 kB / 368.2 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-05/0.1202, allocations: 89.09 kB / 368.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1202, allocations: 34.56 kB / 368.3 MB, free: 2.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.843e-06/0.1202, allocations: 4 kB / 368.3 MB, free: 2.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001899/0.1221, allocations: 0.819 MB / 369.1 MB, free: 1.887 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1222, allocations: 59.41 kB / 369.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1224, allocations: 274.5 kB / 369.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.1225, allocations: 33.7 kB / 369.5 MB, free: 1.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1226, allocations: 248.6 kB / 369.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1227, allocations: 145.8 kB / 369.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.1228, allocations: 45.69 kB / 369.9 MB, free: 1.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1229, allocations: 338.8 kB / 370.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.1234, allocations: 197 kB / 370.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.1238, allocations: 310.3 kB / 370.7 MB, free: 184 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1656/0.2894, allocations: 0.5026 MB / 371.2 MB, free: 24.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.2894, allocations: 0.9688 kB / 371.2 MB, free: 24.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001419/0.2909, allocations: 0.6126 MB / 371.8 MB, free: 24.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.291, allocations: 187.1 kB / 372 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.291, allocations: 3.781 kB / 372 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.2913, allocations: 54.31 kB / 372.1 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.2918, allocations: 110.7 kB / 372.2 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.2931, allocations: 1.593 MB / 373.8 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.2934, allocations: 57.19 kB / 373.8 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.2935, allocations: 23.66 kB / 373.8 MB, free: 22.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.2935, allocations: 4.094 kB / 373.8 MB, free: 22.53 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/0.2947, allocations: 0.5548 MB / 374.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2947, allocations: 3.125 kB / 374.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.2948, allocations: 53.81 kB / 374.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.2953, allocations: 110 kB / 374.6 MB, free: 22.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.2964, allocations: 1.509 MB / 376.1 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.2967, allocations: 47.56 kB / 376.1 MB, free: 21.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.2967, allocations: 25.41 kB / 376.1 MB, free: 21.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0002977/0.297, allocations: 262.2 kB / 376.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.2971, allocations: 34.03 kB / 376.4 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.2983, allocations: 0.5991 MB / 377 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2983, allocations: 4.656 kB / 377 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2983, allocations: 6.156 kB / 377 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2984, allocations: 3.484 kB / 377 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.3001, allocations: 1.233 MB / 378.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3001, allocations: 5.375 kB / 378.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.3005, allocations: 89.58 kB / 378.4 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.3007, allocations: 52.17 kB / 378.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.3007, allocations: 14.67 kB / 378.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.3018, allocations: 1.588 MB / 380 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3018, allocations: 0 / 380 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.3033, allocations: 0.9105 MB / 380.9 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.3034, allocations: 149 kB / 381.1 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.3035, allocations: 6.031 kB / 381.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.3037, allocations: 24.25 kB / 381.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.224e-05/0.3038, allocations: 32.27 kB / 381.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.3039, allocations: 21.58 kB / 381.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3041, allocations: 193.8 kB / 381.4 MB, free: 17.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3041, allocations: 0 / 381.4 MB, free: 17.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008646/0.3049, allocations: 243.9 kB / 381.6 MB, free: 17.66 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.000221/0.3052, allocations: 138.4 kB / 381.7 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.307, allocations: 1.029 MB / 382.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.307, allocations: 0 / 382.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.3075, allocations: 387.8 kB / 383.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.308, allocations: 45.73 kB / 383.2 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.3096, allocations: 1.167 MB / 384.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3099, allocations: 0.8215 MB / 385.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001629/0.3115, allocations: 1.081 MB / 386.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.3117, allocations: 45.67 kB / 386.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3117, allocations: 4 kB / 386.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Templates: time 0.0103/0.322, allocations: 5.059 MB / 391.4 MB, free: 13.84 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches