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.0007886/0.0007888, allocations: 99.58 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009515/0.0009516, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002332/0.0002333, allocations: 8 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08802, allocations: 51.52 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.00369/0.09175, allocations: 3.258 MB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.09372, allocations: 1.017 MB / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004462/0.09419, allocations: 23.88 kB / 362.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.09457, allocations: 111.2 kB / 363 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009188/0.0955, allocations: 278.7 kB / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.0958, allocations: 87.84 kB / 363.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.09749, allocations: 1.498 MB / 364.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.09866, allocations: 0.8417 MB / 365.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.0995, allocations: 486.2 kB / 366.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.1006, allocations: 0.6264 MB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.1008, allocations: 72 kB / 366.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.1012, allocations: 83.92 kB / 367 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.1017, allocations: 350.9 kB / 367.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.1022, allocations: 277 kB / 367.6 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.1041, allocations: 1.652 MB / 369.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1041, allocations: 0 / 369.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1041, allocations: 0 / 369.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.618e-05/0.1042, allocations: 3.938 kB / 369.3 MB, free: 2.746 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.003121/0.1073, allocations: 1.5 MB / 370.8 MB, free: 1.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1074, allocations: 16.03 kB / 370.8 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.1081, allocations: 174.3 kB / 370.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.1098, allocations: 0.857 MB / 371.8 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/0.1099, allocations: 82.25 kB / 371.9 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.174/0.2839, allocations: 108.3 kB / 372 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003652/0.2876, allocations: 1.569 MB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.2876, allocations: 1.078 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.2878, allocations: 51.27 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.2879, allocations: 27.72 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.2905, allocations: 1.339 MB / 375 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007025/0.2976, allocations: 4.352 MB / 379.3 MB, free: 16.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.2987, allocations: 1.34 MB / 380.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/0.2996, allocations: 0.5539 MB / 381.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.2996, allocations: 9.844 kB / 381.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2997, allocations: 39.19 kB / 381.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.475e-06/0.2997, allocations: 0 / 381.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001598/0.3013, allocations: 0.8878 MB / 382.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.3013, allocations: 56.47 kB / 382.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3027, allocations: 0.8293 MB / 383 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.3027, allocations: 37.05 kB / 383.1 MB, free: 14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.3031, allocations: 0.5448 MB / 383.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.3032, allocations: 179.9 kB / 383.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3033, allocations: 10.03 kB / 383.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3034, allocations: 386.6 kB / 384.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.304, allocations: 308.6 kB / 384.5 MB, free: 13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.3045, allocations: 400.2 kB / 384.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.3051, allocations: 366.3 kB / 385.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.3051, allocations: 3.547 kB / 385.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001326/0.3064, allocations: 0.8307 MB / 386.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3065, allocations: 5.594 kB / 386.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3065, allocations: 2.125 kB / 386.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.3065, allocations: 9.391 kB / 386.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.3071, allocations: 154.8 kB / 386.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.3071, allocations: 5.188 kB / 386.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.3075, allocations: 65.05 kB / 386.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.3076, allocations: 17.94 kB / 386.3 MB, free: 12.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000661/0.3083, allocations: 460.6 kB / 386.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.3084, allocations: 72.59 kB / 386.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.3086, allocations: 98.45 kB / 386.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3086, allocations: 5.844 kB / 386.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3086, allocations: 3.953 kB / 387 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.3087, allocations: 6.094 kB / 387 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.3119, allocations: 1.983 MB / 388.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.3119, allocations: 1.5 kB / 388.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.3124, allocations: 118.8 kB / 389.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.3124, allocations: 4.562 kB / 389.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.3125, allocations: 11.94 kB / 389.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.3125, allocations: 7.375 kB / 389.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3125, allocations: 2.094 kB / 389.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.3141, allocations: 1.141 MB / 390.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.3144, allocations: 172.8 kB / 390.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.3145, allocations: 12.88 kB / 390.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.3149, allocations: 61.31 kB / 390.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.315, allocations: 33.45 kB / 390.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.315, allocations: 18.86 kB / 390.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007396/0.3158, allocations: 0.5896 MB / 391.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3158, allocations: 0 / 391.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008759/0.3166, allocations: 284.6 kB / 391.4 MB, free: 9.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.3168, allocations: 110.4 kB / 391.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3179, allocations: 0.6594 MB / 392.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3179, allocations: 1.375 kB / 392.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.3184, allocations: 330.2 kB / 392.5 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.3193, allocations: 174.3 kB / 392.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.3234, allocations: 2.738 MB / 395.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.3242, allocations: 1.339 MB / 396.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000503/0.3247, allocations: 210.8 kB / 396.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3249, allocations: 56.47 kB / 397 MB, free: 5.762 MB / 302.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3249, allocations: 0 / 397 MB, free: 5.762 MB / 302.1 MB Notification: Performance of Templates: time 0.01592/0.3408, allocations: 9.192 MB / 406.2 MB, free: 12.93 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