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.0009024/0.0009024, allocations: 80.8 kB / 21.5 MB, free: 2.984 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.000897/0.000897, allocations: 170.9 kB / 24.91 MB, free: 8.715 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.8668/0.8668, allocations: 177.1 MB / 205.3 MB, free: 5.441 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.082e-06/1.082e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.307e-06/1.039e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009238/0.009249, allocations: 13 MB / 286.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005598/0.01485, allocations: 3.974 MB / 290.4 MB, free: 192 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007144/0.01556, allocations: 115.5 kB / 290.6 MB, free: 76 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.09509/0.1106, allocations: 5.94 MB / 296.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.1137, allocations: 1.445 MB / 297.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.1153, allocations: 1.203 MB / 299.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.1198, allocations: 6.702 MB / 305.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007103/0.1269, allocations: 9.352 MB / 315.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/0.13, allocations: 5.005 MB / 320.2 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.133, allocations: 3.874 MB / 324.1 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006518/0.1336, allocations: 0.8867 MB / 325 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1346, allocations: 1.085 MB / 326 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009341/0.1356, allocations: 1.835 MB / 327.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.1372, allocations: 2.426 MB / 330.3 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.1412, allocations: 6.165 MB / 336.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1412, allocations: 0 / 336.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1412, allocations: 0 / 336.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.935e-05/0.1412, allocations: 0 / 336.5 MB, free: 1.738 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.008168/0.1494, allocations: 7.422 MB / 343.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.1494, allocations: 15.97 kB / 343.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009791/0.1592, allocations: 3.715 MB / 347.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.1618, allocations: 2.053 MB / 349.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.162, allocations: 484.9 kB / 350.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006187/0.1626, allocations: 0.6249 MB / 350.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.1677, allocations: 5.132 MB / 355.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-05/0.1678, allocations: 11.94 kB / 355.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004048/0.1682, allocations: 260 kB / 356.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.1684, allocations: 321.4 kB / 356.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.1716, allocations: 2.538 MB / 359 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.1878, allocations: 17.85 MB / 376.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.1909, allocations: 2.464 MB / 379.3 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.1917, allocations: 0.6388 MB / 380 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.1918, allocations: 85.94 kB / 380.1 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1918, allocations: 56.56 kB / 380.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 3.947e-06/0.1918, allocations: 0 / 380.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002556/0.1944, allocations: 1.753 MB / 381.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1944, allocations: 99.11 kB / 382 MB, free: 4.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.1955, allocations: 1.289 MB / 383.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/0.1956, allocations: 61.7 kB / 383.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/0.1964, allocations: 2.481 MB / 385.8 MB, free: 392 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.1968, allocations: 0.8404 MB / 386.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005448/0.1973, allocations: 0.6247 MB / 387.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.1974, allocations: 305.1 kB / 387.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.1979, allocations: 479.6 kB / 388 MB, free: 14.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009173/0.1988, allocations: 1.549 MB / 389.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.2007, allocations: 2.305 MB / 391.9 MB, free: 9.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.2007, allocations: 12 kB / 391.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002205/0.2029, allocations: 2.101 MB / 394 MB, free: 7.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2029, allocations: 20 kB / 394 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.203, allocations: 40 kB / 394.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/0.2034, allocations: 277 kB / 394.3 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.2047, allocations: 0.7175 MB / 395 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.2071, allocations: 3.632 MB / 398.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008174/0.2079, allocations: 365.3 kB / 399 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.208, allocations: 132.2 kB / 399.2 MB, free: 1.727 MB / 346.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.0005836/0.2086, allocations: 343.3 kB / 399.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.2088, allocations: 199.8 kB / 399.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.2104, allocations: 1.509 MB / 401.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.2104, allocations: 27.98 kB / 401.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2104, allocations: 4 kB / 401.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.2105, allocations: 15.95 kB / 401.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005937/0.2164, allocations: 5.481 MB / 406.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.2164, allocations: 12 kB / 406.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.2172, allocations: 387.4 kB / 407.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003768/0.2176, allocations: 244.3 kB / 407.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/0.2177, allocations: 59.98 kB / 407.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.2199, allocations: 3.57 MB / 411 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.2199, allocations: 23.88 kB / 411 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.2219, allocations: 2.367 MB / 413.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.2223, allocations: 317.9 kB / 413.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.2224, allocations: 63.98 kB / 413.7 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.2229, allocations: 76.02 kB / 413.8 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2231, allocations: 213.2 kB / 414 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.2232, allocations: 63.98 kB / 414.1 MB, free: 2.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000434/0.2236, allocations: 0.557 MB / 414.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2236, allocations: 0 / 414.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001826/0.2255, allocations: 1.459 MB / 416.1 MB, free: 40 kB / 362.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.0002673/0.2257, allocations: 207.8 kB / 416.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.2276, allocations: 1.885 MB / 418.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.116e-05/0.2277, allocations: 43.78 kB / 418.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.2285, allocations: 0.9799 MB / 419.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.2298, allocations: 0.5191 MB / 419.7 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/0.2377, allocations: 8.522 MB / 428.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.2386, allocations: 1.137 MB / 429.4 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007984/0.2394, allocations: 397 kB / 429.8 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008201/0.2402, allocations: 0.5049 MB / 430.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2402, allocations: 0 / 430.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of Templates: time 0.1235/0.3637, allocations: 32.74 MB / 463 MB, free: 90.46 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.16780321393162]