Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 103.3 kB / 18.4 MB, free: 4.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 185.2 kB / 19.33 MB, free: 3.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 51.94 kB / 329.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0751/0.07622, allocations: 46.61 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004647/0.08091, allocations: 3.732 MB / 379.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1557/0.2366, allocations: 1.059 MB / 380.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.2371, allocations: 19.47 kB / 380.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.2375, allocations: 152.3 kB / 380.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008969/0.2384, allocations: 290.8 kB / 381 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.2387, allocations: 131.9 kB / 381.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.24, allocations: 1.45 MB / 382.6 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.2413, allocations: 1.149 MB / 383.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008051/0.2421, allocations: 0.6396 MB / 384.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009585/0.243, allocations: 0.771 MB / 385.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002113/0.2433, allocations: 158.6 kB / 385.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.2436, allocations: 159.8 kB / 385.5 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.2439, allocations: 469 kB / 386 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.2447, allocations: 0.7351 MB / 386.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.2469, allocations: 2.062 MB / 388.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2469, allocations: 1.094 kB / 388.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2469, allocations: 0 / 388.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.742e-05/0.2469, allocations: 0 / 388.8 MB, free: 7.449 MB / 318.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.002856/0.2498, allocations: 1.68 MB / 390.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2498, allocations: 9.469 kB / 390.4 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.2501, allocations: 142.1 kB / 390.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2512, allocations: 0.8331 MB / 391.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.2512, allocations: 84.84 kB / 391.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.2514, allocations: 113 kB / 391.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.2538, allocations: 1.571 MB / 393.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2539, allocations: 0.7031 kB / 393.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.254, allocations: 45.56 kB / 393.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.254, allocations: 27.69 kB / 393.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.2561, allocations: 1.327 MB / 394.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005793/0.2619, allocations: 4.272 MB / 398.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/0.2628, allocations: 1.332 MB / 400.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/0.2636, allocations: 0.5194 MB / 400.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.2636, allocations: 11.56 kB / 400.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2637, allocations: 46.5 kB / 400.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 3.025e-06/0.2637, allocations: 0 / 400.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001303/0.265, allocations: 0.8716 MB / 401.6 MB, free: 480 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.265, allocations: 57.09 kB / 401.7 MB, free: 416 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009408/0.266, allocations: 0.8194 MB / 402.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.266, allocations: 37.2 kB / 402.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.2664, allocations: 0.5377 MB / 403.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.2666, allocations: 181.7 kB / 403.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2668, allocations: 110.9 kB / 403.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2669, allocations: 387.7 kB / 403.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.2674, allocations: 299 kB / 404 MB, free: 14.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/0.2679, allocations: 404.9 kB / 404.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008942/0.2688, allocations: 0.6839 MB / 405.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2688, allocations: 1.531 kB / 405.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001179/0.27, allocations: 0.8234 MB / 405.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.27, allocations: 6.938 kB / 405.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.27, allocations: 6 kB / 406 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.27, allocations: 8.406 kB / 406 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.2706, allocations: 144.6 kB / 406.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.2706, allocations: 8.531 kB / 406.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.2711, allocations: 64.38 kB / 406.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.2711, allocations: 22.16 kB / 406.2 MB, free: 13.51 MB / 334.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.0006202/0.2718, allocations: 460 kB / 406.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2719, allocations: 76.06 kB / 406.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.2721, allocations: 89.36 kB / 406.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.2721, allocations: 9.125 kB / 406.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2721, allocations: 0 / 406.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2721, allocations: 3.984 kB / 406.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/0.2747, allocations: 1.938 MB / 408.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.2748, allocations: 5.125 kB / 408.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.2752, allocations: 121.1 kB / 408.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2752, allocations: 4.188 kB / 408.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.2753, allocations: 12.09 kB / 408.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2753, allocations: 3.594 kB / 408.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2753, allocations: 2.594 kB / 408.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2767, allocations: 1.125 MB / 410 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.2769, allocations: 173 kB / 410.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/0.277, allocations: 20.39 kB / 410.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.2774, allocations: 44.17 kB / 410.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.2775, allocations: 42.17 kB / 410.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2775, allocations: 15.47 kB / 410.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006688/0.2782, allocations: 0.5913 MB / 410.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2782, allocations: 4 kB / 410.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006909/0.2789, allocations: 280.9 kB / 411.2 MB, free: 10.5 MB / 334.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.0001347/0.279, allocations: 113.3 kB / 411.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008964/0.2799, allocations: 0.6483 MB / 411.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2799, allocations: 4.062 kB / 411.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.2804, allocations: 326.2 kB / 412.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.2812, allocations: 178.9 kB / 412.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.2843, allocations: 2.293 MB / 414.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008023/0.2851, allocations: 1.32 MB / 416.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2853, allocations: 51.44 kB / 416.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2853, allocations: 7.938 kB / 416.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of Templates: time 0.01601/0.3013, allocations: 13.38 MB / 429.5 MB, free: 8.207 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches