Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009734/0.0009734, allocations: 166.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9872/0.9872, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.038e-05, allocations: 6.312 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01412/0.01414, allocations: 12.99 MB / 286.4 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007428/0.02157, allocations: 3.765 MB / 290.2 MB, free: 472 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.02284, allocations: 115.4 kB / 290.3 MB, free: 356 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1168/0.1396, allocations: 5.764 MB / 296 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.1436, allocations: 1.439 MB / 297.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.1454, allocations: 1.178 MB / 298.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005221/0.1506, allocations: 6.69 MB / 305.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008874/0.1595, allocations: 9.087 MB / 314.4 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.1639, allocations: 4.983 MB / 319.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00374/0.1676, allocations: 3.815 MB / 323.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001834/0.1695, allocations: 0.8867 MB / 324.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.1709, allocations: 1.081 MB / 325.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009719/0.1718, allocations: 1.841 MB / 327 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.1736, allocations: 2.422 MB / 329.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.1783, allocations: 6.164 MB / 335.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1784, allocations: 0 / 335.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1784, allocations: 0 / 335.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.393e-05/0.1784, allocations: 0 / 335.6 MB, free: 2.445 MB / 282.7 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.008727/0.1871, allocations: 7.993 MB / 343.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1872, allocations: 16.03 kB / 343.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009298/0.1965, allocations: 3.504 MB / 347.1 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/0.1998, allocations: 3.297 MB / 350.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.2, allocations: 487.6 kB / 350.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005869/0.2006, allocations: 0.6174 MB / 351.5 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/0.206, allocations: 5.014 MB / 356.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.381e-05/0.2061, allocations: 7.953 kB / 356.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/0.2064, allocations: 260.8 kB / 356.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/0.2066, allocations: 317.4 kB / 357.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.2096, allocations: 2.206 MB / 359.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02098/0.2305, allocations: 22.98 MB / 382.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.234, allocations: 2.806 MB / 385.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.2348, allocations: 0.7223 MB / 385.8 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.235, allocations: 98.28 kB / 385.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.2351, allocations: 79.3 kB / 386 MB, free: 464 kB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 4.679e-06/0.2351, allocations: 0 / 386 MB, free: 464 kB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.003218/0.2383, allocations: 2.179 MB / 388.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2383, allocations: 107.1 kB / 388.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.2399, allocations: 1.886 MB / 390.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.24, allocations: 65.7 kB / 390.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.2412, allocations: 2.818 MB / 393.1 MB, free: 9.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.2417, allocations: 0.8677 MB / 393.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006905/0.2424, allocations: 0.7728 MB / 394.7 MB, free: 7.664 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2425, allocations: 476.8 kB / 395.2 MB, free: 7.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.243, allocations: 410.6 kB / 395.6 MB, free: 6.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.2443, allocations: 2.193 MB / 397.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.2463, allocations: 2.919 MB / 400.7 MB, free: 220 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.2464, allocations: 12 kB / 400.7 MB, free: 208 kB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002704/0.2491, allocations: 2.631 MB / 403.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.2491, allocations: 23.83 kB / 403.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.2491, allocations: 40 kB / 403.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/0.2496, allocations: 299 kB / 403.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.2509, allocations: 0.737 MB / 404.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.2539, allocations: 5.09 MB / 409.5 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.2549, allocations: 361.2 kB / 409.9 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.2551, allocations: 132 kB / 410 MB, free: 6.668 MB / 362.7 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.0009629/0.256, allocations: 395.2 kB / 410.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.2563, allocations: 290.5 kB / 410.7 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.2583, allocations: 1.866 MB / 412.5 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.2584, allocations: 28 kB / 412.5 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.2584, allocations: 8.125 kB / 412.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.2584, allocations: 11.95 kB / 412.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/0.2657, allocations: 7.04 MB / 419.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.2658, allocations: 13 kB / 419.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.2665, allocations: 403.3 kB / 420 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.267, allocations: 273.6 kB / 420.3 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.279e-05/0.267, allocations: 71.97 kB / 420.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.2697, allocations: 5.029 MB / 425.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.2697, allocations: 23.88 kB / 425.4 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.2722, allocations: 2.842 MB / 428.2 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.2726, allocations: 425.8 kB / 428.7 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.2728, allocations: 63.98 kB / 428.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.2733, allocations: 71.98 kB / 428.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.2735, allocations: 221.2 kB / 429 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/0.2736, allocations: 71.98 kB / 429.1 MB, free: 2.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006297/0.2742, allocations: 0.8212 MB / 429.9 MB, free: 1.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2742, allocations: 0 / 429.9 MB, free: 1.855 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002441/0.2766, allocations: 1.456 MB / 431.4 MB, free: 404 kB / 378.7 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.000279/0.2769, allocations: 222.6 kB / 431.6 MB, free: 172 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1133/0.3902, allocations: 2.225 MB / 433.8 MB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.3902, allocations: 5.125 kB / 433.8 MB, free: 104.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.3915, allocations: 1.166 MB / 435 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.3933, allocations: 0.5255 MB / 435.5 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009652/0.403, allocations: 8.658 MB / 444.2 MB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.404, allocations: 1.551 MB / 445.7 MB, free: 100 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008993/0.4049, allocations: 396.9 kB / 446.1 MB, free: 99.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008053/0.4057, allocations: 0.5737 MB / 446.7 MB, free: 99.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4057, allocations: 0 / 446.7 MB, free: 99.86 MB / 378.7 MB Notification: Performance of Templates: time 0.03806/0.4438, allocations: 32.48 MB / 479.2 MB, free: 77.09 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5080205872654915]