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.001374/0.001374, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001558/0.001558, allocations: 165 kB / 25.6 MB, free: 8.91 MB / 18.57 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.8926/0.8926, allocations: 158.6 MB / 187.5 MB, free: 2.777 MB / 170.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.793e-06/1.793e-06, allocations: 0 / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.127e-05, allocations: 6.25 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01704/0.01707, allocations: 13.61 MB / 265.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007597/0.02466, allocations: 3.891 MB / 269 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.0259, allocations: 99.56 kB / 269.1 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007935/0.03384, allocations: 5.825 MB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003746/0.03758, allocations: 1.666 MB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.0396, allocations: 1.195 MB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006465/0.04606, allocations: 7.072 MB / 284.8 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02498/0.07104, allocations: 9.222 MB / 294.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008622/0.07966, allocations: 5.261 MB / 299.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005058/0.08472, allocations: 4.086 MB / 303.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.08588, allocations: 0.918 MB / 304.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.08728, allocations: 1.093 MB / 305.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.08834, allocations: 2.002 MB / 307.4 MB, free: 15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.09026, allocations: 2.573 MB / 310 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.09524, allocations: 6.508 MB / 316.5 MB, free: 5.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.09525, allocations: 0 / 316.5 MB, free: 5.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09525, allocations: 0 / 316.5 MB, free: 5.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.107e-05/0.0953, allocations: 0 / 316.5 MB, free: 5.898 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.009842/0.1051, allocations: 8.553 MB / 325.1 MB, free: 13.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.1052, allocations: 12.03 kB / 325.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.1197, allocations: 5.264 MB / 330.3 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.1237, allocations: 2.979 MB / 333.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.124, allocations: 0.5058 MB / 333.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007153/0.1247, allocations: 0.6756 MB / 334.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00651/0.1312, allocations: 5.521 MB / 340 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.029e-05/0.1313, allocations: 7.953 kB / 340 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004278/0.1317, allocations: 288 kB / 340.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/0.132, allocations: 378.6 kB / 340.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.1357, allocations: 2.738 MB / 343.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1644/0.3001, allocations: 24.57 MB / 368 MB, free: 64.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004581/0.3047, allocations: 4.419 MB / 372.4 MB, free: 64.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008947/0.3056, allocations: 0.8608 MB / 373.3 MB, free: 63.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004201/0.3098, allocations: 3.595 MB / 376.9 MB, free: 63.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3098, allocations: 59.33 kB / 376.9 MB, free: 63.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 3.076e-06/0.3098, allocations: 0 / 376.9 MB, free: 63.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.002397/0.3122, allocations: 1.7 MB / 378.6 MB, free: 62.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.3122, allocations: 95.11 kB / 378.7 MB, free: 62.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.314, allocations: 2.527 MB / 381.2 MB, free: 62.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.314, allocations: 57.11 kB / 381.3 MB, free: 62.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.3152, allocations: 3.439 MB / 384.7 MB, free: 60.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.3154, allocations: 0.5882 MB / 385.3 MB, free: 60.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007187/0.3162, allocations: 0.8994 MB / 386.2 MB, free: 60.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.3162, allocations: 480.8 kB / 386.7 MB, free: 59.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.3167, allocations: 423.6 kB / 387.1 MB, free: 59.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.318, allocations: 3.106 MB / 390.2 MB, free: 56.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.3203, allocations: 3.88 MB / 394.1 MB, free: 51.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-05/0.3204, allocations: 18.73 kB / 394.1 MB, free: 51.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.002948/0.3233, allocations: 3.11 MB / 397.2 MB, free: 49.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.3234, allocations: 32.94 kB / 397.2 MB, free: 49.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-05/0.3234, allocations: 63.42 kB / 397.3 MB, free: 49.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/0.3239, allocations: 328.3 kB / 397.6 MB, free: 48.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.3253, allocations: 0.84 MB / 398.5 MB, free: 48.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.3277, allocations: 5.127 MB / 403.6 MB, free: 43.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.3291, allocations: 485.5 kB / 404.1 MB, free: 42.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.3292, allocations: 184.8 kB / 404.2 MB, free: 42.65 MB / 330.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.0009719/0.3302, allocations: 431.7 kB / 404.7 MB, free: 42.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.3304, allocations: 278.5 kB / 404.9 MB, free: 42.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.3317, allocations: 1.345 MB / 406.3 MB, free: 40.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3317, allocations: 16 kB / 406.3 MB, free: 40.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3317, allocations: 4 kB / 406.3 MB, free: 40.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3317, allocations: 7.969 kB / 406.3 MB, free: 40.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/0.3359, allocations: 4.499 MB / 410.8 MB, free: 36.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3359, allocations: 0 / 410.8 MB, free: 36.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.3364, allocations: 235.1 kB / 411 MB, free: 36.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.3368, allocations: 238.4 kB / 411.3 MB, free: 36.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.3368, allocations: 39.98 kB / 411.3 MB, free: 36.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.3388, allocations: 5.002 MB / 416.3 MB, free: 31.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3388, allocations: 4 kB / 416.3 MB, free: 31.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.3402, allocations: 1.711 MB / 418 MB, free: 29.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.3405, allocations: 353.9 kB / 418.4 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.3407, allocations: 35.75 kB / 418.4 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.3411, allocations: 56.02 kB / 418.5 MB, free: 29.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.3412, allocations: 109.3 kB / 418.6 MB, free: 28.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3413, allocations: 32 kB / 418.6 MB, free: 28.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000705/0.342, allocations: 1.053 MB / 419.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.342, allocations: 2.516 kB / 419.7 MB, free: 27.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00273/0.3447, allocations: 1.549 MB / 421.2 MB, free: 26.37 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.0002419/0.3449, allocations: 168.4 kB / 421.4 MB, free: 26.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.3468, allocations: 2.257 MB / 423.6 MB, free: 24.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3468, allocations: 448 / 423.6 MB, free: 24.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.3473, allocations: 0.928 MB / 424.6 MB, free: 23.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3485, allocations: 0.5027 MB / 425.1 MB, free: 22.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008686/0.3572, allocations: 8.704 MB / 433.8 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.3582, allocations: 1.619 MB / 435.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009166/0.3591, allocations: 435 kB / 435.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/0.3598, allocations: 0.5566 MB / 436.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3598, allocations: 0 / 436.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of Templates: time 0.04373/0.4035, allocations: 31.9 MB / 468.3 MB, free: 11.56 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4623021432198584]