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.001342/0.001342, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001546/0.001546, allocations: 162.4 kB / 24.99 MB, free: 9.281 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.9578/0.9578, allocations: 177 MB / 205.2 MB, free: 5.582 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.152e-06/1.152e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.343e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01/0.01002, allocations: 13.4 MB / 286.4 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005636/0.01565, allocations: 3.769 MB / 290.2 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/0.01649, allocations: 123.4 kB / 290.3 MB, free: 372 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1084/0.1249, allocations: 5.914 MB / 296.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.1283, allocations: 1.434 MB / 297.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1299, allocations: 1.192 MB / 298.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00474/0.1346, allocations: 6.681 MB / 305.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00808/0.1427, allocations: 9.088 MB / 314.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.1463, allocations: 4.98 MB / 319.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.1497, allocations: 3.721 MB / 323.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001232/0.1509, allocations: 0.8867 MB / 324.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1522, allocations: 1.088 MB / 325.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009839/0.1532, allocations: 1.832 MB / 327.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.1554, allocations: 2.426 MB / 329.5 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.1601, allocations: 6.158 MB / 335.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1601, allocations: 0 / 335.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1601, allocations: 0 / 335.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.1603, allocations: 0 / 335.7 MB, free: 2.449 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.01034/0.1706, allocations: 8.447 MB / 344.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1707, allocations: 15.98 kB / 344.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.1824, allocations: 3.765 MB / 347.9 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.186, allocations: 3.531 MB / 351.5 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.1862, allocations: 484.2 kB / 351.9 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005879/0.1868, allocations: 0.6236 MB / 352.6 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006998/0.1938, allocations: 5.449 MB / 358 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-05/0.1939, allocations: 7.953 kB / 358 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.1943, allocations: 264.5 kB / 358.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/0.1945, allocations: 321.4 kB / 358.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.1993, allocations: 2.768 MB / 361.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.2249, allocations: 23.27 MB / 384.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.2293, allocations: 3.419 MB / 388 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.2303, allocations: 0.8258 MB / 388.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.2305, allocations: 81.94 kB / 389 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.2305, allocations: 67.33 kB / 389 MB, free: 13.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 3.877e-06/0.2305, allocations: 0 / 389 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.00407/0.2346, allocations: 2.464 MB / 391.5 MB, free: 10.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2346, allocations: 103.1 kB / 391.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.2364, allocations: 1.949 MB / 393.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.2365, allocations: 61.7 kB / 393.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.2376, allocations: 2.809 MB / 396.4 MB, free: 5.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000434/0.238, allocations: 0.8633 MB / 397.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008011/0.2388, allocations: 0.7614 MB / 398 MB, free: 4.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.2389, allocations: 480.8 kB / 398.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007897/0.2397, allocations: 0.522 MB / 399 MB, free: 3.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.2412, allocations: 2.311 MB / 401.3 MB, free: 40 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.2438, allocations: 3.11 MB / 404.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.2438, allocations: 12 kB / 404.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00327/0.2471, allocations: 2.912 MB / 407.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.2471, allocations: 24 kB / 407.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.2472, allocations: 36 kB / 407.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.2477, allocations: 304.8 kB / 407.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.2492, allocations: 0.78 MB / 408.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.2524, allocations: 5.213 MB / 413.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.2534, allocations: 417.2 kB / 414.1 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.2536, allocations: 168 kB / 414.3 MB, free: 2.09 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.0009205/0.2545, allocations: 383.3 kB / 414.7 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.2548, allocations: 290.5 kB / 414.9 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.2573, allocations: 2.049 MB / 417 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.2573, allocations: 24 kB / 417 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2573, allocations: 4 kB / 417 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.2573, allocations: 11.95 kB / 417 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008342/0.2656, allocations: 7.318 MB / 424.3 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.2657, allocations: 16 kB / 424.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/0.2666, allocations: 447.3 kB / 424.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/0.267, allocations: 259.7 kB / 425.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/0.2671, allocations: 67.98 kB / 425.1 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.2701, allocations: 5.179 MB / 430.3 MB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.2701, allocations: 19.94 kB / 430.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1107/0.3808, allocations: 3.121 MB / 433.4 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/0.3815, allocations: 448.3 kB / 433.9 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.3817, allocations: 62.84 kB / 433.9 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.3825, allocations: 121.2 kB / 434.1 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.3827, allocations: 212.8 kB / 434.3 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.3829, allocations: 90.45 kB / 434.4 MB, free: 109.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.3839, allocations: 0.8816 MB / 435.2 MB, free: 109.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3839, allocations: 0.5938 kB / 435.2 MB, free: 109.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003253/0.3872, allocations: 1.463 MB / 436.7 MB, free: 109.2 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.0003291/0.3875, allocations: 223.6 kB / 436.9 MB, free: 109.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003158/0.3907, allocations: 2.431 MB / 439.3 MB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.3907, allocations: 2.656 kB / 439.4 MB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.392, allocations: 1.24 MB / 440.6 MB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.3936, allocations: 0.5246 MB / 441.1 MB, free: 108.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009209/0.4028, allocations: 8.723 MB / 449.8 MB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.4038, allocations: 1.55 MB / 451.4 MB, free: 104.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001472/0.4053, allocations: 1.035 MB / 452.4 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.4056, allocations: 200.7 kB / 452.6 MB, free: 104 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.4056, allocations: 0 / 452.6 MB, free: 104 MB / 378.7 MB Notification: Performance of Templates: time 0.03143/0.4371, allocations: 30.04 MB / 482.7 MB, free: 81.65 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.5899237198755145]