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.001153/0.001153, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001122/0.001122, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.313/1.313, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 52.61 kB / 302.1 MB, free: 5.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09966, allocations: 49.43 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005333/0.105, allocations: 3.753 MB / 355.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1069, allocations: 0.962 MB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.1071, allocations: 23.88 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1074, allocations: 150.8 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007044/0.1081, allocations: 266.5 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1084, allocations: 119.9 kB / 356.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.1099, allocations: 1.389 MB / 358.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.1111, allocations: 1.189 MB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.1118, allocations: 0.623 MB / 360 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.1127, allocations: 0.755 MB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.1129, allocations: 160 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.1131, allocations: 156 kB / 361 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.1135, allocations: 462.7 kB / 361.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006978/0.1142, allocations: 0.7311 MB / 362.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.1158, allocations: 2.033 MB / 364.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1158, allocations: 0 / 364.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1158, allocations: 0 / 364.2 MB, free: 6.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.131e-05/0.1158, allocations: 4 kB / 364.2 MB, free: 6.84 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.003013/0.1189, allocations: 1.671 MB / 365.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1189, allocations: 15.97 kB / 365.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1191, allocations: 135.3 kB / 366.1 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.1206, allocations: 0.8656 MB / 366.9 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.1207, allocations: 82.59 kB / 367 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.1208, allocations: 111.9 kB / 367.1 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.1232, allocations: 1.548 MB / 368.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1232, allocations: 0 / 368.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.1233, allocations: 48 kB / 368.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.1233, allocations: 24 kB / 368.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.1254, allocations: 1.316 MB / 370 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1711/0.2965, allocations: 4.158 MB / 374.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.2979, allocations: 1.317 MB / 375.5 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/0.2988, allocations: 468.1 kB / 376 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.2989, allocations: 6.469 kB / 376 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2989, allocations: 40.33 kB / 376 MB, free: 22.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.357e-06/0.2989, allocations: 0 / 376 MB, free: 22.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.004282/0.3032, allocations: 1.949 MB / 378 MB, free: 21.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3033, allocations: 57.88 kB / 378 MB, free: 21.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.3048, allocations: 0.8146 MB / 378.8 MB, free: 21.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.3048, allocations: 37.45 kB / 378.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.3053, allocations: 0.5367 MB / 379.4 MB, free: 20.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.3054, allocations: 176.5 kB / 379.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.3057, allocations: 107.8 kB / 379.7 MB, free: 20.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3058, allocations: 392.4 kB / 380.1 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.3066, allocations: 305.4 kB / 380.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.3074, allocations: 398.2 kB / 380.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3087, allocations: 0.7022 MB / 381.5 MB, free: 19.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3087, allocations: 0 / 381.5 MB, free: 19.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002046/0.3108, allocations: 0.9196 MB / 382.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3108, allocations: 6.625 kB / 382.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3108, allocations: 4.219 kB / 382.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.3112, allocations: 112.5 kB / 382.5 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008086/0.312, allocations: 119.6 kB / 382.6 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.3149, allocations: 2.37 MB / 385 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.3155, allocations: 28.73 kB / 385 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.3156, allocations: 19.11 kB / 385 MB, free: 17.18 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.0008566/0.3164, allocations: 457.1 kB / 385.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.3166, allocations: 80.89 kB / 385.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.3168, allocations: 94.05 kB / 385.7 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3168, allocations: 6.938 kB / 385.7 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.3168, allocations: 1.188 kB / 385.7 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3169, allocations: 1.922 kB / 385.7 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/0.3212, allocations: 2.01 MB / 387.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3212, allocations: 1.344 kB / 387.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.3217, allocations: 86.22 kB / 387.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/0.3221, allocations: 106.7 kB / 387.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.3221, allocations: 17.8 kB / 387.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.3242, allocations: 2.324 MB / 390.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3242, allocations: 1 kB / 390.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.3258, allocations: 1.192 MB / 391.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.326, allocations: 175 kB / 391.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.3261, allocations: 16.78 kB / 391.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.3265, allocations: 47.55 kB / 391.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.3265, allocations: 48.03 kB / 391.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.3266, allocations: 15.88 kB / 391.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005973/0.3272, allocations: 0.5806 MB / 392.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3272, allocations: 0 / 392.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007459/0.3279, allocations: 208.9 kB / 392.5 MB, free: 12.52 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.0001162/0.3281, allocations: 129.7 kB / 392.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.3292, allocations: 0.8127 MB / 393.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3292, allocations: 0.7812 kB / 393.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.3298, allocations: 496 kB / 393.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.3306, allocations: 172.5 kB / 394.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.3334, allocations: 2.2 MB / 396.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.334, allocations: 1.335 MB / 397.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003619/0.3344, allocations: 185.2 kB / 397.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.3346, allocations: 50.41 kB / 397.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3346, allocations: 0 / 397.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01499/0.3496, allocations: 10.43 MB / 408.3 MB, free: 15.11 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/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