Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001492/0.001492, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.674/1.674, 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.001249/0.001249, allocations: 55.91 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.005054/0.1194, allocations: 3.723 MB / 378.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2565/0.3759, allocations: 1.002 MB / 379.9 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008464/0.3768, allocations: 22.81 kB / 379.9 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005364/0.3774, allocations: 147.3 kB / 380 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.3785, allocations: 271.9 kB / 380.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.379, allocations: 134.5 kB / 380.4 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.3812, allocations: 1.414 MB / 381.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.3836, allocations: 1.117 MB / 383 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.3849, allocations: 0.6244 MB / 383.6 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.3864, allocations: 0.7543 MB / 384.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.3868, allocations: 156.2 kB / 384.5 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.3873, allocations: 156 kB / 384.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005871/0.3879, allocations: 460 kB / 385.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.389, allocations: 0.7248 MB / 385.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.3923, allocations: 2.03 MB / 387.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3923, allocations: 0 / 387.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3923, allocations: 0 / 387.8 MB, free: 7.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-05/0.3924, allocations: 5.094 kB / 387.8 MB, free: 7.547 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004634/0.397, allocations: 1.66 MB / 389.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.3971, allocations: 13.11 kB / 389.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.3975, allocations: 145.7 kB / 389.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.3992, allocations: 0.8083 MB / 390.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.3993, allocations: 83.19 kB / 390.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/0.3996, allocations: 111.8 kB / 390.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.4035, allocations: 1.542 MB / 392.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.4035, allocations: 5.062 kB / 392.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.4037, allocations: 45.84 kB / 392.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/0.4037, allocations: 27.12 kB / 392.3 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.4072, allocations: 1.308 MB / 393.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009334/0.4165, allocations: 4.166 MB / 397.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.418, allocations: 1.31 MB / 399.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009593/0.419, allocations: 456.4 kB / 399.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.4191, allocations: 4.719 kB / 399.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4191, allocations: 39.41 kB / 399.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 4.148e-06/0.4191, allocations: 0 / 399.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.004927/0.4241, allocations: 1.951 MB / 401.5 MB, free: 4 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/0.4242, allocations: 60.66 kB / 401.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.426, allocations: 0.8173 MB / 402.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.426, allocations: 36.55 kB / 402.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.4266, allocations: 0.5386 MB / 403 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.4269, allocations: 176.8 kB / 403.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.4272, allocations: 102.9 kB / 403.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002944/0.4275, allocations: 384.7 kB / 403.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.4282, allocations: 303.6 kB / 403.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009662/0.4292, allocations: 401.4 kB / 404.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.431, allocations: 0.7042 MB / 405 MB, free: 13.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.431, allocations: 1.188 kB / 405 MB, free: 13.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002592/0.4336, allocations: 0.9113 MB / 405.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.4337, allocations: 9.141 kB / 405.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.4337, allocations: 2.719 kB / 405.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/0.4342, allocations: 106.3 kB / 406 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.4351, allocations: 128 kB / 406.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.4386, allocations: 2.374 MB / 408.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.4394, allocations: 28.22 kB / 408.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.4395, allocations: 22.34 kB / 408.6 MB, free: 10.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0014/0.4409, allocations: 464.3 kB / 409 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.4412, allocations: 74.88 kB / 409.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.4414, allocations: 94.58 kB / 409.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.4415, allocations: 4.156 kB / 409.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.4415, allocations: 6.875 kB / 409.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.4415, allocations: 3.984 kB / 409.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.4455, allocations: 2.01 MB / 411.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4455, allocations: 1.188 kB / 411.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.4459, allocations: 91.28 kB / 411.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.4461, allocations: 109 kB / 411.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.4462, allocations: 13.5 kB / 411.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.4486, allocations: 2.319 MB / 413.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4486, allocations: 1.406 kB / 413.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.4504, allocations: 1.209 MB / 415 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.4507, allocations: 164.2 kB / 415.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.4508, allocations: 8 kB / 415.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.4512, allocations: 47.95 kB / 415.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4513, allocations: 40.31 kB / 415.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.4514, allocations: 20.34 kB / 415.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000784/0.4521, allocations: 0.5849 MB / 415.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4522, allocations: 0 / 415.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000937/0.4531, allocations: 215.9 kB / 416 MB, free: 4.719 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.4533, allocations: 113.7 kB / 416.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.4546, allocations: 0.8245 MB / 417 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4546, allocations: 4 kB / 417 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007419/0.4554, allocations: 498.3 kB / 417.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008918/0.4563, allocations: 176.5 kB / 417.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.4599, allocations: 2.187 MB / 419.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.4609, allocations: 1.336 MB / 421.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000444/0.4614, allocations: 177.8 kB / 421.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.4615, allocations: 47.44 kB / 421.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4615, allocations: 0 / 421.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Templates: time 0.01917/0.4807, allocations: 10.59 MB / 432 MB, free: 4.688 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches