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.0009367/0.0009367, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.00106/0.00106, allocations: 167 kB / 25.7 MB, free: 8.402 MB / 18.57 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.9357/0.9357, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.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.884e-06/1.884e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.158e-05, allocations: 10.25 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01071/0.01073, allocations: 13.66 MB / 265.3 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007773/0.0185, allocations: 4.118 MB / 269.4 MB, free: 5.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.01994, allocations: 103.6 kB / 269.5 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005994/0.02593, allocations: 5.946 MB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003376/0.02931, allocations: 1.647 MB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.03127, allocations: 1.208 MB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005924/0.03719, allocations: 7.084 MB / 285.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.04737, allocations: 9.458 MB / 294.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005357/0.05272, allocations: 5.281 MB / 300.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/0.05701, allocations: 4.144 MB / 304.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001715/0.05872, allocations: 0.9141 MB / 305.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.06028, allocations: 1.109 MB / 306.3 MB, free: 224 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.06159, allocations: 2.002 MB / 308.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.06371, allocations: 2.585 MB / 310.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005863/0.06958, allocations: 6.5 MB / 317.3 MB, free: 5.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.06958, allocations: 0 / 317.3 MB, free: 5.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.06958, allocations: 0 / 317.3 MB, free: 5.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001615/0.06974, allocations: 0 / 317.3 MB, free: 5.102 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01112/0.08087, allocations: 7.946 MB / 325.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.08091, allocations: 12.03 kB / 325.3 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.09789, allocations: 5.704 MB / 331 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.1014, allocations: 1.801 MB / 332.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.1016, allocations: 0.5097 MB / 333.3 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007817/0.1024, allocations: 0.6679 MB / 334 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006568/0.109, allocations: 5.66 MB / 339.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.1091, allocations: 11.94 kB / 339.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004315/0.1095, allocations: 284 kB / 339.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/0.1098, allocations: 382.6 kB / 340.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004125/0.1139, allocations: 3.001 MB / 343.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1384/0.2523, allocations: 19.18 MB / 362.5 MB, free: 65.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.2569, allocations: 3.73 MB / 366.2 MB, free: 65.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007981/0.2577, allocations: 0.7699 MB / 367 MB, free: 65.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004269/0.262, allocations: 2.905 MB / 369.9 MB, free: 64.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.262, allocations: 56.28 kB / 370 MB, free: 64.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 3.887e-06/0.262, allocations: 0 / 370 MB, free: 64.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.002207/0.2642, allocations: 1.416 MB / 371.4 MB, free: 64.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.2642, allocations: 93.36 kB / 371.5 MB, free: 64.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.2655, allocations: 1.812 MB / 373.3 MB, free: 63.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.2655, allocations: 50.95 kB / 373.3 MB, free: 63.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008693/0.2664, allocations: 3.078 MB / 376.4 MB, free: 62.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.2666, allocations: 0.5723 MB / 377 MB, free: 62.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006214/0.2672, allocations: 0.7307 MB / 377.7 MB, free: 62.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.559e-05/0.2673, allocations: 307.5 kB / 378 MB, free: 61.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.2678, allocations: 0.505 MB / 378.5 MB, free: 61.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/0.2686, allocations: 2.173 MB / 380.7 MB, free: 59.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.2703, allocations: 2.988 MB / 383.7 MB, free: 57.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/0.2703, allocations: 15.25 kB / 383.7 MB, free: 57.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.002453/0.2728, allocations: 2.54 MB / 386.2 MB, free: 56.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.2728, allocations: 32.22 kB / 386.3 MB, free: 56.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/0.2729, allocations: 66 kB / 386.3 MB, free: 56.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004806/0.2733, allocations: 301.5 kB / 386.6 MB, free: 56.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.2748, allocations: 0.8673 MB / 387.5 MB, free: 55.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.2769, allocations: 3.674 MB / 391.2 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.2784, allocations: 484.1 kB / 391.6 MB, free: 51.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.2786, allocations: 174.2 kB / 391.8 MB, free: 51.82 MB / 330.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.001247/0.2798, allocations: 386.7 kB / 392.2 MB, free: 51.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.2801, allocations: 170.8 kB / 392.3 MB, free: 51.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.2813, allocations: 1.131 MB / 393.5 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2814, allocations: 16 kB / 393.5 MB, free: 50.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2814, allocations: 7.938 kB / 393.5 MB, free: 50.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2814, allocations: 7.641 kB / 393.5 MB, free: 50.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.2855, allocations: 2.729 MB / 396.2 MB, free: 49.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.2855, allocations: 7.562 kB / 396.2 MB, free: 49.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.2861, allocations: 239.7 kB / 396.5 MB, free: 49.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.2866, allocations: 224.5 kB / 396.7 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.2867, allocations: 32.14 kB / 396.7 MB, free: 48.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.289, allocations: 3.553 MB / 400.3 MB, free: 45.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.289, allocations: 6.406 kB / 400.3 MB, free: 45.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.2904, allocations: 1.38 MB / 401.7 MB, free: 44.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/0.2909, allocations: 273.1 kB / 401.9 MB, free: 44.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.2911, allocations: 26.88 kB / 402 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.2915, allocations: 55.48 kB / 402 MB, free: 44.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.2917, allocations: 112.6 kB / 402.1 MB, free: 44.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.2917, allocations: 31.75 kB / 402.2 MB, free: 44.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006346/0.2924, allocations: 0.7674 MB / 402.9 MB, free: 43.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2924, allocations: 4 kB / 402.9 MB, free: 43.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002957/0.2953, allocations: 1.547 MB / 404.5 MB, free: 41.88 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.0002485/0.2956, allocations: 149.5 kB / 404.6 MB, free: 41.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.2974, allocations: 1.91 MB / 406.5 MB, free: 40.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.689e-05/0.2975, allocations: 55.94 kB / 406.6 MB, free: 40.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.2981, allocations: 0.7569 MB / 407.3 MB, free: 39.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.2993, allocations: 0.4935 MB / 407.8 MB, free: 39.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3093, allocations: 8.735 MB / 416.6 MB, free: 31.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008363/0.3102, allocations: 1.179 MB / 417.7 MB, free: 29.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001169/0.3113, allocations: 439 kB / 418.2 MB, free: 29.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/0.3121, allocations: 499.6 kB / 418.7 MB, free: 28.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.904e-06/0.3121, allocations: 0 / 418.7 MB, free: 28.91 MB / 330.7 MB Notification: Performance of Templates: time 0.04318/0.3553, allocations: 32.16 MB / 450.8 MB, free: 13.17 MB / 346.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 -s gbode -gbm=radauIIA3 -emit_protected -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.410926965996623]