Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001135/0.001135, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003823/0.004958, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001642/0.001642, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002223/0.003864, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9605/0.9605, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1538/1.114, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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 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.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.281e-05, allocations: 5.406 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01169/0.01172, allocations: 13.73 MB / 235.7 MB, free: 2.254 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009014/0.02073, allocations: 4.146 MB / 239.9 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.02324, allocations: 103.5 kB / 240 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00604/0.02928, allocations: 5.973 MB / 246 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.03534, allocations: 1.635 MB / 247.6 MB, free: 6.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.03798, allocations: 1.211 MB / 248.8 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008412/0.04639, allocations: 7.106 MB / 255.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.05962, allocations: 9.228 MB / 265.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008139/0.06776, allocations: 5.38 MB / 270.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005862/0.07363, allocations: 4.129 MB / 274.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002866/0.07649, allocations: 0.918 MB / 275.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.08046, allocations: 1.113 MB / 276.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.0824, allocations: 1.539 MB / 278.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004734/0.08714, allocations: 2.121 MB / 280.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1555/0.2426, allocations: 6.114 MB / 286.4 MB, free: 21.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.605e-05/0.2426, allocations: 2.312 kB / 286.4 MB, free: 21.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2426, allocations: 0 / 286.4 MB, free: 21.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004199/0.2431, allocations: 0 / 286.4 MB, free: 21.89 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01522/0.2583, allocations: 9.297 MB / 295.7 MB, free: 19.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.2583, allocations: 9.625 kB / 295.8 MB, free: 19.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.2731, allocations: 5.705 MB / 301.5 MB, free: 19.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/0.2777, allocations: 1.802 MB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.2779, allocations: 0.5142 MB / 303.8 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009703/0.2789, allocations: 0.6706 MB / 304.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0076/0.2865, allocations: 5.66 MB / 310.1 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.2866, allocations: 10.44 kB / 310.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004774/0.2871, allocations: 284.6 kB / 310.4 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002355/0.2873, allocations: 367.9 kB / 310.8 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.2914, allocations: 3.001 MB / 313.8 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02354/0.315, allocations: 19.29 MB / 333 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006199/0.3212, allocations: 3.773 MB / 336.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.3222, allocations: 0.7652 MB / 337.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005459/0.3277, allocations: 2.907 MB / 340.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3277, allocations: 51.72 kB / 340.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=150): time 3.576e-06/0.3277, allocations: 0 / 340.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=150): time 0.002901/0.3306, allocations: 1.418 MB / 342 MB, free: 7.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3307, allocations: 98.61 kB / 342.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.3323, allocations: 1.824 MB / 343.9 MB, free: 6.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/0.3323, allocations: 49.7 kB / 343.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.3338, allocations: 3.066 MB / 347 MB, free: 3.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.3342, allocations: 0.5751 MB / 347.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008178/0.335, allocations: 0.7321 MB / 348.3 MB, free: 1.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.3351, allocations: 304.2 kB / 348.6 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.3358, allocations: 0.5085 MB / 349.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.3374, allocations: 2.172 MB / 351.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.3404, allocations: 3.248 MB / 354.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-05/0.3404, allocations: 19.38 kB / 354.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00335/0.3438, allocations: 2.531 MB / 357.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.3438, allocations: 32 kB / 357.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.739e-05/0.3439, allocations: 63.98 kB / 357.2 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/0.3445, allocations: 312.2 kB / 357.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.3467, allocations: 0.9353 MB / 358.4 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.3496, allocations: 3.682 MB / 362.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.3516, allocations: 480.4 kB / 362.6 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.3518, allocations: 172 kB / 362.7 MB, free: 2.555 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.001256/0.3531, allocations: 395.9 kB / 363.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.3534, allocations: 171.8 kB / 363.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.355, allocations: 1.127 MB / 364.4 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.355, allocations: 16 kB / 364.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3551, allocations: 4 kB / 364.4 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3551, allocations: 10.27 kB / 364.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003725/0.3588, allocations: 2.727 MB / 367.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.3588, allocations: 4.094 kB / 367.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/0.3596, allocations: 262 kB / 367.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.3601, allocations: 262.1 kB / 367.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/0.3607, allocations: 226.2 kB / 367.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.3607, allocations: 31.98 kB / 367.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.3635, allocations: 3.533 MB / 371.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3635, allocations: 3.984 kB / 371.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3653, allocations: 1.386 MB / 372.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.3656, allocations: 32.12 kB / 372.9 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.3663, allocations: 64.02 kB / 372.9 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.3664, allocations: 104.9 kB / 373.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.3665, allocations: 35.98 kB / 373.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008925/0.3674, allocations: 0.7692 MB / 373.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3674, allocations: 0 / 373.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003883/0.3713, allocations: 1.549 MB / 375.4 MB, free: 6.539 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000294/0.3716, allocations: 142.3 kB / 375.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.3743, allocations: 1.971 MB / 377.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001254/0.3744, allocations: 70.41 kB / 377.6 MB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3754, allocations: 0.8691 MB / 378.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.3782, allocations: 3.828 MB / 382.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04747/0.4257, allocations: 9.41 MB / 391.7 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.4273, allocations: 1.213 MB / 392.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001547/0.4289, allocations: 407.2 kB / 393.3 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/0.4296, allocations: 473.1 kB / 393.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4296, allocations: 2.438 kB / 393.8 MB, free: 3.719 MB / 346.7 MB Notification: Performance of Templates: time 0.04777/0.4774, allocations: 30.62 MB / 424.4 MB, free: 5.051 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5535669522359967]