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.001421/0.001421, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001562/0.001562, allocations: 217 kB / 24.5 MB, free: 4.133 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.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 7.984 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.00194/0.00194, allocations: 59.89 kB / 379.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2614, allocations: 53.4 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01607/0.2775, allocations: 14.02 MB / 446.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009267/0.2868, allocations: 3.87 MB / 450.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.2895, allocations: 119.5 kB / 450.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01339/0.3029, allocations: 5.611 MB / 456.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006287/0.3092, allocations: 1.414 MB / 457.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004161/0.3134, allocations: 1.24 MB / 458.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009574/0.323, allocations: 6.491 MB / 465.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01883/0.3418, allocations: 9.151 MB / 474.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006969/0.3488, allocations: 3.367 MB / 477.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008032/0.3568, allocations: 3.882 MB / 481.6 MB, free: 5.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003197/0.36, allocations: 0.8867 MB / 482.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/0.3648, allocations: 1.09 MB / 483.6 MB, free: 3.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004098/0.3689, allocations: 1.765 MB / 485.4 MB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008335/0.3773, allocations: 3.575 MB / 488.9 MB, free: 13.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.3949, allocations: 11.99 MB / 0.4892 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3949, allocations: 0 / 0.4892 GB, free: 1.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3949, allocations: 0 / 0.4892 GB, free: 1.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003289/0.3952, allocations: 0 / 0.4892 GB, free: 1.961 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.02196/0.4172, allocations: 7.841 MB / 0.4968 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4172, allocations: 8.031 kB / 0.4968 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02035/0.4376, allocations: 2.876 MB / 0.4997 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009402/0.447, allocations: 3.744 MB / 0.5033 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005041/0.4475, allocations: 481 kB / 0.5038 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/0.4497, allocations: 0.621 MB / 0.5044 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/0.4739, allocations: 9.341 MB / 0.5135 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/0.4741, allocations: 11.89 kB / 0.5135 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/0.4757, allocations: 260 kB / 0.5138 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003512/0.4761, allocations: 313.4 kB / 0.5141 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.4933, allocations: 7.981 MB / 0.5218 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2812/0.7745, allocations: 27.39 MB / 0.5486 GB, free: 84.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006796/0.7813, allocations: 3.951 MB / 0.5525 GB, free: 83.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.7833, allocations: 1.45 MB / 0.5539 GB, free: 82.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.7835, allocations: 80.56 kB / 0.554 GB, free: 82.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.7836, allocations: 71.62 kB / 0.554 GB, free: 82.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.509e-06/0.7836, allocations: 0 / 0.554 GB, free: 82.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006524/0.7901, allocations: 4.033 MB / 0.558 GB, free: 81.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7901, allocations: 101.7 kB / 0.5581 GB, free: 81.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.7923, allocations: 1.904 MB / 0.5599 GB, free: 80.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.7924, allocations: 66.83 kB / 0.56 GB, free: 80.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.7934, allocations: 2.634 MB / 0.5625 GB, free: 78.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004628/0.7939, allocations: 0.8535 MB / 0.5634 GB, free: 77.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007258/0.7946, allocations: 0.6756 MB / 0.564 GB, free: 77.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.7947, allocations: 301.1 kB / 0.5643 GB, free: 77.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.7962, allocations: 1.404 MB / 0.5657 GB, free: 76.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.7982, allocations: 2.601 MB / 0.5682 GB, free: 74.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.802, allocations: 4.25 MB / 0.5724 GB, free: 70.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.802, allocations: 12 kB / 0.5724 GB, free: 70.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005299/0.8073, allocations: 4.539 MB / 0.5768 GB, free: 66.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.8073, allocations: 23.98 kB / 0.5769 GB, free: 66.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/0.8074, allocations: 40 kB / 0.5769 GB, free: 66.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.808, allocations: 305.6 kB / 0.5772 GB, free: 65.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/0.8104, allocations: 0.78 MB / 0.5779 GB, free: 64.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.8143, allocations: 4.84 MB / 0.5827 GB, free: 59.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.8162, allocations: 424.5 kB / 0.5831 GB, free: 59.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.8164, allocations: 169.6 kB / 0.5832 GB, free: 59.37 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.002699/0.8191, allocations: 2.187 MB / 0.5854 GB, free: 57.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.8195, allocations: 218.5 kB / 0.5856 GB, free: 56.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.8235, allocations: 3.17 MB / 0.5887 GB, free: 53.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8236, allocations: 24 kB / 0.5887 GB, free: 53.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.8236, allocations: 7.094 kB / 0.5887 GB, free: 53.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.8236, allocations: 15.95 kB / 0.5887 GB, free: 53.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.8368, allocations: 11.03 MB / 0.5995 GB, free: 42.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.8368, allocations: 12 kB / 0.5995 GB, free: 42.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.8383, allocations: 443.3 kB / 0.5999 GB, free: 42.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005708/0.8389, allocations: 274.3 kB / 0.6002 GB, free: 41.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.839, allocations: 75.91 kB / 0.6003 GB, free: 41.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/0.8428, allocations: 4.78 MB / 0.6049 GB, free: 36.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.8428, allocations: 23.92 kB / 0.605 GB, free: 36.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/0.8481, allocations: 5.011 MB / 0.6098 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.8491, allocations: 485.7 kB / 0.6103 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.8494, allocations: 63.98 kB / 0.6104 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.8506, allocations: 124.1 kB / 0.6105 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.8508, allocations: 219.3 kB / 0.6107 GB, free: 30.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.8509, allocations: 91.97 kB / 0.6108 GB, free: 30.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.8524, allocations: 1.287 MB / 0.612 GB, free: 29.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8524, allocations: 0 / 0.612 GB, free: 29.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003679/0.8561, allocations: 1.459 MB / 0.6135 GB, free: 27.73 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.0004083/0.8565, allocations: 214.3 kB / 0.6137 GB, free: 27.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004625/0.8611, allocations: 3.502 MB / 0.6171 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.8611, allocations: 4 kB / 0.6171 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.8631, allocations: 1.596 MB / 0.6187 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.8658, allocations: 0.5178 MB / 0.6192 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.8808, allocations: 9.955 MB / 0.6289 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002932/0.8837, allocations: 3.9 MB / 0.6327 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/0.8846, allocations: 239.4 kB / 0.6329 GB, free: 7.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8846, allocations: 0 / 0.6329 GB, free: 7.52 MB / 446.1 MB Notification: Performance of Templates: time 0.422/1.307, allocations: 125.5 MB / 0.7554 GB, free: 188.1 MB / 0.545 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/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: 12.789592646993697]