Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001585/0.001585, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.00159/0.00159, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.501/1.501, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 75.81 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2728, allocations: 53.31 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01689/0.2897, allocations: 14.02 MB / 446.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009438/0.2992, allocations: 3.863 MB / 449.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.3023, allocations: 103.7 kB / 450 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01404/0.3164, allocations: 5.608 MB / 455.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006404/0.3228, allocations: 1.356 MB / 457 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.3265, allocations: 1.207 MB / 458.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.3373, allocations: 6.412 MB / 464.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01686/0.3541, allocations: 8.638 MB / 473.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.359, allocations: 3.292 MB / 476.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006465/0.3655, allocations: 3.886 MB / 480.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002348/0.3678, allocations: 0.8828 MB / 481.3 MB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.3711, allocations: 1.094 MB / 482.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002604/0.3737, allocations: 1.773 MB / 484.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006009/0.3797, allocations: 3.564 MB / 487.8 MB, free: 15.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.3954, allocations: 11.99 MB / 499.7 MB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3954, allocations: 0 / 499.7 MB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3954, allocations: 0 / 499.7 MB, free: 3.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003472/0.3957, allocations: 3.938 kB / 499.8 MB, free: 3.41 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.02375/0.4195, allocations: 7.909 MB / 0.4958 GB, free: 11.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4195, allocations: 12.02 kB / 0.4958 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0207/0.4402, allocations: 2.873 MB / 0.4986 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009486/0.4497, allocations: 3.753 MB / 0.5022 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/0.4502, allocations: 485 kB / 0.5027 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/0.4524, allocations: 0.6171 MB / 0.5033 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/0.4793, allocations: 9.338 MB / 0.5124 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003308/0.4796, allocations: 11.89 kB / 0.5124 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001976/0.4816, allocations: 264 kB / 0.5127 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003892/0.482, allocations: 313.4 kB / 0.513 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.4998, allocations: 7.973 MB / 0.5208 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2873/0.787, allocations: 28.77 MB / 0.5489 GB, free: 83.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008918/0.796, allocations: 11.48 MB / 0.5601 GB, free: 73.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.7985, allocations: 1.442 MB / 0.5615 GB, free: 73.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/0.7988, allocations: 236.4 kB / 0.5617 GB, free: 73.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.7988, allocations: 61.91 kB / 0.5618 GB, free: 73.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.1e-06/0.7988, allocations: 0 / 0.5618 GB, free: 73.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.007082/0.8059, allocations: 4.191 MB / 0.5659 GB, free: 71.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.806, allocations: 105.7 kB / 0.566 GB, free: 71.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.8084, allocations: 1.906 MB / 0.5678 GB, free: 70.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.8085, allocations: 67.72 kB / 0.5679 GB, free: 70.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.8097, allocations: 2.633 MB / 0.5705 GB, free: 68.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.8102, allocations: 0.8516 MB / 0.5713 GB, free: 67.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000819/0.811, allocations: 0.6681 MB / 0.5719 GB, free: 67.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.811, allocations: 304.9 kB / 0.5722 GB, free: 67.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.8127, allocations: 1.405 MB / 0.5736 GB, free: 66.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.8151, allocations: 2.599 MB / 0.5761 GB, free: 64.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/0.8192, allocations: 4.244 MB / 0.5803 GB, free: 60.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-05/0.8192, allocations: 13.69 kB / 0.5803 GB, free: 60.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005702/0.8249, allocations: 4.546 MB / 0.5847 GB, free: 56.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.8249, allocations: 23.94 kB / 0.5848 GB, free: 56.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/0.825, allocations: 40 kB / 0.5848 GB, free: 56.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/0.8257, allocations: 301.9 kB / 0.5851 GB, free: 56.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/0.8281, allocations: 0.787 MB / 0.5859 GB, free: 55.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.8324, allocations: 5.056 MB / 0.5908 GB, free: 50.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.8347, allocations: 420.2 kB / 0.5912 GB, free: 49.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.8349, allocations: 168 kB / 0.5914 GB, free: 49.57 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.002888/0.8378, allocations: 2.183 MB / 0.5935 GB, free: 47.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.8381, allocations: 222.5 kB / 0.5937 GB, free: 47.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.8424, allocations: 3.17 MB / 0.5968 GB, free: 43.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.8424, allocations: 24.19 kB / 0.5968 GB, free: 43.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.8424, allocations: 8 kB / 0.5968 GB, free: 43.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.8425, allocations: 15.95 kB / 0.5968 GB, free: 43.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.86, allocations: 12.65 MB / 0.6092 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.65e-05/0.86, allocations: 16.19 kB / 0.6092 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.8617, allocations: 451.3 kB / 0.6097 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006756/0.8624, allocations: 272.5 kB / 0.6099 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/0.8627, allocations: 71.97 kB / 0.61 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/0.8671, allocations: 4.988 MB / 0.6148 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.8671, allocations: 27.81 kB / 0.6149 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005826/0.8729, allocations: 5.018 MB / 0.6198 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.8741, allocations: 0.5341 MB / 0.6203 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004921/0.8746, allocations: 59.98 kB / 0.6204 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.8762, allocations: 127.9 kB / 0.6205 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003162/0.8765, allocations: 209.3 kB / 0.6207 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.8766, allocations: 83.98 kB / 0.6208 GB, free: 18.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.8787, allocations: 1.291 MB / 0.622 GB, free: 17.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8787, allocations: 0 / 0.622 GB, free: 17.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003887/0.8826, allocations: 1.459 MB / 0.6234 GB, free: 15.55 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.0004451/0.883, allocations: 219.4 kB / 0.6237 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004982/0.888, allocations: 3.495 MB / 0.6271 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.888, allocations: 4 kB / 0.6271 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.89, allocations: 1.59 MB / 0.6286 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/0.8929, allocations: 0.5145 MB / 0.6291 GB, free: 9.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.9092, allocations: 10.1 MB / 0.639 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006067/0.9153, allocations: 4.004 MB / 0.6429 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003295/0.9186, allocations: 1.199 MB / 0.6441 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/0.9193, allocations: 199.4 kB / 0.6443 GB, free: 9.93 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.9193, allocations: 0 / 0.6443 GB, free: 9.93 MB / 462.1 MB Notification: Performance of Templates: time 0.06482/0.9841, allocations: 33.64 MB / 0.6771 GB, free: 8.465 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.213468736037612]