Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009024/0.0009024, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009433/0.0009433, allocations: 165 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9259/0.9259, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.43e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01313/0.01315, allocations: 13 MB / 287.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.02115, allocations: 3.77 MB / 290.9 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.02368, allocations: 115.5 kB / 291 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008053/0.03173, allocations: 5.775 MB / 296.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.03697, allocations: 1.437 MB / 298.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.03943, allocations: 1.169 MB / 299.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007204/0.04663, allocations: 6.698 MB / 306.1 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01273/0.05936, allocations: 9.085 MB / 315.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/0.06594, allocations: 4.977 MB / 320.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0052/0.07114, allocations: 3.813 MB / 324 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002684/0.07382, allocations: 0.8828 MB / 324.8 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.07701, allocations: 1.089 MB / 325.9 MB, free: 236 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.07898, allocations: 1.835 MB / 327.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004348/0.08333, allocations: 2.425 MB / 330.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007313/0.09064, allocations: 6.166 MB / 336.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.09065, allocations: 0 / 336.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.09065, allocations: 0 / 336.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002909/0.09094, allocations: 0 / 336.4 MB, free: 5.777 MB / 314.7 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.138/0.2289, allocations: 7.994 MB / 344.3 MB, free: 47.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.229, allocations: 8.781 kB / 344.4 MB, free: 47.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.24, allocations: 3.516 MB / 347.9 MB, free: 46.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005126/0.2452, allocations: 3.283 MB / 351.2 MB, free: 46.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/0.2455, allocations: 487.5 kB / 351.6 MB, free: 46.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.2465, allocations: 0.6238 MB / 352.3 MB, free: 46.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006776/0.2533, allocations: 5.003 MB / 357.3 MB, free: 44.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.2534, allocations: 11.09 kB / 357.3 MB, free: 44.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003843/0.2538, allocations: 259.9 kB / 357.5 MB, free: 44.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.254, allocations: 321 kB / 357.8 MB, free: 44.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.2574, allocations: 2.212 MB / 360 MB, free: 44.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.2794, allocations: 22.97 MB / 383 MB, free: 23.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/0.2827, allocations: 2.815 MB / 385.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.2834, allocations: 0.7128 MB / 386.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.2835, allocations: 81.94 kB / 386.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2836, allocations: 63.05 kB / 386.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=238): time 4.218e-06/0.2836, allocations: 0 / 386.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.003159/0.2867, allocations: 2.19 MB / 388.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.2868, allocations: 106.4 kB / 389 MB, free: 17.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.2888, allocations: 1.889 MB / 390.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.289, allocations: 65.7 kB / 390.9 MB, free: 16.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.2903, allocations: 2.818 MB / 393.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005764/0.2909, allocations: 0.8662 MB / 394.6 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.292, allocations: 0.7665 MB / 395.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.2921, allocations: 476.8 kB / 395.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.2926, allocations: 411.3 kB / 396.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.2937, allocations: 2.201 MB / 398.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.2956, allocations: 2.915 MB / 401.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.2956, allocations: 8 kB / 401.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002962/0.2986, allocations: 2.632 MB / 404 MB, free: 2.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.2986, allocations: 20 kB / 404 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.2986, allocations: 40.75 kB / 404.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.2991, allocations: 299.5 kB / 404.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.3004, allocations: 0.7448 MB / 405.1 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.3032, allocations: 5.078 MB / 410.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.3044, allocations: 357.2 kB / 410.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.3046, allocations: 140 kB / 410.7 MB, free: 11.62 MB / 330.7 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.001165/0.3057, allocations: 383.1 kB / 411 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.306, allocations: 290.6 kB / 411.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.3082, allocations: 1.879 MB / 413.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.3082, allocations: 24 kB / 413.2 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3082, allocations: 8 kB / 413.2 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.3082, allocations: 12.83 kB / 413.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009945/0.3182, allocations: 7.022 MB / 420.3 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.3182, allocations: 12.94 kB / 420.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008619/0.3191, allocations: 400.5 kB / 420.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.3195, allocations: 261.3 kB / 420.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.3197, allocations: 71.98 kB / 421 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/0.3228, allocations: 5.043 MB / 426 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.3228, allocations: 15.56 kB / 426.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.3256, allocations: 2.853 MB / 428.9 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/0.3262, allocations: 428.5 kB / 429.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.3264, allocations: 59.98 kB / 429.4 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.327, allocations: 71.98 kB / 429.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/0.3272, allocations: 216.3 kB / 429.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/0.3273, allocations: 75.97 kB / 429.7 MB, free: 8.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007559/0.3281, allocations: 0.8148 MB / 430.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3281, allocations: 0 / 430.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003273/0.3313, allocations: 1.456 MB / 432 MB, free: 6.574 MB / 346.7 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.0003601/0.3317, allocations: 227.6 kB / 432.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.3343, allocations: 2.216 MB / 434.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3343, allocations: 0 / 434.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3353, allocations: 1.178 MB / 435.6 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.3369, allocations: 0.5131 MB / 436.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.3481, allocations: 8.664 MB / 444.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.3496, allocations: 1.55 MB / 446.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001214/0.3508, allocations: 401 kB / 446.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008574/0.3517, allocations: 0.5722 MB / 447.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of SimCode: time 2.355e-06/0.3517, allocations: 2.625 kB / 447.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of Templates: time 0.0464/0.3981, allocations: 33.05 MB / 480.4 MB, free: 6.633 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/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.880790218245238]