Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008476, allocations: 91.86 kB / 16.65 MB, free: 6.59 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.001004/0.001004, allocations: 182.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003014, allocations: 4 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 50.42 MB / 351.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003931/0.1171, allocations: 3.386 MB / 355.2 MB, free: 300 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1191, allocations: 0.9348 MB / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1193, allocations: 23.88 kB / 356.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1196, allocations: 115.2 kB / 356.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007977/0.1204, allocations: 254.8 kB / 356.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1207, allocations: 111.8 kB / 356.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.1223, allocations: 1.635 MB / 358.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1235, allocations: 0.9955 MB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/0.1242, allocations: 470 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008836/0.1251, allocations: 0.6417 MB / 360.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1252, allocations: 72 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1254, allocations: 72 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.1257, allocations: 358.8 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000683/0.1264, allocations: 0.6351 MB / 361.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.1281, allocations: 1.9 MB / 363.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1281, allocations: 0 / 363.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1281, allocations: 0 / 363.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.1281, allocations: 0 / 363.4 MB, free: 8.035 MB / 302.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.0025/0.1306, allocations: 1.458 MB / 364.9 MB, free: 6.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1306, allocations: 8.031 kB / 364.9 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.1309, allocations: 143.2 kB / 365 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.132, allocations: 0.8461 MB / 365.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.1321, allocations: 82.59 kB / 365.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.1322, allocations: 111.9 kB / 366 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.1346, allocations: 1.548 MB / 367.6 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1346, allocations: 4 kB / 367.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1347, allocations: 44 kB / 367.6 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.1347, allocations: 31.94 kB / 367.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.1368, allocations: 1.32 MB / 369 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2095/0.3463, allocations: 4.245 MB / 373.2 MB, free: 22.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.3475, allocations: 1.325 MB / 374.6 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/0.3484, allocations: 474.3 kB / 375 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.3484, allocations: 6.125 kB / 375 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.3484, allocations: 38.22 kB / 375.1 MB, free: 21.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.747e-06/0.3484, allocations: 0 / 375.1 MB, free: 21.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00354/0.352, allocations: 1.98 MB / 377 MB, free: 20.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.352, allocations: 61.17 kB / 377.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3531, allocations: 0.8129 MB / 377.9 MB, free: 20.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.3532, allocations: 37.95 kB / 378 MB, free: 20.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.3535, allocations: 0.5423 MB / 378.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3536, allocations: 179 kB / 378.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.3537, allocations: 52.73 kB / 378.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3538, allocations: 393.1 kB / 379.1 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.3543, allocations: 307.6 kB / 379.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.3549, allocations: 410.3 kB / 379.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.3559, allocations: 0.7143 MB / 380.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3559, allocations: 5.562 kB / 380.5 MB, free: 18.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001523/0.3575, allocations: 0.9282 MB / 381.5 MB, free: 18.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3575, allocations: 5.969 kB / 381.5 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3575, allocations: 3.812 kB / 381.5 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/0.3578, allocations: 106.1 kB / 381.6 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.3584, allocations: 129.7 kB / 381.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.3604, allocations: 2.171 MB / 383.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.3608, allocations: 29.77 kB / 383.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.3608, allocations: 23.48 kB / 383.9 MB, free: 16.56 MB / 302.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.0007983/0.3616, allocations: 460.2 kB / 384.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.3618, allocations: 80.48 kB / 384.5 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.362, allocations: 91 kB / 384.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.362, allocations: 5.469 kB / 384.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.3621, allocations: 1.062 kB / 384.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3621, allocations: 2.578 kB / 384.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.3658, allocations: 2.03 MB / 386.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3658, allocations: 3.531 kB / 386.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.3662, allocations: 95.52 kB / 386.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.3664, allocations: 101.1 kB / 386.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.3665, allocations: 15.27 kB / 386.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.3682, allocations: 2.136 MB / 388.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3682, allocations: 2.344 kB / 388.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.37, allocations: 1.218 MB / 390.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.3702, allocations: 163 kB / 390.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.3703, allocations: 15.64 kB / 390.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.3707, allocations: 59.44 kB / 390.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3708, allocations: 37.67 kB / 390.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.3709, allocations: 19.59 kB / 390.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007726/0.3717, allocations: 0.5885 MB / 391 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3717, allocations: 1 kB / 391 MB, free: 12.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009221/0.3726, allocations: 208.7 kB / 391.2 MB, free: 12.46 MB / 302.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.0001623/0.3728, allocations: 124.4 kB / 391.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.374, allocations: 0.8332 MB / 392.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.374, allocations: 0 / 392.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.3747, allocations: 497.9 kB / 392.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.3757, allocations: 173.3 kB / 392.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.3789, allocations: 2.746 MB / 395.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.3796, allocations: 1.339 MB / 396.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.3801, allocations: 183.2 kB / 397.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.3802, allocations: 51.59 kB / 397.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3802, allocations: 0 / 397.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of Templates: time 0.01572/0.3959, allocations: 9.809 MB / 407 MB, free: 15.93 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches