Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001883/0.001883, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.002324/0.002324, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2559, allocations: 53.4 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005648/0.2615, allocations: 3.84 MB / 436.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.2638, allocations: 1.094 MB / 437.4 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.2642, allocations: 31.81 kB / 437.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.2647, allocations: 158.8 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.2658, allocations: 330.3 kB / 437.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.2661, allocations: 131.8 kB / 438 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.2678, allocations: 1.432 MB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.2687, allocations: 0.6552 MB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.2696, allocations: 0.6659 MB / 440.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.2707, allocations: 0.8017 MB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.2709, allocations: 160 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.2712, allocations: 164 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.2716, allocations: 478.7 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007715/0.2724, allocations: 0.7389 MB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.2745, allocations: 2.096 MB / 445.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2745, allocations: 0 / 445.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2745, allocations: 0 / 445.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.055e-05/0.2745, allocations: 4 kB / 445.2 MB, free: 9.914 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003066/0.2776, allocations: 1.661 MB / 446.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2776, allocations: 12.03 kB / 446.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.2781, allocations: 172 kB / 447 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.2797, allocations: 0.8707 MB / 447.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.2798, allocations: 86.38 kB / 448 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.2799, allocations: 108 kB / 448.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.2824, allocations: 1.588 MB / 449.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.2825, allocations: 0 / 449.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2826, allocations: 48 kB / 449.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/0.2826, allocations: 42.25 kB / 449.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.2848, allocations: 1.348 MB / 451.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006885/0.2917, allocations: 4.373 MB / 455.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009463/0.2926, allocations: 0.635 MB / 456.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/0.2935, allocations: 0.4983 MB / 456.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.2936, allocations: 8.438 kB / 456.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.2936, allocations: 35 kB / 456.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.525e-06/0.2936, allocations: 4 kB / 456.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.002208/0.2958, allocations: 0.8733 MB / 457.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.2959, allocations: 63.78 kB / 457.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.2975, allocations: 0.836 MB / 458.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/0.2976, allocations: 37.7 kB / 458.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/0.2982, allocations: 0.5661 MB / 459 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.2984, allocations: 182.4 kB / 459.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.2987, allocations: 102.3 kB / 459.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002938/0.299, allocations: 394.8 kB / 459.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007685/0.2997, allocations: 297.1 kB / 460 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/0.3006, allocations: 399.4 kB / 460.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.3021, allocations: 0.6815 MB / 461.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3022, allocations: 4 kB / 461.1 MB, free: 9.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002071/0.3042, allocations: 0.8287 MB / 461.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3042, allocations: 8 kB / 461.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3043, allocations: 0 / 461.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.3043, allocations: 8 kB / 461.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.3052, allocations: 151.7 kB / 462.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.3052, allocations: 4 kB / 462.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.3059, allocations: 71.72 kB / 462.1 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.3059, allocations: 16 kB / 462.1 MB, free: 8.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000984/0.3069, allocations: 461.8 kB / 462.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.3071, allocations: 79.53 kB / 462.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.3073, allocations: 87.08 kB / 462.8 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.3074, allocations: 11.94 kB / 462.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.3074, allocations: 4 kB / 462.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3074, allocations: 3.984 kB / 462.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.3121, allocations: 1.933 MB / 464.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.3121, allocations: 4 kB / 464.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/0.3128, allocations: 111.9 kB / 464.8 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.3128, allocations: 4 kB / 464.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.3129, allocations: 11.98 kB / 464.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/0.3129, allocations: 4 kB / 464.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3129, allocations: 3.938 kB / 464.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.3153, allocations: 1.13 MB / 466 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.3156, allocations: 103.5 kB / 466.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.3157, allocations: 12 kB / 466.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.3164, allocations: 51.94 kB / 466.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3165, allocations: 48.23 kB / 466.2 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.3165, allocations: 12 kB / 466.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.3178, allocations: 0.6044 MB / 466.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3178, allocations: 3.938 kB / 466.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001085/0.3189, allocations: 291.1 kB / 467.1 MB, free: 3.457 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001582/0.319, allocations: 111.1 kB / 467.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.3206, allocations: 0.6339 MB / 467.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3206, allocations: 0 / 467.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.3213, allocations: 314.2 kB / 468.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.3227, allocations: 175.5 kB / 468.3 MB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/0.3282, allocations: 2.333 MB / 470.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.3296, allocations: 1.316 MB / 472 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.33, allocations: 63.42 kB / 472 MB, free: 14.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.33, allocations: 0 / 472 MB, free: 14.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02969/0.3597, allocations: 13.57 MB / 485.6 MB, free: 0.9102 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.585100689902902]