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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000899/0.000899, allocations: 86.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.244e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.4285, allocations: 79.97 MB / 443 MB, free: 15.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4288, allocations: 71.97 kB / 443.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0443/0.4731, allocations: 18.32 MB / 461.4 MB, free: 380 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4732, allocations: 0 / 461.4 MB, free: 380 kB / 330.7 MB Notification: Performance of Transformations before backend: time 6.837e-05/0.4732, allocations: 31.94 kB / 461.5 MB, free: 348 kB / 330.7 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.002139/0.4754, allocations: 1.33 MB / 462.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4754, allocations: 8.031 kB / 462.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.4757, allocations: 142.3 kB / 462.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.4769, allocations: 0.8501 MB / 463.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.4769, allocations: 39.95 kB / 463.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.477, allocations: 60 kB / 463.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001526/0.4786, allocations: 1.117 MB / 465 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.4804, allocations: 1.307 MB / 466.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.4804, allocations: 0 / 466.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/0.4805, allocations: 4 kB / 466.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.4805, allocations: 28 kB / 466.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005337/0.4859, allocations: 4.05 MB / 470.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009361/0.4868, allocations: 1.268 MB / 471.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.4874, allocations: 422.3 kB / 472.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4874, allocations: 4.438 kB / 472.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4875, allocations: 42.38 kB / 472.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.4875, allocations: 0 / 472.1 MB, free: 7.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.002127/0.4896, allocations: 1.555 MB / 473.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.4896, allocations: 59.84 kB / 473.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.4904, allocations: 0.6756 MB / 474.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.4904, allocations: 29.7 kB / 474.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.4907, allocations: 0.5411 MB / 475 MB, free: 5.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4909, allocations: 165.5 kB / 475.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.4909, allocations: 0 / 475.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.491, allocations: 378.8 kB / 475.5 MB, free: 4.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.4914, allocations: 277 kB / 475.8 MB, free: 4.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.4918, allocations: 366.3 kB / 476.1 MB, free: 3.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.4922, allocations: 341.9 kB / 476.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4922, allocations: 11.89 kB / 476.5 MB, free: 3.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001108/0.4933, allocations: 0.8268 MB / 477.3 MB, free: 2.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4933, allocations: 4 kB / 477.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4934, allocations: 4 kB / 477.3 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.4936, allocations: 104.8 kB / 477.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.4941, allocations: 127.9 kB / 477.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.4961, allocations: 2.083 MB / 479.6 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.4964, allocations: 20.02 kB / 479.6 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.4965, allocations: 23.94 kB / 479.7 MB, free: 264 kB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.4966, allocations: 121 kB / 479.8 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.4967, allocations: 71.16 kB / 479.9 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.4969, allocations: 78.69 kB / 479.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4969, allocations: 4 kB / 479.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4969, allocations: 4 kB / 479.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.4969, allocations: 3.984 kB / 479.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.4995, allocations: 1.819 MB / 481.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4995, allocations: 12.11 kB / 481.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.4999, allocations: 83.89 kB / 481.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.5001, allocations: 100.8 kB / 482 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.5001, allocations: 4 kB / 482 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.5019, allocations: 2.052 MB / 484 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5019, allocations: 0 / 484 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.5032, allocations: 1.166 MB / 485.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.5034, allocations: 160.3 kB / 485.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.5035, allocations: 11.98 kB / 485.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.5038, allocations: 43.89 kB / 485.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.5039, allocations: 48.31 kB / 485.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.504, allocations: 16 kB / 485.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005859/0.5046, allocations: 0.5186 MB / 486 MB, free: 9.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5046, allocations: 0 / 486 MB, free: 9.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000674/0.5052, allocations: 196 kB / 486.2 MB, free: 9.48 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.5054, allocations: 99.19 kB / 486.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009996/0.5064, allocations: 0.7472 MB / 487 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5064, allocations: 0 / 487 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.507, allocations: 459 kB / 487.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.5078, allocations: 144.5 kB / 487.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.5104, allocations: 1.706 MB / 489.3 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/0.5113, allocations: 1.356 MB / 490.7 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000405/0.5117, allocations: 185.5 kB / 490.8 MB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.5118, allocations: 51.38 kB / 490.9 MB, free: 4.641 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5119, allocations: 0 / 490.9 MB, free: 4.641 MB / 362.7 MB Notification: Performance of Templates: time 0.0142/0.5261, allocations: 8.265 MB / 499.2 MB, free: 12.37 MB / 378.7 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","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches