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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009619/0.0009619, allocations: 111.2 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008437/0.0008438, allocations: 47.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.204, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003659/0.2077, allocations: 3.951 MB / 403.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.2094, allocations: 1.561 MB / 405 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.2096, allocations: 12 kB / 405 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.2108, allocations: 0.7278 MB / 405.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.2116, allocations: 491.2 kB / 406.2 MB, free: 26.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.2123, allocations: 0.5102 MB / 406.7 MB, free: 26.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.2127, allocations: 0.5096 MB / 407.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.2133, allocations: 443.8 kB / 407.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.2135, allocations: 227.1 kB / 407.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2137, allocations: 286.8 kB / 408.2 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.2137, allocations: 40 kB / 408.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.2141, allocations: 219.8 kB / 408.4 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.2141, allocations: 111.5 kB / 408.5 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2143, allocations: 258.6 kB / 408.8 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.2148, allocations: 0.7711 MB / 409.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2148, allocations: 0 / 409.5 MB, free: 23.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.2148, allocations: 3.938 kB / 409.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2148, allocations: 8 kB / 409.6 MB, free: 23.25 MB / 298.7 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.001878/0.2167, allocations: 0.9832 MB / 410.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2167, allocations: 8.031 kB / 410.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.2192, allocations: 407.9 kB / 410.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2196, allocations: 357.4 kB / 411.3 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2197, allocations: 41.69 kB / 411.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/0.2198, allocations: 67.84 kB / 411.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009516/0.2207, allocations: 0.7057 MB / 412.1 MB, free: 20.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.2208, allocations: 0 / 412.1 MB, free: 20.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.2208, allocations: 27.98 kB / 412.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2208, allocations: 21.31 kB / 412.2 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.2219, allocations: 0.6923 MB / 412.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.2245, allocations: 2.362 MB / 415.2 MB, free: 17.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.2256, allocations: 1.186 MB / 416.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.226, allocations: 228.8 kB / 416.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/0.226, allocations: 97.39 kB / 416.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.2261, allocations: 38.56 kB / 416.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.2261, allocations: 3.984 kB / 416.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.00153/0.2276, allocations: 0.7956 MB / 417.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.2276, allocations: 59.41 kB / 417.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.2278, allocations: 274.5 kB / 417.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.2279, allocations: 33.7 kB / 417.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.228, allocations: 244.3 kB / 418.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.228, allocations: 141.9 kB / 418.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2282, allocations: 98.14 kB / 418.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.2282, allocations: 342.8 kB / 418.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.2286, allocations: 191 kB / 418.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.2289, allocations: 306.3 kB / 419.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/0.2296, allocations: 0.4977 MB / 419.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2296, allocations: 4 kB / 419.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009513/0.2306, allocations: 0.5953 MB / 420.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2306, allocations: 8 kB / 420.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.2306, allocations: 4 kB / 420.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.2309, allocations: 52.83 kB / 420.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.2313, allocations: 107.9 kB / 420.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009913/0.2323, allocations: 1.6 MB / 422.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.2326, allocations: 55.45 kB / 422.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.2326, allocations: 27.98 kB / 422.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003823/0.233, allocations: 305.2 kB / 422.5 MB, free: 9.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003241/0.2333, allocations: 294.5 kB / 422.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006178/0.2339, allocations: 0.4887 MB / 423.2 MB, free: 8.719 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/0.234, allocations: 4 kB / 423.2 MB, free: 8.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008819/0.2348, allocations: 0.5908 MB / 423.8 MB, free: 8.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.2349, allocations: 5.094 kB / 423.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2349, allocations: 4 kB / 423.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.235, allocations: 57.11 kB / 423.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.2354, allocations: 111.8 kB / 424 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008972/0.2363, allocations: 1.588 MB / 425.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2366, allocations: 39.69 kB / 425.6 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.2366, allocations: 27.92 kB / 425.7 MB, free: 6.141 MB / 298.7 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 9.79e-05/0.2367, allocations: 209 kB / 425.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.2368, allocations: 35.7 kB / 425.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.2378, allocations: 0.5941 MB / 426.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2378, allocations: 4 kB / 426.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2378, allocations: 0 / 426.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2379, allocations: 3.984 kB / 426.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.2393, allocations: 1.221 MB / 427.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2393, allocations: 3.938 kB / 427.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.2397, allocations: 91.88 kB / 427.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.2398, allocations: 44.83 kB / 427.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.2399, allocations: 15.98 kB / 427.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009643/0.2408, allocations: 1.597 MB / 429.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2408, allocations: 3.938 kB / 429.5 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.2435, allocations: 2.189 MB / 431.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.2437, allocations: 144.7 kB / 431.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.2437, allocations: 12 kB / 431.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.244, allocations: 19.92 kB / 431.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.2441, allocations: 40.38 kB / 431.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.2441, allocations: 19.94 kB / 431.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.2443, allocations: 194 kB / 432.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2443, allocations: 0 / 432.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009789/0.2453, allocations: 279.1 kB / 432.3 MB, free: 15.07 MB / 314.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 (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.0002375/0.2456, allocations: 131.3 kB / 432.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.2473, allocations: 1.008 MB / 433.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2473, allocations: 0 / 433.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.2479, allocations: 380.9 kB / 433.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.2483, allocations: 45.09 kB / 433.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2501, allocations: 1.384 MB / 435.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.2505, allocations: 0.8291 MB / 436.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001243/0.2517, allocations: 1.081 MB / 437.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.2518, allocations: 43.42 kB / 437.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2519, allocations: 3.938 kB / 437.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of Templates: time 0.009741/0.2616, allocations: 5.281 MB / 442.5 MB, free: 4.809 MB / 314.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches