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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 100.8 kB / 21.18 MB, free: 0.5508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 189.2 kB / 24.47 MB, free: 3.914 MB / 14.72 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 1.438/1.438, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 51.92 kB / 347.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2722, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01288/0.2851, allocations: 14.68 MB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.2961, allocations: 3.978 MB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003656/0.2998, allocations: 103.5 kB / 415.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01422/0.314, allocations: 5.651 MB / 421.2 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007443/0.3215, allocations: 1.817 MB / 423.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.3252, allocations: 1.11 MB / 424.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.336, allocations: 6.868 MB / 431 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01684/0.3528, allocations: 8.675 MB / 439.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006236/0.359, allocations: 3.573 MB / 443.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006982/0.366, allocations: 4.166 MB / 447.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.3682, allocations: 0.918 MB / 448.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.3717, allocations: 1.101 MB / 449.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002691/0.3744, allocations: 1.932 MB / 451.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005817/0.3802, allocations: 3.797 MB / 455.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.3947, allocations: 12.41 MB / 467.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3947, allocations: 0 / 467.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3947, allocations: 0 / 467.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000267/0.395, allocations: 4 kB / 467.6 MB, free: 12.32 MB / 382.1 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.02074/0.4157, allocations: 8.374 MB / 476 MB, free: 3.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4157, allocations: 12.03 kB / 476 MB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03024/0.446, allocations: 5.107 MB / 481.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008752/0.4547, allocations: 3.565 MB / 484.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004234/0.4552, allocations: 0.5019 MB / 485.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/0.4569, allocations: 0.6679 MB / 485.8 MB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/0.4788, allocations: 10.48 MB / 496.3 MB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.479, allocations: 11.89 kB / 496.3 MB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000826/0.4798, allocations: 283.9 kB / 496.6 MB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003948/0.4802, allocations: 382.6 kB / 497 MB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.4983, allocations: 9.641 MB / 0.4947 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05201/0.5503, allocations: 30.08 MB / 0.5241 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.5624, allocations: 5.789 MB / 0.5298 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/0.5654, allocations: 1.737 MB / 0.5315 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.5757, allocations: 5.061 MB / 0.5364 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.5757, allocations: 51.98 kB / 0.5365 GB, free: 10.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 3.486e-06/0.5757, allocations: 4 kB / 0.5365 GB, free: 10.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.006643/0.5824, allocations: 3.02 MB / 0.5394 GB, free: 7.059 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.5824, allocations: 98.48 kB / 0.5395 GB, free: 6.945 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.5869, allocations: 2.62 MB / 0.5421 GB, free: 4.293 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.587, allocations: 49.7 kB / 0.5421 GB, free: 4.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.5894, allocations: 3.236 MB / 0.5453 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005857/0.59, allocations: 0.5735 MB / 0.5458 GB, free: 404 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/0.5914, allocations: 0.8059 MB / 0.5466 GB, free: 15.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5915, allocations: 305.1 kB / 0.5469 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.594, allocations: 1.468 MB / 0.5483 GB, free: 13.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/0.598, allocations: 3.261 MB / 0.5515 GB, free: 9.695 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/0.6043, allocations: 4.82 MB / 0.5562 GB, free: 4.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.925e-05/0.6043, allocations: 20 kB / 0.5563 GB, free: 4 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.2121/0.8164, allocations: 5.082 MB / 0.5612 GB, free: 136.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.8165, allocations: 31.34 kB / 0.5612 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.8166, allocations: 63.34 kB / 0.5613 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008519/0.8174, allocations: 338.1 kB / 0.5616 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/0.821, allocations: 0.8839 MB / 0.5625 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.8265, allocations: 4.844 MB / 0.5672 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/0.8297, allocations: 0.5529 MB / 0.5678 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/0.8301, allocations: 213.1 kB / 0.568 GB, free: 133.5 MB / 478.1 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.00364/0.8338, allocations: 2.332 MB / 0.5702 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/0.8342, allocations: 234.7 kB / 0.5705 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.8381, allocations: 2.312 MB / 0.5727 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.8381, allocations: 16.77 kB / 0.5727 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.8381, allocations: 4 kB / 0.5727 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.8382, allocations: 9.391 kB / 0.5727 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008365/0.8465, allocations: 5.345 MB / 0.578 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.8465, allocations: 4.766 kB / 0.578 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.8477, allocations: 252.6 kB / 0.5782 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006288/0.8483, allocations: 269 kB / 0.5785 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/0.8484, allocations: 30.91 kB / 0.5785 GB, free: 129.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.8528, allocations: 4.74 MB / 0.5831 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8528, allocations: 1.188 kB / 0.5831 GB, free: 125.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.8571, allocations: 3.306 MB / 0.5864 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009367/0.8581, allocations: 404.6 kB / 0.5867 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.8583, allocations: 27.81 kB / 0.5868 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/0.8593, allocations: 102 kB / 0.5869 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.8595, allocations: 109.5 kB / 0.587 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.8596, allocations: 42.89 kB / 0.587 GB, free: 124.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.8617, allocations: 1.72 MB / 0.5887 GB, free: 123.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8617, allocations: 0 / 0.5887 GB, free: 123.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003919/0.8656, allocations: 1.541 MB / 0.5902 GB, free: 123.2 MB / 478.1 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.0003324/0.8659, allocations: 168.7 kB / 0.5904 GB, free: 123.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004493/0.8704, allocations: 3.345 MB / 0.5936 GB, free: 121.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.8704, allocations: 1.531 kB / 0.5936 GB, free: 121.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.8718, allocations: 1.183 MB / 0.5948 GB, free: 121.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.874, allocations: 498.5 kB / 0.5953 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.8883, allocations: 10.13 MB / 0.6051 GB, free: 114.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003008/0.8913, allocations: 4.174 MB / 0.6092 GB, free: 110.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002835/0.8942, allocations: 1.291 MB / 0.6105 GB, free: 109.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.8946, allocations: 186.8 kB / 0.6107 GB, free: 109.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8946, allocations: 0 / 0.6107 GB, free: 109.1 MB / 478.1 MB Notification: Performance of Templates: time 0.05424/0.9488, allocations: 34.99 MB / 0.6448 GB, free: 74.1 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 5.8912167605012655]