Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.429/1.429, allocations: 227.7 MB / 247.7 MB, free: 10.35 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 65.16 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09727, allocations: 50.54 MB / 358.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005964/0.1033, allocations: 3.96 MB / 362.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002918/0.1062, allocations: 1.624 MB / 364 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.1065, allocations: 12 kB / 364 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.1083, allocations: 0.7622 MB / 364.8 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009649/0.1093, allocations: 381.5 kB / 365.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.1107, allocations: 0.6733 MB / 365.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006926/0.1114, allocations: 0.5215 MB / 366.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/0.1121, allocations: 0.4925 MB / 366.9 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.1125, allocations: 243 kB / 367.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.1129, allocations: 286.8 kB / 367.4 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.093e-05/0.113, allocations: 56 kB / 367.4 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/0.1135, allocations: 259.8 kB / 367.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1136, allocations: 127.5 kB / 367.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.1139, allocations: 258.7 kB / 368.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.115, allocations: 0.7944 MB / 368.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.115, allocations: 0 / 368.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.115, allocations: 0 / 368.8 MB, free: 3.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.115, allocations: 0 / 368.8 MB, free: 3.496 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.002248/0.1172, allocations: 0.9598 MB / 369.8 MB, free: 2.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1173, allocations: 12.03 kB / 369.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.1203, allocations: 407.8 kB / 370.2 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.1208, allocations: 363.7 kB / 370.6 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.1209, allocations: 45.69 kB / 370.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.121, allocations: 63.94 kB / 370.7 MB, free: 1.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1222, allocations: 0.6198 MB / 371.3 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.1222, allocations: 8 kB / 371.3 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.1223, allocations: 20 kB / 371.3 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.1223, allocations: 20 kB / 371.3 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.1235, allocations: 0.5673 MB / 371.9 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1563/0.2798, allocations: 2.259 MB / 374.2 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.2812, allocations: 1.175 MB / 375.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.2816, allocations: 193.9 kB / 375.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.2817, allocations: 177.1 kB / 375.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2818, allocations: 45.22 kB / 375.8 MB, free: 17.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.325e-06/0.2818, allocations: 1.094 kB / 375.8 MB, free: 17.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001678/0.2835, allocations: 0.6752 MB / 376.4 MB, free: 17.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.2835, allocations: 56.53 kB / 376.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.2838, allocations: 281.8 kB / 376.8 MB, free: 17.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2838, allocations: 36.2 kB / 376.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.284, allocations: 245.5 kB / 377 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/0.2841, allocations: 148.9 kB / 377.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.2842, allocations: 84 kB / 377.3 MB, free: 16.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.2843, allocations: 339.8 kB / 377.6 MB, free: 16.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.2846, allocations: 158.9 kB / 377.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.285, allocations: 257.2 kB / 378 MB, free: 16.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.2857, allocations: 433.6 kB / 378.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2857, allocations: 0 / 378.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001013/0.2867, allocations: 0.5205 MB / 378.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2868, allocations: 7.578 kB / 379 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2868, allocations: 2.75 kB / 379 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/0.287, allocations: 56.72 kB / 379 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.2875, allocations: 101.3 kB / 379.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.2886, allocations: 1.769 MB / 380.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.289, allocations: 61.22 kB / 380.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.289, allocations: 16.97 kB / 381 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003872/0.2894, allocations: 267.7 kB / 381.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003154/0.2897, allocations: 249.8 kB / 381.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006057/0.2903, allocations: 422.8 kB / 381.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.2904, allocations: 0 / 381.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008963/0.2913, allocations: 0.5134 MB / 382.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2913, allocations: 7.75 kB / 382.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2913, allocations: 7.875 kB / 382.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.2915, allocations: 59.86 kB / 382.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.2918, allocations: 95.3 kB / 382.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.2929, allocations: 1.754 MB / 384.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.2932, allocations: 48.89 kB / 384.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.2932, allocations: 19.19 kB / 384.4 MB, free: 11.41 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.0001244/0.2934, allocations: 216 kB / 384.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.2934, allocations: 32.34 kB / 384.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.2946, allocations: 0.4973 MB / 385.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.2946, allocations: 8.469 kB / 385.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2946, allocations: 6.781 kB / 385.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.2946, allocations: 2.391 kB / 385.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.2962, allocations: 1.083 MB / 386.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2962, allocations: 9.312 kB / 386.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.2966, allocations: 78.34 kB / 386.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.2968, allocations: 51.95 kB / 386.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.2969, allocations: 9.031 kB / 386.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.2981, allocations: 1.762 MB / 388.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2981, allocations: 0 / 388.1 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2994, allocations: 0.7507 MB / 388.9 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2995, allocations: 143.1 kB / 389 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.2995, allocations: 10.03 kB / 389 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.2998, allocations: 22.55 kB / 389 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.2999, allocations: 29.52 kB / 389.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.2999, allocations: 14.17 kB / 389.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.3001, allocations: 198.3 kB / 389.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3001, allocations: 0 / 389.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008931/0.301, allocations: 242.4 kB / 389.5 MB, free: 7.875 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.0002188/0.3013, allocations: 136.6 kB / 389.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.303, allocations: 0.9056 MB / 390.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.303, allocations: 1.312 kB / 390.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.3035, allocations: 336.5 kB / 390.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.304, allocations: 54.5 kB / 390.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3054, allocations: 0.8916 MB / 391.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3057, allocations: 0.8255 MB / 392.7 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.3058, allocations: 38.77 kB / 392.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3058, allocations: 0 / 392.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01012/0.3159, allocations: 7.278 MB / 400 MB, free: 3.012 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches