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.0007176/0.0007176, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009202/0.001638, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.0009445/0.0009445, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009356/0.00188, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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.901/0.901, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08977/0.9908, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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 9.32e-07/9.32e-07, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.467e-06/1.04e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.008878/0.008888, allocations: 13.14 MB / 258.2 MB, free: 440 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.01416, allocations: 4.005 MB / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00063/0.01479, allocations: 119.4 kB / 262.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004624/0.01942, allocations: 5.914 MB / 268.2 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.02159, allocations: 1.409 MB / 269.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.02292, allocations: 1.191 MB / 270.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1117/0.1346, allocations: 6.713 MB / 277.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01069/0.1453, allocations: 9.231 MB / 286.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004824/0.1501, allocations: 5.111 MB / 291.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.153, allocations: 3.865 MB / 295.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000852/0.1538, allocations: 0.8858 MB / 296.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.155, allocations: 1.091 MB / 297.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008043/0.1558, allocations: 1.415 MB / 299.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.1575, allocations: 2.004 MB / 301.1 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.1616, allocations: 5.825 MB / 306.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.1616, allocations: 0 / 306.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1616, allocations: 5.188 kB / 306.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001472/0.1618, allocations: 0 / 306.9 MB, free: 5.059 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.009225/0.171, allocations: 8.707 MB / 315.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.171, allocations: 9.438 kB / 315.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0089/0.1799, allocations: 3.722 MB / 319.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.1828, allocations: 2.062 MB / 321.4 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.183, allocations: 483.1 kB / 321.9 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005866/0.1836, allocations: 0.6237 MB / 322.5 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004856/0.1884, allocations: 5.131 MB / 327.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.833e-05/0.1885, allocations: 14.2 kB / 327.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003731/0.1889, allocations: 261.4 kB / 327.9 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.1891, allocations: 318.5 kB / 328.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.1921, allocations: 2.537 MB / 330.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.2076, allocations: 17.96 MB / 348.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.2106, allocations: 2.512 MB / 351.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/0.2113, allocations: 0.6316 MB / 351.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.2114, allocations: 81.94 kB / 352 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.2114, allocations: 64.55 kB / 352 MB, free: 10.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 3.967e-06/0.2114, allocations: 0 / 352 MB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002442/0.2139, allocations: 1.745 MB / 353.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.2139, allocations: 106.5 kB / 353.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.2147, allocations: 1.285 MB / 355.2 MB, free: 7.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/0.2148, allocations: 65.7 kB / 355.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009793/0.2157, allocations: 2.473 MB / 357.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004882/0.2162, allocations: 0.8482 MB / 358.6 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007707/0.217, allocations: 0.6169 MB / 359.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.2171, allocations: 305.1 kB / 359.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.2178, allocations: 483.6 kB / 359.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.2189, allocations: 1.538 MB / 361.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.221, allocations: 2.315 MB / 363.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.221, allocations: 12 kB / 363.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002731/0.2238, allocations: 2.096 MB / 365.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.2238, allocations: 27.47 kB / 365.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/0.2238, allocations: 36 kB / 366 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/0.2244, allocations: 281.8 kB / 366.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/0.2264, allocations: 0.8336 MB / 367.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/0.2291, allocations: 3.659 MB / 370.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.2303, allocations: 361.3 kB / 371.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.2305, allocations: 128 kB / 371.2 MB, free: 6.887 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.0007439/0.2312, allocations: 341.7 kB / 371.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.2315, allocations: 199.4 kB / 371.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.2338, allocations: 1.507 MB / 373.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.2338, allocations: 28 kB / 373.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2338, allocations: 4 kB / 373.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.2338, allocations: 15.95 kB / 373.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007037/0.2409, allocations: 5.471 MB / 378.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.2409, allocations: 12 kB / 378.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.2421, allocations: 451.2 kB / 379.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004702/0.2425, allocations: 315.8 kB / 379.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004876/0.243, allocations: 247.7 kB / 379.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.2431, allocations: 63.98 kB / 379.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.2458, allocations: 3.548 MB / 383.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/0.2458, allocations: 22.94 kB / 383.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.2483, allocations: 2.368 MB / 385.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.2485, allocations: 63.98 kB / 385.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.2492, allocations: 71.98 kB / 385.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.2494, allocations: 205.1 kB / 386.1 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.2495, allocations: 68.09 kB / 386.2 MB, free: 8.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005553/0.2501, allocations: 0.5646 MB / 386.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2501, allocations: 0 / 386.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00269/0.2528, allocations: 1.463 MB / 388.2 MB, free: 6.336 MB / 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.0004189/0.2532, allocations: 205.3 kB / 388.4 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.2553, allocations: 1.886 MB / 390.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.689e-05/0.2554, allocations: 59.72 kB / 390.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2565, allocations: 0.9866 MB / 391.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.258, allocations: 0.6913 MB / 392 MB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/0.2894, allocations: 9.269 MB / 401.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.2908, allocations: 1.17 MB / 402.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001148/0.292, allocations: 401 kB / 402.8 MB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000816/0.2928, allocations: 0.5049 MB / 403.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2928, allocations: 0 / 403.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of Templates: time 0.1444/0.4371, allocations: 33.93 MB / 437.3 MB, free: 101.8 MB / 394.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 -ignoreHideResult -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.345524895004928]