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.001712/0.001712, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 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.00247/0.00247, allocations: 160.9 kB / 24.26 MB, free: 144 kB / 18.57 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.462/1.462, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 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 2.054e-06/2.054e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.823e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01651/0.01655, allocations: 12.02 MB / 284.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008417/0.02497, allocations: 3.718 MB / 288 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.02701, allocations: 119.4 kB / 288.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1356/0.1626, allocations: 5.467 MB / 293.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.1676, allocations: 1.425 MB / 295 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.1704, allocations: 1.174 MB / 296.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0073/0.1777, allocations: 6.683 MB / 302.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.1894, allocations: 9.081 MB / 311.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006861/0.1963, allocations: 4.933 MB / 316.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004551/0.2008, allocations: 3.346 MB / 320.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001854/0.2027, allocations: 0.8867 MB / 321.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.2054, allocations: 1.081 MB / 322.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001893/0.2073, allocations: 1.811 MB / 324 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004259/0.2115, allocations: 2.387 MB / 326.3 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.2278, allocations: 12.13 MB / 338.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2278, allocations: 0 / 338.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2278, allocations: 0 / 338.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000426/0.2282, allocations: 0 / 338.5 MB, free: 14.09 MB / 298.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.02305/0.2512, allocations: 7.786 MB / 346.3 MB, free: 6.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2513, allocations: 11.98 kB / 346.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/0.2723, allocations: 3.752 MB / 350 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009729/0.282, allocations: 3.903 MB / 353.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005811/0.2826, allocations: 487.1 kB / 354.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002376/0.285, allocations: 0.62 MB / 355 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.308, allocations: 9.489 MB / 364.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/0.3081, allocations: 15.94 kB / 364.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/0.3091, allocations: 260.1 kB / 364.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000396/0.3095, allocations: 317.4 kB / 365.1 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/0.327, allocations: 7.939 MB / 373 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04826/0.3753, allocations: 24.86 MB / 397.9 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009539/0.3848, allocations: 3.933 MB / 401.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/0.3876, allocations: 1.456 MB / 403.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3879, allocations: 81.94 kB / 403.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/0.3879, allocations: 64.12 kB / 403.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 4.328e-06/0.3879, allocations: 0 / 403.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=238): time 0.009253/0.3972, allocations: 4.101 MB / 407.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3973, allocations: 103.1 kB / 407.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003619/0.4009, allocations: 1.964 MB / 409.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002604/0.4012, allocations: 61.7 kB / 409.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.4037, allocations: 2.631 MB / 412.3 MB, free: 4.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.4048, allocations: 0.8446 MB / 413.1 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001147/0.406, allocations: 0.6679 MB / 413.8 MB, free: 2.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4062, allocations: 301.1 kB / 414.1 MB, free: 2.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.4087, allocations: 1.408 MB / 415.5 MB, free: 1.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/0.4127, allocations: 2.604 MB / 418.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006496/0.4192, allocations: 4.248 MB / 422.4 MB, free: 9.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.412e-05/0.4192, allocations: 12 kB / 422.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008573/0.4278, allocations: 4.69 MB / 427.1 MB, free: 4.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.4278, allocations: 24.09 kB / 427.1 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-05/0.4279, allocations: 40 kB / 427.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.4291, allocations: 359.7 kB / 427.5 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/0.432, allocations: 0.7799 MB / 428.2 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1616/0.5936, allocations: 4.759 MB / 433 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.5965, allocations: 415.3 kB / 433.4 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004736/0.597, allocations: 164.8 kB / 433.6 MB, free: 111.2 MB / 378.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.003864/0.6009, allocations: 2.191 MB / 435.8 MB, free: 111 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/0.6015, allocations: 291.6 kB / 436 MB, free: 111 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.6067, allocations: 3.176 MB / 439.2 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.6067, allocations: 25.22 kB / 439.2 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.6067, allocations: 8.938 kB / 439.3 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-05/0.6068, allocations: 13.22 kB / 439.3 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.6222, allocations: 9.659 MB / 448.9 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.6222, allocations: 11.62 kB / 448.9 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.6238, allocations: 440.3 kB / 449.4 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000883/0.6246, allocations: 329.5 kB / 449.7 MB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.6248, allocations: 73.78 kB / 449.8 MB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/0.6288, allocations: 4.693 MB / 454.5 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/0.6288, allocations: 27.28 kB / 454.5 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/0.6346, allocations: 5.06 MB / 459.5 MB, free: 99.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.6356, allocations: 479.4 kB / 460 MB, free: 99.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.6359, allocations: 65.98 kB / 460.1 MB, free: 99.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.6371, allocations: 120 kB / 460.2 MB, free: 99.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/0.6374, allocations: 220.4 kB / 460.4 MB, free: 99.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.6376, allocations: 86.67 kB / 460.5 MB, free: 99.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001664/0.6392, allocations: 1.275 MB / 461.8 MB, free: 99.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6392, allocations: 3.375 kB / 461.8 MB, free: 99.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00411/0.6433, allocations: 1.463 MB / 463.2 MB, free: 98.82 MB / 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.0004702/0.6438, allocations: 227 kB / 463.5 MB, free: 98.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005206/0.649, allocations: 3.506 MB / 467 MB, free: 96.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.749e-05/0.649, allocations: 4 kB / 467 MB, free: 96.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.6511, allocations: 1.598 MB / 468.6 MB, free: 94.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.6539, allocations: 0.5301 MB / 469.1 MB, free: 94.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.6706, allocations: 10.15 MB / 479.2 MB, free: 84.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.6736, allocations: 3.485 MB / 482.7 MB, free: 80.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002923/0.6765, allocations: 1.191 MB / 483.9 MB, free: 79.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/0.6771, allocations: 208.4 kB / 484.1 MB, free: 79.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.6771, allocations: 0 / 484.1 MB, free: 79.58 MB / 378.7 MB Notification: Performance of Templates: time 0.04335/0.7204, allocations: 30.11 MB / 0.5022 GB, free: 49.82 MB / 378.7 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: 5.802955733961426]