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.001144/0.001144, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001789/0.001789, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 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 0.9891/0.9891, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 1.893e-06/1.893e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.714e-05, allocations: 2.312 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01049/0.01052, allocations: 13 MB / 286.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.01739, allocations: 3.757 MB / 290.1 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007983/0.01819, allocations: 115.5 kB / 290.2 MB, free: 276 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1315/0.1496, allocations: 5.771 MB / 296 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.154, allocations: 1.429 MB / 297.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.1558, allocations: 1.181 MB / 298.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005652/0.1615, allocations: 6.688 MB / 305.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00865/0.1701, allocations: 9.084 MB / 314.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.1742, allocations: 4.981 MB / 319.3 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/0.1774, allocations: 3.826 MB / 323.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.1789, allocations: 0.8828 MB / 324.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.1803, allocations: 1.083 MB / 325.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009321/0.1812, allocations: 1.835 MB / 327 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.183, allocations: 2.422 MB / 329.4 MB, free: 8.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.1873, allocations: 6.166 MB / 335.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1873, allocations: 0 / 335.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1873, allocations: 0 / 335.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.004e-05/0.1874, allocations: 0 / 335.6 MB, free: 2.363 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.009032/0.1964, allocations: 8 MB / 343.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1965, allocations: 15.98 kB / 343.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009485/0.206, allocations: 3.501 MB / 347.1 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.2096, allocations: 3.297 MB / 350.4 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.2098, allocations: 482.1 kB / 350.8 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006142/0.2104, allocations: 0.6274 MB / 351.5 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005799/0.2162, allocations: 5 MB / 356.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.473e-05/0.2163, allocations: 7.047 kB / 356.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003884/0.2167, allocations: 264 kB / 356.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.2169, allocations: 317.4 kB / 357 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.2199, allocations: 2.213 MB / 359.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.2407, allocations: 22.98 MB / 382.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.2441, allocations: 2.813 MB / 385.1 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.2449, allocations: 0.7184 MB / 385.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.245, allocations: 105.9 kB / 385.9 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.245, allocations: 63.39 kB / 385.9 MB, free: 328 kB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 3.617e-06/0.245, allocations: 0 / 385.9 MB, free: 328 kB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.003138/0.2482, allocations: 2.183 MB / 388.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.2482, allocations: 111 kB / 388.2 MB, free: 14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.2498, allocations: 1.894 MB / 390.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.2499, allocations: 61.7 kB / 390.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.2511, allocations: 2.814 MB / 393 MB, free: 9.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005121/0.2516, allocations: 0.8678 MB / 393.9 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006905/0.2523, allocations: 0.7689 MB / 394.6 MB, free: 7.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.2524, allocations: 480.8 kB / 395.1 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.2529, allocations: 406.6 kB / 395.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.2542, allocations: 2.205 MB / 397.7 MB, free: 3.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.2562, allocations: 2.903 MB / 400.6 MB, free: 80 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/0.2562, allocations: 12 kB / 400.6 MB, free: 68 kB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002702/0.2589, allocations: 2.639 MB / 403.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.259, allocations: 24 kB / 403.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.259, allocations: 39.94 kB / 403.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/0.2595, allocations: 297.1 kB / 403.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.2608, allocations: 0.7371 MB / 404.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.2636, allocations: 5.081 MB / 409.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000984/0.2646, allocations: 361.4 kB / 409.8 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.2647, allocations: 147.9 kB / 409.9 MB, free: 6.516 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.0008475/0.2656, allocations: 379.3 kB / 410.3 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.2658, allocations: 290.6 kB / 410.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.2678, allocations: 1.866 MB / 412.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2678, allocations: 31.98 kB / 412.5 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2678, allocations: 4 kB / 412.5 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/0.2679, allocations: 19.89 kB / 412.5 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.2755, allocations: 7.033 MB / 419.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.2755, allocations: 20.91 kB / 419.6 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/0.2763, allocations: 399.4 kB / 419.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.2768, allocations: 259.2 kB / 420.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/0.2768, allocations: 67.98 kB / 420.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/0.2795, allocations: 5.044 MB / 425.3 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.2795, allocations: 31.8 kB / 425.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.282, allocations: 2.846 MB / 428.2 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.2825, allocations: 417.8 kB / 428.6 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.2827, allocations: 63.92 kB / 428.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.2832, allocations: 75.98 kB / 428.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.2834, allocations: 213.3 kB / 428.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/0.2835, allocations: 75.97 kB / 429 MB, free: 2.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006412/0.2841, allocations: 0.8174 MB / 429.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2841, allocations: 0 / 429.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002579/0.2867, allocations: 1.459 MB / 431.3 MB, free: 256 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.0002713/0.287, allocations: 227.1 kB / 431.5 MB, free: 20 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1065/0.3935, allocations: 2.216 MB / 433.7 MB, free: 107.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.3935, allocations: 3.281 kB / 433.7 MB, free: 107.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.3946, allocations: 1.175 MB / 434.9 MB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.3964, allocations: 0.5162 MB / 435.4 MB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.4064, allocations: 8.66 MB / 444.1 MB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.4075, allocations: 1.552 MB / 445.6 MB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.4086, allocations: 399.2 kB / 446 MB, free: 102.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/0.4094, allocations: 0.5689 MB / 446.6 MB, free: 102.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.4094, allocations: 3.531 kB / 446.6 MB, free: 102.8 MB / 378.7 MB Notification: Performance of Templates: time 0.03855/0.4479, allocations: 32.5 MB / 479.1 MB, free: 79.78 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] 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","",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.5805148226208985]