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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 223.7 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009497/0.0009498, allocations: 108.5 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000772/0.0007721, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2089, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005094/0.214, allocations: 4.111 MB / 377.9 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.2166, allocations: 1.628 MB / 379.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.217, allocations: 12.38 kB / 379.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.2187, allocations: 0.7284 MB / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.2198, allocations: 0.5345 MB / 380.8 MB, free: 40.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008795/0.2207, allocations: 0.5198 MB / 381.4 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000611/0.2213, allocations: 0.5652 MB / 381.9 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.222, allocations: 452.5 kB / 382.4 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.2223, allocations: 237.8 kB / 382.6 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.2226, allocations: 319.6 kB / 382.9 MB, free: 39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.2227, allocations: 44.36 kB / 382.9 MB, free: 38.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.2231, allocations: 225.3 kB / 383.2 MB, free: 38.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.2232, allocations: 130.4 kB / 383.3 MB, free: 38.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.2234, allocations: 273.2 kB / 383.6 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007456/0.2242, allocations: 0.8309 MB / 384.4 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2242, allocations: 0 / 384.4 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2242, allocations: 0 / 384.4 MB, free: 37.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.2242, allocations: 1.094 kB / 384.4 MB, free: 37.99 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002132/0.2264, allocations: 1.037 MB / 385.4 MB, free: 37.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2264, allocations: 13.97 kB / 385.4 MB, free: 37.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/0.2302, allocations: 0.6058 MB / 386.1 MB, free: 36.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.2307, allocations: 380.8 kB / 386.4 MB, free: 36.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.2308, allocations: 52.94 kB / 386.5 MB, free: 36.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.2309, allocations: 66.97 kB / 386.5 MB, free: 36.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.232, allocations: 0.8071 MB / 387.3 MB, free: 35.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.232, allocations: 7.844 kB / 387.4 MB, free: 35.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.2321, allocations: 28 kB / 387.4 MB, free: 35.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.2321, allocations: 26 kB / 387.4 MB, free: 35.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.2332, allocations: 0.8472 MB / 388.3 MB, free: 34.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.2361, allocations: 2.712 MB / 391 MB, free: 32.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.2374, allocations: 1.961 MB / 392.9 MB, free: 29.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.2378, allocations: 250.1 kB / 393.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.2379, allocations: 93.78 kB / 393.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.2379, allocations: 42.94 kB / 393.3 MB, free: 29.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.613e-06/0.2379, allocations: 4 kB / 393.3 MB, free: 29.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001485/0.2394, allocations: 0.8324 MB / 394.1 MB, free: 28.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.2394, allocations: 59.78 kB / 394.2 MB, free: 28.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2396, allocations: 308.4 kB / 394.5 MB, free: 28.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2397, allocations: 33.7 kB / 394.5 MB, free: 28.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.2398, allocations: 287.7 kB / 394.8 MB, free: 27.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.2399, allocations: 169.6 kB / 395 MB, free: 27.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.24, allocations: 114.2 kB / 395.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.2401, allocations: 346.8 kB / 395.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.2404, allocations: 207.4 kB / 395.6 MB, free: 26.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.2408, allocations: 390.3 kB / 396 MB, free: 26.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.2416, allocations: 0.6233 MB / 396.6 MB, free: 25.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2416, allocations: 0 / 396.6 MB, free: 25.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001022/0.2426, allocations: 0.708 MB / 397.3 MB, free: 25.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2426, allocations: 8 kB / 397.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2427, allocations: 4 kB / 397.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.2429, allocations: 60.81 kB / 397.4 MB, free: 24.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.2433, allocations: 144.2 kB / 397.6 MB, free: 24.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009747/0.2443, allocations: 1.592 MB / 399.2 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.2446, allocations: 63.28 kB / 399.2 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.2447, allocations: 35.98 kB / 399.2 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003918/0.2451, allocations: 333.3 kB / 399.6 MB, free: 22.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003522/0.2454, allocations: 382.4 kB / 399.9 MB, free: 22.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006412/0.2461, allocations: 0.6001 MB / 400.5 MB, free: 21.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.2461, allocations: 4 kB / 400.6 MB, free: 21.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0009576/0.2471, allocations: 0.6969 MB / 401.2 MB, free: 20.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.2471, allocations: 8 kB / 401.3 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2471, allocations: 8.125 kB / 401.3 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.2472, allocations: 56.83 kB / 401.3 MB, free: 20.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.2477, allocations: 135.8 kB / 401.5 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008749/0.2485, allocations: 1.6 MB / 403.1 MB, free: 18.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.2489, allocations: 47.59 kB / 403.1 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.2489, allocations: 36.05 kB / 403.1 MB, free: 18.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0001084/0.249, allocations: 220.9 kB / 403.3 MB, free: 18.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.2491, allocations: 39.47 kB / 403.4 MB, free: 18.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009992/0.2501, allocations: 0.618 MB / 404 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2501, allocations: 4 kB / 404 MB, free: 17.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2501, allocations: 3.938 kB / 404 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2501, allocations: 3.984 kB / 404 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.2516, allocations: 1.293 MB / 405.3 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2516, allocations: 4.125 kB / 405.3 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.252, allocations: 95.88 kB / 405.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.2521, allocations: 56.77 kB / 405.5 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.2522, allocations: 15.98 kB / 405.5 MB, free: 16.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/0.253, allocations: 1.569 MB / 407 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2531, allocations: 0 / 407 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.2554, allocations: 2.268 MB / 409.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2556, allocations: 152.5 kB / 409.5 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.2556, allocations: 8 kB / 409.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.2559, allocations: 24.08 kB / 409.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.256, allocations: 40.38 kB / 409.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.256, allocations: 16 kB / 409.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2562, allocations: 211.1 kB / 409.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2562, allocations: 4 kB / 409.8 MB, free: 11.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009712/0.2572, allocations: 307.1 kB / 410.1 MB, free: 11.51 MB / 298.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.0001885/0.2574, allocations: 139.2 kB / 410.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.2589, allocations: 1.115 MB / 411.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2589, allocations: 0 / 411.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.2594, allocations: 393 kB / 411.7 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.2598, allocations: 46.92 kB / 411.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2613, allocations: 1.524 MB / 413.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2616, allocations: 0.8525 MB / 414.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001017/0.2626, allocations: 1.099 MB / 415.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2627, allocations: 43.42 kB / 415.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2627, allocations: 3.938 kB / 415.3 MB, free: 6.203 MB / 298.7 MB Notification: Performance of Templates: time 0.008688/0.2714, allocations: 5.582 MB / 420.8 MB, free: 0.6289 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesBode/SeriesBode.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches