Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001686/0.001686, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001918/0.001918, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 47.92 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2298, allocations: 52.18 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0149/0.2447, allocations: 11.99 MB / 435.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008399/0.2531, allocations: 3.648 MB / 439.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.2553, allocations: 119.4 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01291/0.2683, allocations: 5.17 MB / 444.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005758/0.274, allocations: 1.538 MB / 446.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.2774, allocations: 1.045 MB / 447.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008868/0.2863, allocations: 6.397 MB / 453.7 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.3007, allocations: 9.052 MB / 462.8 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004986/0.3056, allocations: 3.367 MB / 466.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006707/0.3123, allocations: 3.722 MB / 469.9 MB, free: 188 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002439/0.3148, allocations: 0.8868 MB / 470.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/0.3185, allocations: 1.062 MB / 471.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002569/0.3211, allocations: 1.773 MB / 473.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005274/0.3263, allocations: 2.794 MB / 476.4 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.3414, allocations: 12.04 MB / 488.4 MB, free: 13.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3415, allocations: 0 / 488.4 MB, free: 13.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3415, allocations: 0 / 488.4 MB, free: 13.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003781/0.3418, allocations: 0 / 488.4 MB, free: 13.57 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.02334/0.3652, allocations: 7.837 MB / 496.3 MB, free: 5.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.3652, allocations: 8.031 kB / 496.3 MB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/0.3853, allocations: 2.912 MB / 499.2 MB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009473/0.3948, allocations: 3.74 MB / 0.4911 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005101/0.3953, allocations: 488.9 kB / 0.4916 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/0.3977, allocations: 0.6249 MB / 0.4922 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.4201, allocations: 9.469 MB / 0.5015 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002296/0.4204, allocations: 11.95 kB / 0.5015 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001194/0.4216, allocations: 260 kB / 0.5017 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003513/0.4219, allocations: 313.4 kB / 0.502 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.4422, allocations: 7.919 MB / 0.5098 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0572/0.4994, allocations: 24.06 MB / 0.5332 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2097/0.709, allocations: 3.887 MB / 0.537 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/0.7115, allocations: 1.456 MB / 0.5385 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.7117, allocations: 51.8 kB / 0.5385 GB, free: 101.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.7117, allocations: 58.86 kB / 0.5386 GB, free: 101.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.22e-06/0.7117, allocations: 0 / 0.5386 GB, free: 101.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006852/0.7186, allocations: 4.005 MB / 0.5425 GB, free: 100.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.7186, allocations: 105.9 kB / 0.5426 GB, free: 100.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.7208, allocations: 1.96 MB / 0.5445 GB, free: 99.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.7209, allocations: 65.58 kB / 0.5446 GB, free: 99.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.7219, allocations: 2.642 MB / 0.5471 GB, free: 98.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004409/0.7224, allocations: 0.8538 MB / 0.548 GB, free: 97.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000742/0.7231, allocations: 0.6612 MB / 0.5486 GB, free: 97.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.7232, allocations: 305.1 kB / 0.5489 GB, free: 96.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.7248, allocations: 1.401 MB / 0.5503 GB, free: 96.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.7267, allocations: 2.597 MB / 0.5528 GB, free: 94.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.7305, allocations: 4.235 MB / 0.5569 GB, free: 91.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/0.7305, allocations: 15.28 kB / 0.557 GB, free: 91.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005236/0.7358, allocations: 4.512 MB / 0.5614 GB, free: 87.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.7358, allocations: 24 kB / 0.5614 GB, free: 87.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/0.7358, allocations: 36 kB / 0.5614 GB, free: 87.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/0.7365, allocations: 326 kB / 0.5617 GB, free: 87.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.7388, allocations: 0.7724 MB / 0.5625 GB, free: 86.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.7425, allocations: 4.742 MB / 0.5671 GB, free: 82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.7445, allocations: 415 kB / 0.5675 GB, free: 81.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.7447, allocations: 159.8 kB / 0.5677 GB, free: 81.46 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.002478/0.7472, allocations: 2.189 MB / 0.5698 GB, free: 79.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.7475, allocations: 214.6 kB / 0.57 GB, free: 79.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.7514, allocations: 3.175 MB / 0.5731 GB, free: 76.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.7514, allocations: 24 kB / 0.5731 GB, free: 76.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.7514, allocations: 4 kB / 0.5731 GB, free: 76.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.7514, allocations: 15.89 kB / 0.5732 GB, free: 76.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.7632, allocations: 9.568 MB / 0.5825 GB, free: 66.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.7633, allocations: 23.92 kB / 0.5825 GB, free: 66.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.7648, allocations: 435.3 kB / 0.5829 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005519/0.7653, allocations: 269.9 kB / 0.5832 GB, free: 65.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.7654, allocations: 68 kB / 0.5833 GB, free: 65.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003612/0.769, allocations: 4.671 MB / 0.5878 GB, free: 60.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.769, allocations: 23.88 kB / 0.5878 GB, free: 60.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/0.774, allocations: 4.987 MB / 0.5927 GB, free: 55.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.7751, allocations: 486.1 kB / 0.5932 GB, free: 55.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.7754, allocations: 59.98 kB / 0.5932 GB, free: 54.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.7765, allocations: 131.8 kB / 0.5934 GB, free: 54.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.7768, allocations: 217.3 kB / 0.5936 GB, free: 54.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.7769, allocations: 83.98 kB / 0.5936 GB, free: 54.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001327/0.7782, allocations: 1.278 MB / 0.5949 GB, free: 53.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7782, allocations: 0 / 0.5949 GB, free: 53.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003067/0.7813, allocations: 1.456 MB / 0.5963 GB, free: 51.79 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.0003183/0.7816, allocations: 214.4 kB / 0.5965 GB, free: 51.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004276/0.7859, allocations: 3.487 MB / 0.5999 GB, free: 48.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.7859, allocations: 3.938 kB / 0.5999 GB, free: 48.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.7877, allocations: 1.586 MB / 0.6015 GB, free: 46.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.7901, allocations: 0.4957 MB / 0.602 GB, free: 45.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.8032, allocations: 10.02 MB / 0.6117 GB, free: 35.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002666/0.8059, allocations: 3.39 MB / 0.6151 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/0.8067, allocations: 219.3 kB / 0.6153 GB, free: 32.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.8067, allocations: 0 / 0.6153 GB, free: 32.09 MB / 446.1 MB Notification: Performance of Templates: time 0.1598/0.9666, allocations: 126.2 MB / 0.7385 GB, free: 1.781 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.100759385153651]