Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 156.8 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.863e-05, allocations: 6.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01422/0.01424, allocations: 11.99 MB / 330.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02447, allocations: 3.657 MB / 334.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003397/0.02786, allocations: 120 kB / 334.7 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01396/0.04182, allocations: 5.484 MB / 340.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006377/0.0482, allocations: 1.577 MB / 341.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.05175, allocations: 1.05 MB / 342.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009831/0.06158, allocations: 6.586 MB / 349.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01655/0.07814, allocations: 9.073 MB / 358.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008801/0.08694, allocations: 4.938 MB / 363.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006563/0.0935, allocations: 3.345 MB / 366.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002437/0.09594, allocations: 0.8867 MB / 367.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.09952, allocations: 1.062 MB / 368.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00267/0.1022, allocations: 1.804 MB / 370.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005084/0.1073, allocations: 2.394 MB / 372.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.1217, allocations: 12.1 MB / 385 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1217, allocations: 0 / 385 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1217, allocations: 0 / 385 MB, free: 9.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002553/0.122, allocations: 4 kB / 385 MB, free: 9.363 MB / 350.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.02177/0.1438, allocations: 7.774 MB / 392.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1438, allocations: 16.86 kB / 392.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02046/0.1643, allocations: 2.908 MB / 395.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009254/0.1735, allocations: 3.744 MB / 399.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/0.174, allocations: 481 kB / 399.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/0.1761, allocations: 0.621 MB / 400.5 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.1976, allocations: 9.473 MB / 410 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/0.1978, allocations: 7.953 kB / 410 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.1991, allocations: 260 kB / 410.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003453/0.1995, allocations: 313.4 kB / 410.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.2161, allocations: 7.926 MB / 418.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04697/0.2631, allocations: 24.07 MB / 442.6 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009297/0.2724, allocations: 3.908 MB / 446.5 MB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.275, allocations: 1.451 MB / 447.9 MB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.2752, allocations: 49.97 kB / 448 MB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.2753, allocations: 56.56 kB / 448 MB, free: 9.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 5.139e-06/0.2753, allocations: 0 / 448 MB, free: 9.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.008855/0.2842, allocations: 4.013 MB / 452.1 MB, free: 5.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.2842, allocations: 107 kB / 452.2 MB, free: 5.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.2878, allocations: 1.96 MB / 454.1 MB, free: 3.391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.2879, allocations: 65.7 kB / 454.2 MB, free: 3.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.2901, allocations: 2.636 MB / 456.8 MB, free: 0.6602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000879/0.291, allocations: 0.8407 MB / 457.7 MB, free: 15.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.2921, allocations: 0.6601 MB / 458.3 MB, free: 15.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2923, allocations: 301.1 kB / 458.6 MB, free: 14.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.2946, allocations: 1.404 MB / 460 MB, free: 13.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.298, allocations: 2.599 MB / 462.6 MB, free: 10.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006517/0.3045, allocations: 4.23 MB / 466.8 MB, free: 5.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-05/0.3046, allocations: 8 kB / 466.9 MB, free: 5.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007569/0.3121, allocations: 4.519 MB / 471.4 MB, free: 1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.3122, allocations: 23.94 kB / 471.4 MB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/0.3122, allocations: 40 kB / 471.4 MB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008646/0.3131, allocations: 308.5 kB / 471.7 MB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1547/0.4678, allocations: 0.7716 MB / 472.5 MB, free: 123 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.473, allocations: 4.731 MB / 477.2 MB, free: 120.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/0.4756, allocations: 416.1 kB / 477.6 MB, free: 120.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005461/0.4761, allocations: 164.5 kB / 477.8 MB, free: 120.4 MB / 430.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.003737/0.4799, allocations: 2.185 MB / 480 MB, free: 119.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005361/0.4804, allocations: 219.9 kB / 480.2 MB, free: 119.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005645/0.486, allocations: 3.179 MB / 483.4 MB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.4861, allocations: 24.31 kB / 483.4 MB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4861, allocations: 3.969 kB / 483.4 MB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.4861, allocations: 13.08 kB / 483.4 MB, free: 118.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.5013, allocations: 9.56 MB / 493 MB, free: 114.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.5013, allocations: 12.41 kB / 493 MB, free: 114.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.503, allocations: 433.8 kB / 493.4 MB, free: 114.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/0.5037, allocations: 278.6 kB / 493.7 MB, free: 114.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.5038, allocations: 69.73 kB / 493.8 MB, free: 114.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00417/0.508, allocations: 4.667 MB / 498.4 MB, free: 110.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.508, allocations: 22.94 kB / 498.5 MB, free: 110.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.5134, allocations: 4.971 MB / 0.4916 GB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008501/0.5143, allocations: 482.8 kB / 0.4921 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.5145, allocations: 65.39 kB / 0.4921 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.5158, allocations: 123.2 kB / 0.4923 GB, free: 107.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.5162, allocations: 212.7 kB / 0.4925 GB, free: 107.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.5163, allocations: 82.03 kB / 0.4925 GB, free: 107.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.5177, allocations: 1.279 MB / 0.4938 GB, free: 107.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5177, allocations: 3.594 kB / 0.4938 GB, free: 107.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003356/0.5211, allocations: 1.453 MB / 0.4952 GB, free: 106.7 MB / 430.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.0003725/0.5215, allocations: 220.2 kB / 0.4954 GB, free: 106.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004453/0.5259, allocations: 3.485 MB / 0.4988 GB, free: 105.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.5259, allocations: 4 kB / 0.4988 GB, free: 105.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.5278, allocations: 1.597 MB / 0.5004 GB, free: 103.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.5304, allocations: 0.4968 MB / 0.5009 GB, free: 103.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.5433, allocations: 10.05 MB / 0.5107 GB, free: 93.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/0.5461, allocations: 3.481 MB / 0.5141 GB, free: 90.24 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002636/0.5487, allocations: 1.195 MB / 0.5153 GB, free: 89.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.5493, allocations: 196.2 kB / 0.5155 GB, free: 88.85 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5493, allocations: 0 / 0.5155 GB, free: 88.85 MB / 430.1 MB Notification: Performance of Templates: time 0.04519/0.5945, allocations: 29.5 MB / 0.5443 GB, free: 59.71 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.596521180123091]