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.0008835/0.0008835, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 4 kB / 308.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.0922, allocations: 51.52 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003567/0.0958, allocations: 3.416 MB / 363.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.09781, allocations: 1.056 MB / 364.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.09811, allocations: 19.88 kB / 364.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.0984, allocations: 127.1 kB / 364.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007824/0.09919, allocations: 286.6 kB / 364.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.09948, allocations: 115.9 kB / 364.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.1009, allocations: 1.658 MB / 366.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.1021, allocations: 1.031 MB / 367.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.1027, allocations: 490 kB / 368.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.1034, allocations: 0.6534 MB / 368.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1036, allocations: 72 kB / 368.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1037, allocations: 76 kB / 368.9 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.104, allocations: 358.7 kB / 369.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006637/0.1047, allocations: 0.6468 MB / 369.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.106, allocations: 1.652 MB / 371.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.106, allocations: 0 / 371.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.106, allocations: 0 / 371.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.106, allocations: 0 / 371.5 MB, free: 1.602 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.002459/0.1085, allocations: 1.489 MB / 373 MB, free: 60 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1085, allocations: 8.031 kB / 373 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1696/0.2782, allocations: 177 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.2796, allocations: 0.8827 MB / 374.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.2797, allocations: 81.78 kB / 374.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.2798, allocations: 109 kB / 374.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.2827, allocations: 1.578 MB / 375.8 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2828, allocations: 6.125 kB / 375.8 MB, free: 18.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.2829, allocations: 50.19 kB / 375.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.2829, allocations: 26.72 kB / 375.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.285, allocations: 1.349 MB / 377.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.2918, allocations: 4.362 MB / 381.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.2928, allocations: 1.327 MB / 383 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.2937, allocations: 0.5314 MB / 383.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.2938, allocations: 8.156 kB / 383.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2938, allocations: 43.2 kB / 383.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.374e-06/0.2938, allocations: 0 / 383.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001649/0.2955, allocations: 0.8952 MB / 384.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2955, allocations: 62 kB / 384.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2967, allocations: 0.831 MB / 385.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-05/0.2968, allocations: 36.02 kB / 385.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.2971, allocations: 0.5442 MB / 385.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2972, allocations: 174 kB / 386.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.2973, allocations: 51.11 kB / 386.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2974, allocations: 386.6 kB / 386.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.2979, allocations: 310.2 kB / 386.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.2984, allocations: 402.4 kB / 387.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009497/0.2993, allocations: 0.7083 MB / 387.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2994, allocations: 1.438 kB / 387.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001243/0.3006, allocations: 0.8392 MB / 388.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3006, allocations: 9.266 kB / 388.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.3006, allocations: 2.438 kB / 388.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3007, allocations: 4.781 kB / 388.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.3013, allocations: 150.6 kB / 388.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.3013, allocations: 5.719 kB / 388.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.3019, allocations: 64.81 kB / 389 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.3019, allocations: 17.94 kB / 389 MB, free: 11.57 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.0005911/0.3025, allocations: 469.1 kB / 389.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3026, allocations: 77.06 kB / 389.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.3028, allocations: 90.05 kB / 389.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3028, allocations: 4.5 kB / 389.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.3029, allocations: 0 / 389.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3029, allocations: 5.641 kB / 389.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.3056, allocations: 1.98 MB / 391.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3056, allocations: 5 kB / 391.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.3061, allocations: 120 kB / 391.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.3061, allocations: 2.75 kB / 391.7 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.3061, allocations: 13.5 kB / 391.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3061, allocations: 6.844 kB / 391.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3062, allocations: 9.359 kB / 391.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.3075, allocations: 1.137 MB / 392.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.3077, allocations: 170 kB / 393.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.3078, allocations: 17.58 kB / 393.1 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3082, allocations: 55.45 kB / 393.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3083, allocations: 34.8 kB / 393.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3083, allocations: 18.61 kB / 393.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.309, allocations: 0.5992 MB / 393.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.309, allocations: 0 / 393.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007221/0.3098, allocations: 284.2 kB / 394.1 MB, free: 8.539 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.0001259/0.3099, allocations: 122.5 kB / 394.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.3108, allocations: 0.6654 MB / 394.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3108, allocations: 0 / 394.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.3113, allocations: 335.6 kB / 395.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009529/0.3122, allocations: 177.8 kB / 395.4 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.3153, allocations: 2.844 MB / 398.2 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.3159, allocations: 1.325 MB / 399.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.3161, allocations: 59.38 kB / 399.6 MB, free: 4.336 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3161, allocations: 0 / 399.6 MB, free: 4.336 MB / 302.1 MB Notification: Performance of Templates: time 0.01687/0.333, allocations: 13.22 MB / 412.8 MB, free: 7.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches