Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 215.1 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2543, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01483/0.2692, allocations: 11.99 MB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008257/0.2774, allocations: 3.703 MB / 448 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003713/0.2811, allocations: 119.4 kB / 448.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01342/0.2946, allocations: 5.165 MB / 453.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005744/0.3003, allocations: 1.398 MB / 454.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.3039, allocations: 1.184 MB / 455.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009125/0.313, allocations: 6.489 MB / 462.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.3271, allocations: 9.068 MB / 471.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004783/0.3318, allocations: 3.363 MB / 474.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006114/0.338, allocations: 3.726 MB / 478.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.34, allocations: 0.8828 MB / 479.4 MB, free: 7.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.3429, allocations: 1.078 MB / 480.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.3448, allocations: 1.769 MB / 482.3 MB, free: 4.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004915/0.3497, allocations: 2.798 MB / 485.1 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.365, allocations: 12.05 MB / 497.1 MB, free: 5.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.365, allocations: 8 kB / 497.1 MB, free: 5.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.3651, allocations: 3.984 kB / 497.1 MB, free: 5.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003558/0.3654, allocations: 0 / 497.1 MB, free: 5.648 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02419/0.3896, allocations: 7.833 MB / 0.4931 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3896, allocations: 12.03 kB / 0.4932 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0199/0.4095, allocations: 2.873 MB / 0.496 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.4193, allocations: 3.752 MB / 0.4996 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005857/0.4199, allocations: 488.9 kB / 0.5001 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002618/0.4225, allocations: 0.621 MB / 0.5007 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02512/0.4476, allocations: 9.484 MB / 0.51 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00031/0.448, allocations: 11.95 kB / 0.51 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002206/0.4502, allocations: 260 kB / 0.5102 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004272/0.4506, allocations: 317.4 kB / 0.5105 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.4703, allocations: 7.938 MB / 0.5183 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3221/0.7923, allocations: 24.08 MB / 0.5418 GB, free: 85.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007737/0.8001, allocations: 3.912 MB / 0.5456 GB, free: 85.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.802, allocations: 1.45 MB / 0.547 GB, free: 85.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.8022, allocations: 65.89 kB / 0.5471 GB, free: 85.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.8023, allocations: 63.97 kB / 0.5471 GB, free: 85.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.29e-06/0.8023, allocations: 0 / 0.5471 GB, free: 85.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006825/0.8091, allocations: 4.027 MB / 0.5511 GB, free: 84.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.8091, allocations: 102.8 kB / 0.5512 GB, free: 84.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.8118, allocations: 1.963 MB / 0.5531 GB, free: 84.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.8119, allocations: 66.55 kB / 0.5532 GB, free: 84.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.8132, allocations: 2.643 MB / 0.5557 GB, free: 82.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/0.8137, allocations: 0.8478 MB / 0.5566 GB, free: 81.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008423/0.8146, allocations: 0.6749 MB / 0.5572 GB, free: 81.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.8146, allocations: 304.7 kB / 0.5575 GB, free: 81.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.8163, allocations: 1.401 MB / 0.5589 GB, free: 80.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.8184, allocations: 2.605 MB / 0.5614 GB, free: 78.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/0.8224, allocations: 4.242 MB / 0.5656 GB, free: 75.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.362e-05/0.8224, allocations: 15.41 kB / 0.5656 GB, free: 75.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005942/0.8283, allocations: 4.534 MB / 0.57 GB, free: 72.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.8284, allocations: 20 kB / 0.57 GB, free: 72.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.428e-05/0.8284, allocations: 44.06 kB / 0.5701 GB, free: 72.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.8291, allocations: 303.2 kB / 0.5704 GB, free: 72.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.8316, allocations: 0.7847 MB / 0.5711 GB, free: 71.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.8356, allocations: 4.743 MB / 0.5758 GB, free: 66.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.838, allocations: 417.2 kB / 0.5762 GB, free: 65.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004432/0.8385, allocations: 168 kB / 0.5763 GB, free: 65.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003283/0.8417, allocations: 2.194 MB / 0.5785 GB, free: 63.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.8422, allocations: 218.6 kB / 0.5787 GB, free: 63.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.8467, allocations: 3.167 MB / 0.5818 GB, free: 60.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.8467, allocations: 24 kB / 0.5818 GB, free: 60.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.8467, allocations: 18.78 kB / 0.5818 GB, free: 60.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.8468, allocations: 11.95 kB / 0.5818 GB, free: 60.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.8613, allocations: 9.648 MB / 0.5912 GB, free: 50.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/0.8613, allocations: 12 kB / 0.5912 GB, free: 50.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.8628, allocations: 443.3 kB / 0.5917 GB, free: 49.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005958/0.8634, allocations: 274.3 kB / 0.5919 GB, free: 49.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.8636, allocations: 69.3 kB / 0.592 GB, free: 49.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003801/0.8674, allocations: 4.671 MB / 0.5966 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.8674, allocations: 23.88 kB / 0.5966 GB, free: 44.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.8728, allocations: 5.01 MB / 0.6015 GB, free: 39.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.8739, allocations: 477.8 kB / 0.6019 GB, free: 38.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/0.8743, allocations: 63.98 kB / 0.602 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.8756, allocations: 127.9 kB / 0.6021 GB, free: 38.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.8759, allocations: 221.2 kB / 0.6023 GB, free: 38.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.876, allocations: 83.98 kB / 0.6024 GB, free: 38.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.8776, allocations: 1.278 MB / 0.6037 GB, free: 37.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.8776, allocations: 0 / 0.6037 GB, free: 37.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003547/0.8812, allocations: 1.459 MB / 0.6051 GB, free: 35.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (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.0003952/0.8815, allocations: 217.5 kB / 0.6053 GB, free: 35.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004551/0.8861, allocations: 3.501 MB / 0.6087 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.8861, allocations: 4 kB / 0.6087 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.888, allocations: 1.605 MB / 0.6103 GB, free: 30.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.8906, allocations: 0.5035 MB / 0.6108 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.9048, allocations: 9.943 MB / 0.6205 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/0.9081, allocations: 3.394 MB / 0.6238 GB, free: 16.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/0.909, allocations: 235.4 kB / 0.624 GB, free: 16.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.909, allocations: 0 / 0.624 GB, free: 16.02 MB / 446.1 MB Notification: Performance of Templates: time 0.1613/1.07, allocations: 127.3 MB / 0.7483 GB, free: 0.625 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.493525790981948]