Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.7 MB / 243.2 MB, free: 8.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007852/0.0007851, allocations: 101.6 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002387/0.0002391, allocations: 8 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1994, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.002575/0.202, allocations: 3.238 MB / 407.8 MB, free: 28.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2031, allocations: 1.035 MB / 408.9 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.2033, allocations: 23.88 kB / 408.9 MB, free: 27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.2035, allocations: 119.7 kB / 409 MB, free: 26.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.2041, allocations: 270 kB / 409.3 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.2043, allocations: 111.3 kB / 409.4 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008958/0.2052, allocations: 1.658 MB / 411 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.2059, allocations: 1.025 MB / 412 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.2063, allocations: 486 kB / 412.5 MB, free: 23.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.2068, allocations: 0.6456 MB / 413.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.144e-05/0.2069, allocations: 72 kB / 413.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.2071, allocations: 72 kB / 413.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.2073, allocations: 354.8 kB / 413.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.2077, allocations: 0.6468 MB / 414.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009367/0.2086, allocations: 1.936 MB / 416.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2086, allocations: 0 / 416.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2086, allocations: 0 / 416.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.2086, allocations: 0 / 416.2 MB, free: 19.58 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.001826/0.2105, allocations: 1.481 MB / 417.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2105, allocations: 8.031 kB / 417.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.2107, allocations: 143.2 kB / 417.9 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.2116, allocations: 0.854 MB / 418.7 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.2116, allocations: 82.62 kB / 418.8 MB, free: 16.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.2117, allocations: 111.9 kB / 418.9 MB, free: 16.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2136, allocations: 1.568 MB / 420.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.2136, allocations: 4 kB / 420.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.2137, allocations: 44 kB / 420.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.2137, allocations: 31.94 kB / 420.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.2153, allocations: 1.332 MB / 421.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/0.2199, allocations: 4.373 MB / 426.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.2207, allocations: 1.344 MB / 427.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/0.2214, allocations: 0.5571 MB / 428.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2214, allocations: 8.438 kB / 428.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2214, allocations: 43 kB / 428.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 2.184e-06/0.2214, allocations: 3.984 kB / 428.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001052/0.2225, allocations: 0.8847 MB / 429.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.2225, allocations: 59.78 kB / 429.2 MB, free: 6.172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.2232, allocations: 0.8126 MB / 430 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.2232, allocations: 37.7 kB / 430 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.2235, allocations: 0.5415 MB / 430.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.2236, allocations: 181.4 kB / 430.7 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.2236, allocations: 12 kB / 430.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.2237, allocations: 394.7 kB / 431.1 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.224, allocations: 304.8 kB / 431.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.2244, allocations: 402.5 kB / 431.8 MB, free: 3.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/0.2251, allocations: 0.6981 MB / 432.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2251, allocations: 0 / 432.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009068/0.2261, allocations: 0.8377 MB / 433.4 MB, free: 1.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2261, allocations: 4 kB / 433.4 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2261, allocations: 4 kB / 433.4 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2261, allocations: 4 kB / 433.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.2267, allocations: 151.8 kB / 433.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2267, allocations: 4 kB / 433.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.227, allocations: 75.44 kB / 433.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.227, allocations: 16 kB / 433.6 MB, free: 1.629 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.000393/0.2274, allocations: 461.4 kB / 434.1 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.2275, allocations: 71.16 kB / 434.1 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.2276, allocations: 91.08 kB / 434.2 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2276, allocations: 4 kB / 434.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2277, allocations: 0 / 434.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2277, allocations: 11.92 kB / 434.2 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.2301, allocations: 1.966 MB / 436.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2301, allocations: 3.938 kB / 436.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.2306, allocations: 119.9 kB / 436.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2306, allocations: 4 kB / 436.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.2306, allocations: 16 kB / 436.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2306, allocations: 8.141 kB / 436.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2306, allocations: 7.938 kB / 436.4 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.232, allocations: 1.129 MB / 437.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.2322, allocations: 176.1 kB / 437.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.2323, allocations: 12 kB / 437.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.2326, allocations: 55.95 kB / 437.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.2327, allocations: 44.25 kB / 437.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.2328, allocations: 24 kB / 437.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006436/0.2334, allocations: 0.5849 MB / 438.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2334, allocations: 0 / 438.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005517/0.234, allocations: 282.8 kB / 438.6 MB, free: 12.44 MB / 314.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.0001351/0.2341, allocations: 118.1 kB / 438.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.2351, allocations: 0.6614 MB / 439.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2351, allocations: 0 / 439.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.2355, allocations: 331.1 kB / 439.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/0.2364, allocations: 172.3 kB / 439.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.2396, allocations: 2.841 MB / 442.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/0.2405, allocations: 1.34 MB / 444.1 MB, free: 6.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004567/0.241, allocations: 205.8 kB / 444.3 MB, free: 6.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.2411, allocations: 59.36 kB / 444.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2411, allocations: 0 / 444.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of Templates: time 0.01464/0.2558, allocations: 9.41 MB / 453.8 MB, free: 13.28 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches