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.001367/0.001367, allocations: 113.4 kB / 17.73 MB, free: 5.359 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.001826/0.001826, allocations: 184.1 kB / 18.66 MB, free: 4.438 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.638/1.638, allocations: 205.1 MB / 224.5 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.001305/0.001305, allocations: 47.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1127, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005063/0.1178, allocations: 3.727 MB / 378.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.237/0.3548, allocations: 1.052 MB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.3554, allocations: 19.28 kB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.3558, allocations: 149 kB / 380.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008395/0.3566, allocations: 292.3 kB / 380.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.3569, allocations: 137.8 kB / 380.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3583, allocations: 1.447 MB / 381.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.3598, allocations: 1.147 MB / 383.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008939/0.3607, allocations: 0.6375 MB / 383.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3618, allocations: 0.7687 MB / 384.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.3621, allocations: 160 kB / 384.7 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.3624, allocations: 162.6 kB / 384.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.3629, allocations: 468.8 kB / 385.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007432/0.3636, allocations: 0.7386 MB / 386 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.3661, allocations: 2.06 MB / 388.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3661, allocations: 1.094 kB / 388.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3661, allocations: 0 / 388.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.2e-05/0.3661, allocations: 0 / 388.1 MB, free: 7.453 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.00319/0.3693, allocations: 1.682 MB / 389.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3694, allocations: 10.3 kB / 389.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.3696, allocations: 144.5 kB / 389.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.3709, allocations: 0.8339 MB / 390.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/0.3709, allocations: 84.72 kB / 390.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.3711, allocations: 112.7 kB / 390.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.3744, allocations: 1.567 MB / 392.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.3744, allocations: 1.375 kB / 392.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.3745, allocations: 45.06 kB / 392.5 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.3746, allocations: 31.62 kB / 392.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.3774, allocations: 1.325 MB / 393.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007492/0.3849, allocations: 4.27 MB / 398.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.3862, allocations: 1.331 MB / 399.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.3871, allocations: 0.5186 MB / 400 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.3872, allocations: 9.219 kB / 400 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3872, allocations: 47.97 kB / 400.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.755e-06/0.3872, allocations: 0 / 400.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001483/0.3887, allocations: 0.8705 MB / 400.9 MB, free: 468 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3887, allocations: 57.41 kB / 401 MB, free: 404 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.3899, allocations: 0.8232 MB / 401.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.3899, allocations: 36.48 kB / 401.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.3904, allocations: 0.5408 MB / 402.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.3906, allocations: 179.7 kB / 402.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3907, allocations: 106 kB / 402.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.391, allocations: 385 kB / 403.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.3915, allocations: 303.8 kB / 403.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.3921, allocations: 400 kB / 403.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3932, allocations: 0.6915 MB / 404.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3933, allocations: 0 / 404.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001335/0.3946, allocations: 0.8167 MB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3946, allocations: 13.56 kB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3947, allocations: 2.438 kB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3947, allocations: 9.094 kB / 405.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.3953, allocations: 148.3 kB / 405.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3953, allocations: 8.938 kB / 405.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.3958, allocations: 59.66 kB / 405.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.3959, allocations: 26.33 kB / 405.5 MB, free: 13.49 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.000737/0.3966, allocations: 459.9 kB / 406 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.3967, allocations: 76.25 kB / 406 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.3969, allocations: 92.91 kB / 406.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.397, allocations: 4.594 kB / 406.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.397, allocations: 1.031 kB / 406.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.397, allocations: 0 / 406.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.3999, allocations: 1.942 MB / 408.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3999, allocations: 2.562 kB / 408.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.4004, allocations: 126 kB / 408.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4004, allocations: 2.531 kB / 408.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4004, allocations: 13.75 kB / 408.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4005, allocations: 2.812 kB / 408.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4005, allocations: 6.609 kB / 408.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.402, allocations: 1.128 MB / 409.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.4023, allocations: 165.4 kB / 409.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.4024, allocations: 15.98 kB / 409.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.4028, allocations: 52.7 kB / 409.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4029, allocations: 40.81 kB / 409.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.403, allocations: 16.38 kB / 409.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007779/0.4038, allocations: 0.5873 MB / 410.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4038, allocations: 0 / 410.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009078/0.4047, allocations: 280.3 kB / 410.5 MB, free: 10.48 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.0002007/0.4049, allocations: 117.6 kB / 410.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.4059, allocations: 0.6469 MB / 411.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.406, allocations: 4 kB / 411.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.4064, allocations: 331 kB / 411.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009001/0.4073, allocations: 182.7 kB / 411.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.4114, allocations: 2.28 MB / 414.1 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.4123, allocations: 1.336 MB / 415.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004576/0.4128, allocations: 205.8 kB / 415.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.413, allocations: 51.44 kB / 415.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.413, allocations: 3.938 kB / 415.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of Templates: time 0.02014/0.4331, allocations: 10.15 MB / 425.8 MB, free: 11.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/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