Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.54/1.54, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.84 kB / 368.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2753, allocations: 53.32 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005322/0.2806, allocations: 3.805 MB / 426.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.2828, allocations: 1.075 MB / 427.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.2832, allocations: 27.88 kB / 427.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.2836, allocations: 158.8 kB / 427.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.2846, allocations: 306.3 kB / 427.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.285, allocations: 143.8 kB / 427.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2865, allocations: 1.412 MB / 429.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.2877, allocations: 0.9087 MB / 430.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.2885, allocations: 0.6464 MB / 430.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.2896, allocations: 0.7939 MB / 431.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.2898, allocations: 164 kB / 431.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.2901, allocations: 164 kB / 431.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004523/0.2905, allocations: 474.6 kB / 432.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008287/0.2914, allocations: 0.735 MB / 433.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.2936, allocations: 2.082 MB / 435.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2936, allocations: 4 kB / 435.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2936, allocations: 0 / 435.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.2936, allocations: 0 / 435.1 MB, free: 10.89 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003048/0.2967, allocations: 1.729 MB / 436.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2967, allocations: 12.03 kB / 436.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.2972, allocations: 184 kB / 437.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.2986, allocations: 0.9207 MB / 438 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.2987, allocations: 86.38 kB / 438.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.2989, allocations: 112 kB / 438.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.3014, allocations: 1.572 MB / 439.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.3015, allocations: 0 / 439.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3016, allocations: 44 kB / 439.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.3016, allocations: 28 kB / 439.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.3038, allocations: 1.336 MB / 441.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/0.3104, allocations: 4.28 MB / 445.4 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.3117, allocations: 1.292 MB / 446.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009228/0.3126, allocations: 0.4944 MB / 447.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3126, allocations: 8.438 kB / 447.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.3127, allocations: 46.94 kB / 447.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.355e-06/0.3127, allocations: 0 / 447.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001527/0.3142, allocations: 0.8733 MB / 448.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3142, allocations: 59.84 kB / 448.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3153, allocations: 0.8321 MB / 449 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.3154, allocations: 37.7 kB / 449.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.3158, allocations: 0.5585 MB / 449.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.316, allocations: 194.3 kB / 449.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.3162, allocations: 102.2 kB / 449.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3164, allocations: 386.8 kB / 450.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.3169, allocations: 296.9 kB / 450.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/0.3174, allocations: 402.5 kB / 451 MB, free: 10.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.3185, allocations: 0.6864 MB / 451.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.3185, allocations: 4 kB / 451.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001322/0.3198, allocations: 0.8223 MB / 452.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3198, allocations: 8 kB / 452.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3198, allocations: 0 / 452.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3198, allocations: 8 kB / 452.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/0.3205, allocations: 148.1 kB / 452.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3205, allocations: 11.94 kB / 452.7 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.3208, allocations: 67.53 kB / 452.7 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.3209, allocations: 24 kB / 452.8 MB, free: 8.66 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.0006116/0.3215, allocations: 468.3 kB / 453.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3216, allocations: 75.53 kB / 453.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.3218, allocations: 91.08 kB / 453.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3218, allocations: 8 kB / 453.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3218, allocations: 0 / 453.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3218, allocations: 11.91 kB / 453.4 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.3247, allocations: 1.942 MB / 455.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3247, allocations: 4 kB / 455.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.3252, allocations: 115.8 kB / 455.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3252, allocations: 4 kB / 455.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3253, allocations: 16.14 kB / 455.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3253, allocations: 8 kB / 455.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3253, allocations: 0 / 455.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.3269, allocations: 1.126 MB / 456.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.3271, allocations: 180.5 kB / 456.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.3272, allocations: 12 kB / 456.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.3276, allocations: 47.95 kB / 456.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3277, allocations: 44.31 kB / 456.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.3277, allocations: 16 kB / 456.9 MB, free: 4.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008003/0.3285, allocations: 0.5927 MB / 457.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 0 / 457.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007008/0.3292, allocations: 291.1 kB / 457.8 MB, free: 3.504 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.00016/0.3294, allocations: 123 kB / 457.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3304, allocations: 0.6263 MB / 458.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3304, allocations: 0 / 458.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.3309, allocations: 319 kB / 458.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/0.3318, allocations: 174.7 kB / 459 MB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.3355, allocations: 2.311 MB / 461.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.3366, allocations: 1.34 MB / 462.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004794/0.337, allocations: 217.8 kB / 462.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.3372, allocations: 55.42 kB / 462.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3372, allocations: 0 / 462.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of Templates: time 0.02141/0.3586, allocations: 10.34 MB / 473.3 MB, free: 4.047 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches