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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008412/0.0008413, allocations: 98.73 kB / 271.2 MB, free: 8.453 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007902/0.0007903, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1933, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003721/0.1971, allocations: 3.761 MB / 377.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1984, allocations: 1.055 MB / 378.6 MB, free: 41.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1986, allocations: 17.84 kB / 378.7 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1988, allocations: 128.1 kB / 378.8 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.1994, allocations: 267.5 kB / 379 MB, free: 41.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.1996, allocations: 119.1 kB / 379.2 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2007, allocations: 1.706 MB / 380.9 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.2016, allocations: 0.9623 MB / 381.8 MB, free: 40.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.2021, allocations: 0.5429 MB / 382.4 MB, free: 39.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006743/0.2028, allocations: 0.7417 MB / 383.1 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.2029, allocations: 104.4 kB / 383.2 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.2032, allocations: 104.5 kB / 383.3 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.2034, allocations: 398.8 kB / 383.7 MB, free: 39.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.2039, allocations: 0.6776 MB / 384.4 MB, free: 38.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2049, allocations: 1.99 MB / 386.4 MB, free: 36.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.205, allocations: 0 / 386.4 MB, free: 36.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.205, allocations: 0 / 386.4 MB, free: 36.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.205, allocations: 4 kB / 386.4 MB, free: 36.89 MB / 298.7 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.002141/0.2071, allocations: 1.672 MB / 388 MB, free: 35.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2072, allocations: 12.03 kB / 388.1 MB, free: 35.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.2073, allocations: 143.3 kB / 388.2 MB, free: 35.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.2084, allocations: 0.8266 MB / 389 MB, free: 34.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.2084, allocations: 82.62 kB / 389.1 MB, free: 34.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2085, allocations: 115.9 kB / 389.2 MB, free: 33.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.2102, allocations: 1.561 MB / 390.8 MB, free: 32.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.2102, allocations: 7.938 kB / 390.8 MB, free: 32.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.2103, allocations: 48 kB / 390.8 MB, free: 32.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.2103, allocations: 28 kB / 390.9 MB, free: 32.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.2118, allocations: 1.324 MB / 392.2 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/0.2166, allocations: 4.326 MB / 396.5 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.2173, allocations: 1.339 MB / 397.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006384/0.218, allocations: 0.5222 MB / 398.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.218, allocations: 4.438 kB / 398.4 MB, free: 24.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.218, allocations: 43 kB / 398.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.073e-06/0.218, allocations: 0 / 398.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001032/0.2191, allocations: 0.8806 MB / 399.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2191, allocations: 55.84 kB / 399.3 MB, free: 23.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.2198, allocations: 0.8205 MB / 400.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2198, allocations: 33.7 kB / 400.2 MB, free: 22.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.22, allocations: 0.5493 MB / 400.8 MB, free: 22.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.2201, allocations: 177.4 kB / 400.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.2202, allocations: 102.2 kB / 401 MB, free: 21.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.2203, allocations: 390.7 kB / 401.4 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.2207, allocations: 296.9 kB / 401.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.221, allocations: 398.5 kB / 402.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/0.2217, allocations: 0.6864 MB / 402.8 MB, free: 19.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2217, allocations: 7.938 kB / 402.8 MB, free: 19.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008589/0.2226, allocations: 0.818 MB / 403.6 MB, free: 19.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2226, allocations: 8 kB / 403.6 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2226, allocations: 0 / 403.6 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2226, allocations: 4 kB / 403.6 MB, free: 19.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.2232, allocations: 152.1 kB / 403.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2232, allocations: 8 kB / 403.8 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.2235, allocations: 71.34 kB / 403.8 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2235, allocations: 23.97 kB / 403.9 MB, free: 18.81 MB / 298.7 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.000341/0.2239, allocations: 454.4 kB / 404.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.2239, allocations: 75.16 kB / 404.4 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.2241, allocations: 95.06 kB / 404.5 MB, free: 18.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2241, allocations: 4 kB / 404.5 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2241, allocations: 4 kB / 404.5 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2241, allocations: 3.938 kB / 404.5 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.2262, allocations: 1.954 MB / 406.4 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2262, allocations: 7.984 kB / 406.4 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.2266, allocations: 116 kB / 406.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2266, allocations: 4 kB / 406.6 MB, free: 16.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.2267, allocations: 15.92 kB / 406.6 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2267, allocations: 7.938 kB / 406.6 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2267, allocations: 0 / 406.6 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/0.2311, allocations: 4.531 MB / 411.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.2313, allocations: 180 kB / 411.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.2313, allocations: 12 kB / 411.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.2317, allocations: 51.95 kB / 411.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.2318, allocations: 40.31 kB / 411.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2318, allocations: 16 kB / 411.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004779/0.2323, allocations: 0.5888 MB / 412 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2323, allocations: 0 / 412 MB, free: 10.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000654/0.233, allocations: 354.8 kB / 412.3 MB, free: 10.06 MB / 298.7 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.0001013/0.2331, allocations: 124.8 kB / 412.5 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.2338, allocations: 0.6457 MB / 413.1 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2338, allocations: 0 / 413.1 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.2341, allocations: 331.1 kB / 413.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.2349, allocations: 169.9 kB / 413.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.2375, allocations: 3.131 MB / 416.7 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.238, allocations: 1.359 MB / 418.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.2384, allocations: 209.8 kB / 418.3 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.2386, allocations: 63.3 kB / 418.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2386, allocations: 4 kB / 418.4 MB, free: 3.949 MB / 298.7 MB Notification: Performance of Templates: time 0.01355/0.2521, allocations: 10.42 MB / 428.8 MB, free: 9.559 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches