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.00184/0.00184, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002145/0.002145, allocations: 189.2 kB / 24.47 MB, free: 4.168 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.411/1.411, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.001597/0.001597, allocations: 55.92 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3104, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02351/0.3339, allocations: 14.01 MB / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.3445, allocations: 3.796 MB / 441.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.3471, allocations: 119.4 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01741/0.3645, allocations: 5.61 MB / 447.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006337/0.3708, allocations: 1.579 MB / 449 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.3741, allocations: 1.1 MB / 450.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009355/0.3835, allocations: 6.394 MB / 456.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01647/0.4, allocations: 9.136 MB / 465.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.4051, allocations: 3.374 MB / 469 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006413/0.4115, allocations: 3.878 MB / 472.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003153/0.4147, allocations: 0.8867 MB / 473.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004454/0.4191, allocations: 1.074 MB / 474.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002871/0.422, allocations: 1.765 MB / 476.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006136/0.4281, allocations: 3.568 MB / 480.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.4434, allocations: 11.98 MB / 492.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4434, allocations: 0 / 492.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4434, allocations: 0 / 492.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003468/0.4437, allocations: 0 / 492.2 MB, free: 10.12 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.02344/0.4672, allocations: 7.837 MB / 0.4883 GB, free: 2.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4672, allocations: 8.031 kB / 0.4883 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02045/0.4877, allocations: 2.916 MB / 0.4911 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009346/0.497, allocations: 3.728 MB / 0.4948 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/0.4975, allocations: 485 kB / 0.4952 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/0.4997, allocations: 0.6249 MB / 0.4959 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/0.5223, allocations: 9.314 MB / 0.5049 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/0.5226, allocations: 19.88 kB / 0.505 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/0.5243, allocations: 260 kB / 0.5052 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003811/0.5247, allocations: 313.4 kB / 0.5055 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01772/0.5424, allocations: 7.95 MB / 0.5133 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/0.7863, allocations: 27.36 MB / 0.54 GB, free: 90.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.7934, allocations: 3.95 MB / 0.5439 GB, free: 90.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.7954, allocations: 1.446 MB / 0.5453 GB, free: 90.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.7956, allocations: 57.03 kB / 0.5453 GB, free: 90.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.7956, allocations: 61.56 kB / 0.5454 GB, free: 90.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.608e-06/0.7956, allocations: 2.281 kB / 0.5454 GB, free: 90.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006787/0.8024, allocations: 4.009 MB / 0.5493 GB, free: 90.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.8024, allocations: 105.5 kB / 0.5494 GB, free: 90.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.8047, allocations: 1.907 MB / 0.5513 GB, free: 90 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.8049, allocations: 63.7 kB / 0.5513 GB, free: 89.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.806, allocations: 2.64 MB / 0.5539 GB, free: 88.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.8064, allocations: 0.8495 MB / 0.5547 GB, free: 88.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007319/0.8072, allocations: 0.6663 MB / 0.5554 GB, free: 87.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.8072, allocations: 303.8 kB / 0.5557 GB, free: 87.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.8088, allocations: 1.402 MB / 0.557 GB, free: 87.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.8108, allocations: 2.59 MB / 0.5596 GB, free: 85.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.8145, allocations: 4.234 MB / 0.5637 GB, free: 82.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.8145, allocations: 11.25 kB / 0.5637 GB, free: 82.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005531/0.82, allocations: 4.52 MB / 0.5681 GB, free: 80.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.8201, allocations: 27.34 kB / 0.5682 GB, free: 80.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/0.8201, allocations: 38.06 kB / 0.5682 GB, free: 80.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/0.8208, allocations: 315.1 kB / 0.5685 GB, free: 79.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.8232, allocations: 0.783 MB / 0.5693 GB, free: 79.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003952/0.8271, allocations: 4.84 MB / 0.574 GB, free: 74.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.8292, allocations: 421.5 kB / 0.5744 GB, free: 74.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.8295, allocations: 164 kB / 0.5745 GB, free: 74.23 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.002729/0.8322, allocations: 2.183 MB / 0.5767 GB, free: 72.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.8325, allocations: 218.5 kB / 0.5769 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004158/0.8367, allocations: 3.178 MB / 0.58 GB, free: 68.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.8367, allocations: 24 kB / 0.58 GB, free: 68.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.8367, allocations: 8 kB / 0.58 GB, free: 68.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.8367, allocations: 15.95 kB / 0.58 GB, free: 68.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.8523, allocations: 10.93 MB / 0.5907 GB, free: 57.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.8523, allocations: 12 kB / 0.5907 GB, free: 57.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.8539, allocations: 439.3 kB / 0.5911 GB, free: 57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005945/0.8544, allocations: 270.1 kB / 0.5914 GB, free: 56.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.8546, allocations: 67.98 kB / 0.5915 GB, free: 56.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003782/0.8584, allocations: 4.793 MB / 0.5961 GB, free: 51.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.8584, allocations: 19.94 kB / 0.5962 GB, free: 51.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005197/0.8636, allocations: 4.999 MB / 0.601 GB, free: 46.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8646, allocations: 485.8 kB / 0.6015 GB, free: 45.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.8649, allocations: 63.98 kB / 0.6016 GB, free: 45.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.8661, allocations: 123.9 kB / 0.6017 GB, free: 45.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.8664, allocations: 209.3 kB / 0.6019 GB, free: 45.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.8665, allocations: 87.98 kB / 0.602 GB, free: 45.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001357/0.8678, allocations: 1.294 MB / 0.6032 GB, free: 44.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8678, allocations: 0 / 0.6032 GB, free: 44.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003364/0.8712, allocations: 1.448 MB / 0.6046 GB, free: 42.73 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.0003995/0.8716, allocations: 220.9 kB / 0.6049 GB, free: 42.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.8761, allocations: 3.487 MB / 0.6083 GB, free: 39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.8761, allocations: 4 kB / 0.6083 GB, free: 39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.878, allocations: 1.597 MB / 0.6098 GB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.8807, allocations: 0.5019 MB / 0.6103 GB, free: 36.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.8948, allocations: 10.01 MB / 0.6201 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/0.8977, allocations: 3.897 MB / 0.6239 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008826/0.8986, allocations: 219.4 kB / 0.6241 GB, free: 22.52 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8986, allocations: 0 / 0.6241 GB, free: 22.52 MB / 446.1 MB Notification: Performance of Templates: time 0.33/1.229, allocations: 124.4 MB / 0.7456 GB, free: 179.4 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.048166949069127]