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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.44 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09758, allocations: 50.53 MB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005021/0.1026, allocations: 3.785 MB / 361.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1045, allocations: 1.079 MB / 362.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.1048, allocations: 27.88 kB / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.1051, allocations: 150.8 kB / 362.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007805/0.1059, allocations: 294.4 kB / 362.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1062, allocations: 131.8 kB / 362.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.1073, allocations: 1.416 MB / 364.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.1085, allocations: 1.221 MB / 365.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006972/0.1092, allocations: 0.6542 MB / 366.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008639/0.1101, allocations: 0.7706 MB / 367 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.1103, allocations: 160 kB / 367.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.1106, allocations: 160 kB / 367.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003695/0.111, allocations: 470.7 kB / 367.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.1117, allocations: 0.7466 MB / 368.5 MB, free: 3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.1134, allocations: 2.064 MB / 370.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1134, allocations: 0 / 370.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1134, allocations: 0 / 370.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.1135, allocations: 0 / 370.6 MB, free: 0.9297 MB / 302.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.2098/0.3233, allocations: 1.689 MB / 372.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3234, allocations: 9.625 kB / 372.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009922/0.3244, allocations: 173.2 kB / 372.4 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.3266, allocations: 0.876 MB / 373.3 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.3268, allocations: 90.62 kB / 373.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/0.3272, allocations: 108.1 kB / 373.5 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.3309, allocations: 1.569 MB / 375.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.331, allocations: 0.7031 kB / 375.1 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.3311, allocations: 49.56 kB / 375.1 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.3311, allocations: 27.94 kB / 375.2 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.3338, allocations: 1.334 MB / 376.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008023/0.3419, allocations: 4.314 MB / 380.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.343, allocations: 1.334 MB / 382.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000965/0.344, allocations: 0.5221 MB / 382.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.344, allocations: 5.719 kB / 382.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3441, allocations: 49.97 kB / 382.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.865e-06/0.3441, allocations: 0 / 382.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001662/0.3458, allocations: 0.8713 MB / 383.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3458, allocations: 57.11 kB / 383.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3472, allocations: 0.8313 MB / 384.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.3472, allocations: 35.89 kB / 384.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.3476, allocations: 0.5548 MB / 385.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3477, allocations: 170.9 kB / 385.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3479, allocations: 103.6 kB / 385.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.348, allocations: 383.1 kB / 385.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.3485, allocations: 305.3 kB / 386 MB, free: 12.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.3491, allocations: 396.9 kB / 386.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/0.35, allocations: 0.685 MB / 387.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3501, allocations: 0 / 387.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001388/0.3515, allocations: 0.8315 MB / 387.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3515, allocations: 5.969 kB / 387.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3515, allocations: 2.469 kB / 387.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.3515, allocations: 4.688 kB / 387.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.3522, allocations: 152.5 kB / 388.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.3522, allocations: 4.469 kB / 388.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.3527, allocations: 63.16 kB / 388.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.3527, allocations: 21.8 kB / 388.2 MB, free: 11.65 MB / 302.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.0006437/0.3534, allocations: 471.8 kB / 388.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.3536, allocations: 80.12 kB / 388.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.3538, allocations: 91.94 kB / 388.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.3538, allocations: 4.438 kB / 388.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.3538, allocations: 5 kB / 388.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3538, allocations: 3.984 kB / 388.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.357, allocations: 1.96 MB / 390.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.357, allocations: 1.188 kB / 390.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.3575, allocations: 121.4 kB / 390.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.3575, allocations: 4.125 kB / 390.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.3576, allocations: 8.125 kB / 390.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3576, allocations: 4.828 kB / 390.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3576, allocations: 1.375 kB / 390.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.3591, allocations: 1.132 MB / 392 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.3594, allocations: 165.5 kB / 392.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3595, allocations: 17.58 kB / 392.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.36, allocations: 51.08 kB / 392.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.3601, allocations: 41.12 kB / 392.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3602, allocations: 18.83 kB / 392.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008691/0.3611, allocations: 0.5942 MB / 392.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3611, allocations: 0 / 392.9 MB, free: 8.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009428/0.362, allocations: 288.7 kB / 393.2 MB, free: 8.621 MB / 302.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.0001767/0.3622, allocations: 115.9 kB / 393.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.3637, allocations: 0.8005 MB / 394.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3637, allocations: 0.5625 kB / 394.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.3641, allocations: 328.8 kB / 394.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/0.3651, allocations: 177.2 kB / 394.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.369, allocations: 2.297 MB / 396.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.3698, allocations: 1.348 MB / 398.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0007276/0.3706, allocations: 205.8 kB / 398.4 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.3708, allocations: 55.38 kB / 398.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3708, allocations: 3.938 kB / 398.5 MB, free: 4.664 MB / 302.1 MB Notification: Performance of Templates: time 0.01913/0.39, allocations: 10.01 MB / 408.5 MB, free: 10.79 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches