Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001862, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007492/0.0007492, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009375/0.001687, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8445/0.8445, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1551/0.9996, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.604e-05, allocations: 2.312 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.009945/0.009961, allocations: 13.73 MB / 235.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007473/0.01743, allocations: 4.15 MB / 239.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.01872, allocations: 103.6 kB / 239.8 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005116/0.02383, allocations: 5.969 MB / 245.8 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.02664, allocations: 1.639 MB / 247.4 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.02827, allocations: 1.204 MB / 248.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004848/0.03311, allocations: 7.103 MB / 255.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.04744, allocations: 9.228 MB / 265 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007348/0.05479, allocations: 5.383 MB / 270.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/0.05817, allocations: 4.129 MB / 274.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009845/0.05915, allocations: 0.9179 MB / 275.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.06054, allocations: 1.105 MB / 276.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.06164, allocations: 1.543 MB / 278.1 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.06424, allocations: 2.121 MB / 280.2 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1329/0.1972, allocations: 6.137 MB / 286.3 MB, free: 21.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.288e-05/0.1972, allocations: 1.219 kB / 286.3 MB, free: 21.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1972, allocations: 0 / 286.3 MB, free: 21.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003991/0.1976, allocations: 0 / 286.3 MB, free: 21.83 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01646/0.2141, allocations: 9.301 MB / 295.6 MB, free: 19.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2141, allocations: 11.67 kB / 295.6 MB, free: 19.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/0.2359, allocations: 5.715 MB / 301.3 MB, free: 19.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/0.2403, allocations: 1.797 MB / 303.1 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.2405, allocations: 0.5133 MB / 303.7 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008719/0.2414, allocations: 0.6758 MB / 304.3 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007766/0.2492, allocations: 5.65 MB / 310 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.2493, allocations: 10.2 kB / 310 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006103/0.2499, allocations: 286.3 kB / 310.3 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002828/0.2502, allocations: 379.9 kB / 310.6 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004747/0.255, allocations: 3.009 MB / 313.6 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/0.2766, allocations: 19.29 MB / 332.9 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/0.2813, allocations: 3.765 MB / 336.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007763/0.2821, allocations: 0.7633 MB / 337.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004349/0.2864, allocations: 2.918 MB / 340.4 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2865, allocations: 52.06 kB / 340.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=150): time 3.056e-06/0.2865, allocations: 0 / 340.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=150): time 0.002445/0.2889, allocations: 1.416 MB / 341.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2889, allocations: 102.6 kB / 341.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.2902, allocations: 1.815 MB / 343.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.2903, allocations: 49.7 kB / 343.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.2915, allocations: 3.076 MB / 346.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.2918, allocations: 0.5697 MB / 347.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006071/0.2924, allocations: 0.7292 MB / 348.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.2924, allocations: 309.1 kB / 348.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/0.2954, allocations: 0.4972 MB / 349 MB, free: 1.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.2974, allocations: 2.175 MB / 351.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.3003, allocations: 2.98 MB / 354.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-05/0.3003, allocations: 16 kB / 354.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.002943/0.3032, allocations: 2.537 MB / 356.7 MB, free: 8.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.3033, allocations: 32 kB / 356.7 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/0.3033, allocations: 60 kB / 356.8 MB, free: 8.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005041/0.3038, allocations: 316.7 kB / 357.1 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.3055, allocations: 0.9382 MB / 358 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.3078, allocations: 3.682 MB / 361.7 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.3094, allocations: 480.4 kB / 362.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.3096, allocations: 168 kB / 362.3 MB, free: 2.879 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.00142/0.311, allocations: 395 kB / 362.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.3113, allocations: 175.8 kB / 362.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.3126, allocations: 1.129 MB / 364 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3127, allocations: 16 kB / 364 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3127, allocations: 4 kB / 364.1 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3127, allocations: 7.969 kB / 364.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.316, allocations: 2.735 MB / 366.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.316, allocations: 4.031 kB / 366.8 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.3166, allocations: 258.7 kB / 367.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.3169, allocations: 261 kB / 367.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.3173, allocations: 228.7 kB / 367.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.3174, allocations: 28 kB / 367.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.3196, allocations: 3.527 MB / 371.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3196, allocations: 0 / 371.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.321, allocations: 1.378 MB / 372.5 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.3211, allocations: 40.11 kB / 372.5 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.3216, allocations: 67.66 kB / 372.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.3217, allocations: 101.3 kB / 372.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.3218, allocations: 34.72 kB / 372.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007707/0.3226, allocations: 0.7751 MB / 373.5 MB, free: 8.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3226, allocations: 0 / 373.5 MB, free: 8.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00323/0.3258, allocations: 1.553 MB / 375 MB, free: 6.863 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.3261, allocations: 141.3 kB / 375.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.3282, allocations: 1.899 MB / 377.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.981e-05/0.3283, allocations: 68.61 kB / 377.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006548/0.329, allocations: 0.765 MB / 377.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3303, allocations: 0.6798 MB / 378.6 MB, free: 3.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03601/0.3663, allocations: 9.413 MB / 388 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.3677, allocations: 1.22 MB / 389.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001352/0.3691, allocations: 439 kB / 389.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.3702, allocations: 0.4971 MB / 390.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of SimCode: time 2.285e-06/0.3702, allocations: 0 / 390.1 MB, free: 7.926 MB / 346.7 MB Notification: Performance of Templates: time 0.04908/0.4192, allocations: 33.36 MB / 423.5 MB, free: 6.586 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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.466494825668633]