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.0007262/0.0007262, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001748, allocations: 457.8 kB / 10.45 MB, free: 244 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.000698/0.000698, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008861/0.001584, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.024/1.024, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09346/1.117, allocations: 53.88 MB / 243.9 MB, free: 14.83 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 1.523e-06/1.523e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.105e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.009461/0.009482, allocations: 13.14 MB / 258.4 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006089/0.01557, allocations: 4.009 MB / 262.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.01657, allocations: 119.4 kB / 262.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004965/0.02154, allocations: 5.911 MB / 268.4 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.02393, allocations: 1.405 MB / 269.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.02547, allocations: 1.188 MB / 271 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1207/0.1462, allocations: 6.716 MB / 277.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0118/0.158, allocations: 9.266 MB / 287 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005101/0.1631, allocations: 5.115 MB / 292.1 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.1661, allocations: 3.865 MB / 295.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007737/0.1669, allocations: 0.8878 MB / 296.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.1685, allocations: 1.096 MB / 297.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008907/0.1694, allocations: 1.419 MB / 299.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.1712, allocations: 2.004 MB / 301.4 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004565/0.1757, allocations: 5.797 MB / 307.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.1758, allocations: 4.5 kB / 307.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1758, allocations: 0 / 307.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.4e-05/0.1758, allocations: 0.5 kB / 307.2 MB, free: 5.094 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.008846/0.1847, allocations: 8.692 MB / 315.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1847, allocations: 12.62 kB / 315.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009475/0.1942, allocations: 3.717 MB / 319.6 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.197, allocations: 2.058 MB / 321.6 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.1972, allocations: 482.9 kB / 322.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006049/0.1978, allocations: 0.62 MB / 322.7 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00537/0.2031, allocations: 5.137 MB / 327.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.88e-05/0.2032, allocations: 11.52 kB / 327.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/0.2036, allocations: 269.5 kB / 328.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/0.2038, allocations: 301.4 kB / 328.4 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.2073, allocations: 2.538 MB / 331 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/0.2245, allocations: 17.96 MB / 348.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.2277, allocations: 2.518 MB / 351.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/0.2284, allocations: 0.6344 MB / 352.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.2286, allocations: 85.92 kB / 352.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.2286, allocations: 60.56 kB / 352.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=238): time 3.977e-06/0.2286, allocations: 0 / 352.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.002675/0.2313, allocations: 1.745 MB / 354 MB, free: 8.488 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.2313, allocations: 106.5 kB / 354.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.2323, allocations: 1.291 MB / 355.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.995e-05/0.2323, allocations: 61.7 kB / 355.4 MB, free: 7.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009161/0.2333, allocations: 2.474 MB / 357.9 MB, free: 4.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.2337, allocations: 0.85 MB / 358.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.2342, allocations: 0.6114 MB / 359.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.2343, allocations: 309 kB / 359.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.2348, allocations: 483.6 kB / 360.1 MB, free: 2.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.2359, allocations: 1.538 MB / 361.7 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.2379, allocations: 2.45 MB / 364.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/0.2379, allocations: 12 kB / 364.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002181/0.2401, allocations: 2.09 MB / 366.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.2401, allocations: 32 kB / 366.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.2402, allocations: 36 kB / 366.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000494/0.2407, allocations: 276 kB / 366.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.2421, allocations: 0.8337 MB / 367.4 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.2445, allocations: 3.64 MB / 371 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.2455, allocations: 361.2 kB / 371.4 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.2457, allocations: 132 kB / 371.5 MB, free: 6.785 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.0008896/0.2466, allocations: 345.1 kB / 371.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.2468, allocations: 191.8 kB / 372 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.2484, allocations: 1.513 MB / 373.6 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.2484, allocations: 24 kB / 373.6 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2485, allocations: 7.984 kB / 373.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.2485, allocations: 15.94 kB / 373.6 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/0.2543, allocations: 5.471 MB / 379.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.2543, allocations: 12 kB / 379.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.2552, allocations: 452.7 kB / 379.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.2556, allocations: 318.3 kB / 379.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003864/0.256, allocations: 252.1 kB / 380.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/0.2561, allocations: 59.98 kB / 380.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.2582, allocations: 3.56 MB / 383.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.2582, allocations: 27.48 kB / 383.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.2602, allocations: 2.362 MB / 386.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.2604, allocations: 64.02 kB / 386.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.2609, allocations: 75.98 kB / 386.2 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.2611, allocations: 207.9 kB / 386.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.2612, allocations: 67.98 kB / 386.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004603/0.2617, allocations: 0.5651 MB / 387.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2617, allocations: 0 / 387.1 MB, free: 7.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002447/0.2641, allocations: 1.455 MB / 388.5 MB, free: 6.223 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.0002965/0.2644, allocations: 211.8 kB / 388.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001822/0.2662, allocations: 1.931 MB / 390.7 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.89e-05/0.2663, allocations: 59.81 kB / 390.7 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001975/0.2683, allocations: 1.966 MB / 392.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.2707, allocations: 3.777 MB / 396.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/0.3014, allocations: 8.735 MB / 405.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.3025, allocations: 1.163 MB / 406.4 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001068/0.3035, allocations: 373.1 kB / 406.7 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007767/0.3043, allocations: 484.7 kB / 407.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3043, allocations: 0 / 407.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of Templates: time 0.1553/0.4596, allocations: 31.98 MB / 439.2 MB, free: 107 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4347743233665824]