Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000721/0.000721, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.00179, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002936, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8238/0.8238, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1364/0.9602, allocations: 52.49 MB / 238.5 MB, free: 7.613 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.61e-05, allocations: 2.312 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01363/0.01364, allocations: 13.11 MB / 252.9 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008324/0.02197, allocations: 3.954 MB / 256.8 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.02347, allocations: 119.4 kB / 256.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005513/0.02898, allocations: 5.912 MB / 262.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.03183, allocations: 1.557 MB / 264.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.03328, allocations: 1.065 MB / 265.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004815/0.03809, allocations: 6.622 MB / 272.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007669/0.04576, allocations: 9.111 MB / 281.2 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004544/0.0503, allocations: 5.115 MB / 286.3 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.05346, allocations: 3.86 MB / 290.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000953/0.05442, allocations: 0.8867 MB / 291.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.05582, allocations: 1.066 MB / 292.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00089/0.05671, allocations: 1.426 MB / 293.6 MB, free: 264 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.05842, allocations: 2.008 MB / 295.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.06275, allocations: 5.784 MB / 301.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.06276, allocations: 0 / 301.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06276, allocations: 0 / 301.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001003/0.06286, allocations: 3.938 kB / 301.4 MB, free: 8.441 MB / 298.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.009395/0.07226, allocations: 8.68 MB / 310 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.07229, allocations: 8.031 kB / 310 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009913/0.0822, allocations: 3.746 MB / 313.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.08542, allocations: 2.057 MB / 315.8 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.08563, allocations: 481 kB / 316.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006341/0.08626, allocations: 0.6366 MB / 317 MB, free: 8.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.09175, allocations: 5.109 MB / 322.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-05/0.09184, allocations: 11.94 kB / 322.1 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003696/0.09221, allocations: 264 kB / 322.3 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.0924, allocations: 305.4 kB / 322.6 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.09543, allocations: 2.526 MB / 325.2 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1214/0.2168, allocations: 17.92 MB / 343.1 MB, free: 41.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.2196, allocations: 2.522 MB / 345.6 MB, free: 41.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.2201, allocations: 0.6376 MB / 346.2 MB, free: 40.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.2203, allocations: 63.72 kB / 346.3 MB, free: 40.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2203, allocations: 64.84 kB / 346.4 MB, free: 40.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=238): time 4.739e-06/0.2203, allocations: 0 / 346.4 MB, free: 40.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.002331/0.2226, allocations: 1.73 MB / 348.1 MB, free: 40.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.2226, allocations: 105.9 kB / 348.2 MB, free: 40.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.2234, allocations: 1.288 MB / 349.5 MB, free: 40.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.2235, allocations: 70.42 kB / 349.6 MB, free: 40.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/0.224, allocations: 2.48 MB / 352 MB, free: 38.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.2243, allocations: 0.8464 MB / 352.9 MB, free: 37.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.2248, allocations: 0.6099 MB / 353.5 MB, free: 37.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 2.559e-05/0.2248, allocations: 310 kB / 353.8 MB, free: 37.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.2252, allocations: 480.2 kB / 354.3 MB, free: 37.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.2259, allocations: 1.531 MB / 355.8 MB, free: 35.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.2273, allocations: 2.426 MB / 358.2 MB, free: 34.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/0.2273, allocations: 16.58 kB / 358.2 MB, free: 34.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.001813/0.2291, allocations: 2.094 MB / 360.3 MB, free: 32.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2291, allocations: 20 kB / 360.3 MB, free: 32.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.2292, allocations: 36.69 kB / 360.4 MB, free: 32.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.2296, allocations: 274.9 kB / 360.7 MB, free: 32.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.2309, allocations: 0.8304 MB / 361.5 MB, free: 32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.2327, allocations: 3.65 MB / 365.1 MB, free: 28.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/0.2336, allocations: 361.2 kB / 365.5 MB, free: 28.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.2337, allocations: 127.5 kB / 365.6 MB, free: 28.02 MB / 314.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.0007199/0.2345, allocations: 347.4 kB / 365.9 MB, free: 27.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.2346, allocations: 203 kB / 366.1 MB, free: 27.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.236, allocations: 1.518 MB / 367.7 MB, free: 26.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.236, allocations: 28 kB / 367.7 MB, free: 26.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.236, allocations: 4 kB / 367.7 MB, free: 26.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.236, allocations: 11.95 kB / 367.7 MB, free: 26.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.2409, allocations: 5.41 MB / 373.1 MB, free: 21.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.2409, allocations: 16 kB / 373.1 MB, free: 21.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.2417, allocations: 443 kB / 373.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.2421, allocations: 315.8 kB / 373.9 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.2424, allocations: 241.5 kB / 374.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.2425, allocations: 63.92 kB / 374.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.244, allocations: 3.556 MB / 377.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.2441, allocations: 19.75 kB / 377.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.2456, allocations: 2.361 MB / 380.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.2457, allocations: 63.98 kB / 380.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.2462, allocations: 75.98 kB / 380.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.2464, allocations: 211.8 kB / 380.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.2465, allocations: 63.98 kB / 380.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003565/0.2468, allocations: 0.5674 MB / 381.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2468, allocations: 0 / 381.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002931/0.2498, allocations: 1.456 MB / 382.5 MB, free: 11.61 MB / 314.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.0003455/0.2501, allocations: 200.3 kB / 382.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.2528, allocations: 1.919 MB / 384.7 MB, free: 9.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001106/0.2529, allocations: 66.73 kB / 384.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.2558, allocations: 1.957 MB / 386.7 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/0.2588, allocations: 3.77 MB / 390.4 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03772/0.2965, allocations: 8.781 MB / 399.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.2977, allocations: 1.163 MB / 400.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001064/0.2987, allocations: 373.1 kB / 400.8 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007495/0.2995, allocations: 477.1 kB / 401.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.2995, allocations: 0 / 401.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of Templates: time 0.04377/0.3433, allocations: 31.45 MB / 432.7 MB, free: 9.184 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.03236526530236]