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.001956/0.001956, allocations: 92.33 kB / 20.95 MB, free: 3.59 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.002397/0.002397, allocations: 169.2 kB / 24.27 MB, free: 284 kB / 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 1.453/1.453, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.643e-06/1.643e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.899e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.018/0.01803, allocations: 12.02 MB / 284.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.03236, allocations: 3.714 MB / 288.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.03589, allocations: 119.4 kB / 288.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1515/0.1874, allocations: 5.463 MB / 293.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004877/0.1923, allocations: 1.434 MB / 295.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.1952, allocations: 1.175 MB / 296.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007796/0.203, allocations: 6.69 MB / 302.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01287/0.2159, allocations: 9.078 MB / 312 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006545/0.2224, allocations: 4.941 MB / 317 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004809/0.2272, allocations: 3.341 MB / 320.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002248/0.2295, allocations: 0.8867 MB / 321.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.233, allocations: 1.081 MB / 322.3 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002436/0.2354, allocations: 1.807 MB / 324.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005241/0.2406, allocations: 2.394 MB / 326.5 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.2574, allocations: 12.13 MB / 338.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2574, allocations: 0 / 338.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2574, allocations: 4 kB / 338.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003594/0.2577, allocations: 0 / 338.6 MB, free: 14.03 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.02814/0.2859, allocations: 7.777 MB / 346.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.2859, allocations: 8.031 kB / 346.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02296/0.3089, allocations: 3.753 MB / 350.1 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00962/0.3185, allocations: 3.905 MB / 354 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006222/0.3191, allocations: 486.7 kB / 354.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002493/0.3216, allocations: 0.62 MB / 355.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.3467, allocations: 9.487 MB / 364.6 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/0.3468, allocations: 15.94 kB / 364.6 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/0.3479, allocations: 265.6 kB / 364.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003938/0.3483, allocations: 313.4 kB / 365.2 MB, free: 3.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.3663, allocations: 7.942 MB / 373.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/0.4153, allocations: 24.86 MB / 398 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009323/0.4246, allocations: 3.938 MB / 401.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002673/0.4273, allocations: 1.457 MB / 403.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.4275, allocations: 81.94 kB / 403.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/0.4276, allocations: 64.16 kB / 403.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 4.829e-06/0.4276, allocations: 0 / 403.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=238): time 0.009369/0.437, allocations: 4.105 MB / 407.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.437, allocations: 99.11 kB / 407.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.4402, allocations: 1.964 MB / 409.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.4404, allocations: 61.7 kB / 409.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002288/0.4427, allocations: 2.631 MB / 412.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.4437, allocations: 0.844 MB / 413.2 MB, free: 3.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.4449, allocations: 0.6679 MB / 413.9 MB, free: 2.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.445, allocations: 305.1 kB / 414.2 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/0.4474, allocations: 1.408 MB / 415.6 MB, free: 1.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/0.4511, allocations: 2.594 MB / 418.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006456/0.4575, allocations: 4.251 MB / 422.5 MB, free: 9.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.924e-05/0.4576, allocations: 12 kB / 422.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008464/0.466, allocations: 4.688 MB / 427.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.4661, allocations: 24.09 kB / 427.2 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-05/0.4661, allocations: 40 kB / 427.2 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4673, allocations: 365.4 kB / 427.6 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/0.4702, allocations: 0.7799 MB / 428.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1299/0.6001, allocations: 4.754 MB / 433.1 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.6025, allocations: 416.8 kB / 433.5 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/0.603, allocations: 168.8 kB / 433.7 MB, free: 111.3 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.003642/0.6066, allocations: 2.186 MB / 435.9 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/0.6071, allocations: 291.9 kB / 436.2 MB, free: 111.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00504/0.6122, allocations: 3.177 MB / 439.3 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/0.6122, allocations: 26.98 kB / 439.4 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.6122, allocations: 8.656 kB / 439.4 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.6123, allocations: 12.86 kB / 439.4 MB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.6254, allocations: 9.656 MB / 449 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.6255, allocations: 18.5 kB / 449.1 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.6271, allocations: 439.2 kB / 449.5 MB, free: 106.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008246/0.6279, allocations: 327.9 kB / 449.8 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.6281, allocations: 70.19 kB / 449.9 MB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.6318, allocations: 4.706 MB / 454.6 MB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.6318, allocations: 23.53 kB / 454.6 MB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005396/0.6372, allocations: 5.056 MB / 459.7 MB, free: 100 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.6381, allocations: 489.8 kB / 460.1 MB, free: 99.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.6384, allocations: 62.27 kB / 460.2 MB, free: 99.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.6396, allocations: 115.1 kB / 460.3 MB, free: 99.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/0.6399, allocations: 220.8 kB / 460.5 MB, free: 99.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.64, allocations: 86.7 kB / 460.6 MB, free: 99.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001401/0.6414, allocations: 1.28 MB / 461.9 MB, free: 99.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6414, allocations: 3.781 kB / 461.9 MB, free: 99.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003385/0.6448, allocations: 1.457 MB / 463.4 MB, free: 98.89 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.0003731/0.6452, allocations: 216.7 kB / 463.6 MB, free: 98.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004247/0.6494, allocations: 3.505 MB / 467.1 MB, free: 96.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.6494, allocations: 4 kB / 467.1 MB, free: 96.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.6512, allocations: 1.596 MB / 468.7 MB, free: 94.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.6538, allocations: 0.5268 MB / 469.2 MB, free: 94.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.6665, allocations: 10.16 MB / 479.4 MB, free: 84.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/0.6693, allocations: 3.485 MB / 482.8 MB, free: 80.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00251/0.6718, allocations: 1.195 MB / 484 MB, free: 79.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.6724, allocations: 204.3 kB / 484.2 MB, free: 79.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6724, allocations: 0 / 484.2 MB, free: 79.59 MB / 378.7 MB Notification: Performance of Templates: time 0.04212/0.7145, allocations: 30.12 MB / 0.5023 GB, free: 49.84 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.8857373798964545]