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.001384/0.001384, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001462/0.001462, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.483/1.483, allocations: 230.3 MB / 258 MB, free: 8.207 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001954/0.001954, allocations: 64.02 kB / 378.8 MB, free: 2.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2439, allocations: 53.37 MB / 432.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01587/0.2598, allocations: 14.02 MB / 446.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008253/0.268, allocations: 3.87 MB / 450.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.2703, allocations: 115.5 kB / 450.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.2835, allocations: 5.615 MB / 455.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.2887, allocations: 1.418 MB / 457.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.292, allocations: 1.229 MB / 458.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009599/0.3016, allocations: 6.493 MB / 464.9 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01422/0.3159, allocations: 8.646 MB / 473.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/0.3206, allocations: 3.363 MB / 476.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006311/0.3269, allocations: 3.882 MB / 480.8 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002331/0.3293, allocations: 0.8867 MB / 481.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.3328, allocations: 1.086 MB / 482.8 MB, free: 4.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.335, allocations: 1.777 MB / 484.6 MB, free: 2.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00525/0.3402, allocations: 3.564 MB / 488.1 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01558/0.3558, allocations: 11.99 MB / 0.4884 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3558, allocations: 0 / 0.4884 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3558, allocations: 0 / 0.4884 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003516/0.3562, allocations: 0 / 0.4884 GB, free: 2.797 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.02152/0.3777, allocations: 7.837 MB / 0.496 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3777, allocations: 12.03 kB / 0.4961 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01993/0.3977, allocations: 2.873 MB / 0.4989 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009197/0.4068, allocations: 3.752 MB / 0.5025 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005939/0.4074, allocations: 489 kB / 0.503 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/0.41, allocations: 0.621 MB / 0.5036 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/0.4366, allocations: 9.338 MB / 0.5127 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002972/0.4369, allocations: 7.938 kB / 0.5127 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002085/0.439, allocations: 264 kB / 0.513 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004398/0.4394, allocations: 317.4 kB / 0.5133 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.4582, allocations: 7.973 MB / 0.5211 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2795/0.7378, allocations: 27.39 MB / 0.5478 GB, free: 84.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007691/0.7454, allocations: 3.958 MB / 0.5517 GB, free: 83.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.7476, allocations: 1.451 MB / 0.5531 GB, free: 83.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.7478, allocations: 84.67 kB / 0.5532 GB, free: 83.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.7479, allocations: 62.5 kB / 0.5532 GB, free: 83.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.418e-06/0.7479, allocations: 0 / 0.5532 GB, free: 83.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006873/0.7547, allocations: 4.03 MB / 0.5572 GB, free: 81.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.7548, allocations: 101.6 kB / 0.5573 GB, free: 81.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.7568, allocations: 1.905 MB / 0.5591 GB, free: 80.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.757, allocations: 69.08 kB / 0.5592 GB, free: 80.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009586/0.7579, allocations: 2.631 MB / 0.5618 GB, free: 78.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.7584, allocations: 0.8534 MB / 0.5626 GB, free: 78.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00074/0.7591, allocations: 0.6733 MB / 0.5633 GB, free: 77.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.7592, allocations: 306 kB / 0.5635 GB, free: 77.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.7609, allocations: 1.404 MB / 0.5649 GB, free: 76.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.763, allocations: 2.602 MB / 0.5675 GB, free: 74.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/0.7668, allocations: 4.249 MB / 0.5716 GB, free: 71.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.7668, allocations: 9.094 kB / 0.5716 GB, free: 71.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005422/0.7723, allocations: 4.535 MB / 0.576 GB, free: 67.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.7723, allocations: 24 kB / 0.5761 GB, free: 67.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/0.7723, allocations: 36 kB / 0.5761 GB, free: 67.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/0.773, allocations: 315.2 kB / 0.5764 GB, free: 66.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.7754, allocations: 0.7799 MB / 0.5772 GB, free: 66.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.7793, allocations: 4.853 MB / 0.5819 GB, free: 60.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.7813, allocations: 419.2 kB / 0.5823 GB, free: 60.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.7815, allocations: 168 kB / 0.5825 GB, free: 60.39 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.002604/0.7841, allocations: 2.191 MB / 0.5846 GB, free: 58.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.7844, allocations: 218.8 kB / 0.5848 GB, free: 57.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/0.7885, allocations: 3.17 MB / 0.5879 GB, free: 54.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7885, allocations: 24 kB / 0.5879 GB, free: 54.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.7885, allocations: 15.94 kB / 0.5879 GB, free: 54.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.7886, allocations: 11.95 kB / 0.588 GB, free: 54.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.8013, allocations: 11.02 MB / 0.5987 GB, free: 43.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.8013, allocations: 16.66 kB / 0.5987 GB, free: 43.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.8029, allocations: 439.3 kB / 0.5992 GB, free: 43.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005809/0.8034, allocations: 274.4 kB / 0.5994 GB, free: 42.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.8036, allocations: 67.98 kB / 0.5995 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.8074, allocations: 4.777 MB / 0.6041 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.8074, allocations: 23.88 kB / 0.6042 GB, free: 37.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/0.8126, allocations: 5.018 MB / 0.6091 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009813/0.8136, allocations: 485.8 kB / 0.6095 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/0.8139, allocations: 63.95 kB / 0.6096 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.8151, allocations: 126.4 kB / 0.6097 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.8153, allocations: 221.3 kB / 0.6099 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.8155, allocations: 83.98 kB / 0.61 GB, free: 31.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.8168, allocations: 1.298 MB / 0.6113 GB, free: 30.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8168, allocations: 0 / 0.6113 GB, free: 30.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003244/0.8201, allocations: 1.452 MB / 0.6127 GB, free: 28.75 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.0003547/0.8204, allocations: 218.5 kB / 0.6129 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004412/0.8248, allocations: 3.502 MB / 0.6163 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.8248, allocations: 0 / 0.6163 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.8267, allocations: 1.6 MB / 0.6179 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.8293, allocations: 0.5133 MB / 0.6184 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.8433, allocations: 10.09 MB / 0.6282 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/0.8462, allocations: 4 MB / 0.6321 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002521/0.8487, allocations: 1.191 MB / 0.6333 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.8492, allocations: 203.4 kB / 0.6335 GB, free: 7.133 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8492, allocations: 4 kB / 0.6335 GB, free: 7.129 MB / 446.1 MB Notification: Performance of Templates: time 0.06373/0.913, allocations: 35.07 MB / 0.6678 GB, free: 4.238 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.003627847880125]