Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009894/0.0009894, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 86.69 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.789e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08519, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2873/0.3725, allocations: 91.97 MB / 462 MB, free: 1.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3728, allocations: 83.89 kB / 462.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1852/0.5581, allocations: 74.23 MB / 0.5237 GB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5581, allocations: 0 / 0.5237 GB, free: 8.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001843/0.5583, allocations: 87.88 kB / 0.5238 GB, free: 7.957 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.005238/0.5636, allocations: 2.876 MB / 0.5266 GB, free: 5.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5636, allocations: 12.03 kB / 0.5267 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.5646, allocations: 395.8 kB / 0.527 GB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.5686, allocations: 2.17 MB / 0.5291 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.5688, allocations: 229.8 kB / 0.5294 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004027/0.5692, allocations: 280 kB / 0.5296 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1851/0.7543, allocations: 4.055 MB / 0.5336 GB, free: 82.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.193e-05/0.7544, allocations: 0 / 0.5336 GB, free: 82.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002958/0.7547, allocations: 131.2 kB / 0.5337 GB, free: 82.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.7549, allocations: 135.9 kB / 0.5338 GB, free: 82.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005436/0.7603, allocations: 3.114 MB / 0.5369 GB, free: 82.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.7774, allocations: 11 MB / 0.5476 GB, free: 81.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.7798, allocations: 2.585 MB / 0.5502 GB, free: 79.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.7819, allocations: 1.447 MB / 0.5516 GB, free: 79.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.7822, allocations: 148.9 kB / 0.5517 GB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.7822, allocations: 48.5 kB / 0.5518 GB, free: 79.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.947e-06/0.7822, allocations: 2.094 kB / 0.5518 GB, free: 79.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.006352/0.7886, allocations: 4.38 MB / 0.556 GB, free: 79.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.7887, allocations: 90.02 kB / 0.5561 GB, free: 78.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.7906, allocations: 1.696 MB / 0.5578 GB, free: 78.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.7907, allocations: 52.2 kB / 0.5578 GB, free: 78.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.7912, allocations: 1.323 MB / 0.5591 GB, free: 78.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.7915, allocations: 460.5 kB / 0.5596 GB, free: 78.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.7916, allocations: 25.97 kB / 0.5596 GB, free: 78.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.7916, allocations: 368.8 kB / 0.5599 GB, free: 77.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009265/0.7926, allocations: 0.778 MB / 0.5607 GB, free: 77.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.7936, allocations: 1.13 MB / 0.5618 GB, free: 77.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.7947, allocations: 0.9834 MB / 0.5628 GB, free: 77.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.7948, allocations: 3.125 kB / 0.5628 GB, free: 77.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003138/0.7979, allocations: 2.444 MB / 0.5652 GB, free: 76.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7979, allocations: 6.469 kB / 0.5652 GB, free: 76.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.798, allocations: 15.38 kB / 0.5652 GB, free: 76.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008315/0.7988, allocations: 356.1 kB / 0.5655 GB, free: 76.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.8001, allocations: 336.8 kB / 0.5658 GB, free: 76.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/0.8043, allocations: 4.052 MB / 0.5698 GB, free: 73.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.8057, allocations: 84.8 kB / 0.5699 GB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.8058, allocations: 63.27 kB / 0.5699 GB, free: 73.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002547/0.8061, allocations: 186.9 kB / 0.5701 GB, free: 73.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.8064, allocations: 195 kB / 0.5703 GB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.8094, allocations: 2.11 MB / 0.5724 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.8095, allocations: 18.56 kB / 0.5724 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8095, allocations: 3.969 kB / 0.5724 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.8095, allocations: 6.656 kB / 0.5724 GB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008308/0.8178, allocations: 5.165 MB / 0.5774 GB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/0.8179, allocations: 3.5 kB / 0.5774 GB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009486/0.8188, allocations: 236.5 kB / 0.5777 GB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008406/0.8197, allocations: 343.3 kB / 0.578 GB, free: 70.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.8198, allocations: 34.72 kB / 0.578 GB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.8242, allocations: 3.955 MB / 0.5819 GB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8242, allocations: 0 / 0.5819 GB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.8283, allocations: 3.277 MB / 0.5851 GB, free: 66.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009957/0.8293, allocations: 474.6 kB / 0.5855 GB, free: 66.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.8298, allocations: 36.61 kB / 0.5856 GB, free: 66.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.831, allocations: 102.7 kB / 0.5857 GB, free: 66.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.8312, allocations: 89.5 kB / 0.5858 GB, free: 66.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.8313, allocations: 42.92 kB / 0.5858 GB, free: 66.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001934/0.8332, allocations: 1.309 MB / 0.5871 GB, free: 65.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8332, allocations: 2.906 kB / 0.5871 GB, free: 65.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001803/0.835, allocations: 0.5721 MB / 0.5876 GB, free: 65.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004404/0.8355, allocations: 224.5 kB / 0.5878 GB, free: 65.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.8395, allocations: 2.229 MB / 0.59 GB, free: 64.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.8395, allocations: 3.656 kB / 0.59 GB, free: 64.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.8418, allocations: 1.29 MB / 0.5913 GB, free: 63.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.8448, allocations: 488.7 kB / 0.5918 GB, free: 63.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.8556, allocations: 4.633 MB / 0.5963 GB, free: 61.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.8584, allocations: 2.483 MB / 0.5987 GB, free: 60.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002151/0.8606, allocations: 483.4 kB / 0.5992 GB, free: 60.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.8612, allocations: 126.5 kB / 0.5993 GB, free: 60.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.8612, allocations: 0 / 0.5993 GB, free: 60.82 MB / 410.7 MB Notification: Performance of Templates: time 0.06107/0.9223, allocations: 29.13 MB / 0.6277 GB, free: 47.68 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches