Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008472/0.0008476, allocations: 88.03 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.289e-05, allocations: 4 kB / 343.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08077/0.08081, allocations: 50.42 MB / 394.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/0.3578, allocations: 92.65 MB / 486.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.358, allocations: 87.78 kB / 487 MB, free: 10.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3711/0.7291, allocations: 74.68 MB / 0.5485 GB, free: 86.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7292, allocations: 0 / 0.5485 GB, free: 86.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003561/0.7296, allocations: 84.97 kB / 0.5486 GB, free: 86.65 MB / 426.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.007592/0.7372, allocations: 2.9 MB / 0.5514 GB, free: 86.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7372, allocations: 12.64 kB / 0.5514 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.7386, allocations: 397.4 kB / 0.5518 GB, free: 85.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.7429, allocations: 2.166 MB / 0.5539 GB, free: 85.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.7431, allocations: 220.7 kB / 0.5541 GB, free: 85.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/0.7435, allocations: 283.2 kB / 0.5544 GB, free: 85.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/0.7495, allocations: 4.043 MB / 0.5583 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.7496, allocations: 1.375 kB / 0.5584 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.7498, allocations: 122.6 kB / 0.5585 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/0.75, allocations: 136.9 kB / 0.5586 GB, free: 85.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004829/0.7548, allocations: 3.093 MB / 0.5616 GB, free: 85.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/0.7714, allocations: 11.01 MB / 0.5724 GB, free: 83.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.7736, allocations: 2.604 MB / 0.5749 GB, free: 82.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.7755, allocations: 1.45 MB / 0.5763 GB, free: 82.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.7757, allocations: 135.2 kB / 0.5765 GB, free: 82.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.7758, allocations: 52.03 kB / 0.5765 GB, free: 82.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 3.526e-06/0.7758, allocations: 0 / 0.5765 GB, free: 82.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.006503/0.7823, allocations: 4.37 MB / 0.5808 GB, free: 81.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.7824, allocations: 89.42 kB / 0.5809 GB, free: 81.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.7842, allocations: 1.695 MB / 0.5825 GB, free: 80.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.7843, allocations: 53.55 kB / 0.5826 GB, free: 80.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.7849, allocations: 1.317 MB / 0.5838 GB, free: 79.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.7851, allocations: 456.6 kB / 0.5843 GB, free: 79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.7852, allocations: 34.25 kB / 0.5843 GB, free: 78.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.7853, allocations: 363.6 kB / 0.5847 GB, free: 78.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008749/0.7862, allocations: 0.7789 MB / 0.5854 GB, free: 78.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/0.7872, allocations: 1.131 MB / 0.5865 GB, free: 77.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.7882, allocations: 0.9824 MB / 0.5875 GB, free: 77.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.7882, allocations: 0 / 0.5875 GB, free: 77.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003245/0.7915, allocations: 2.445 MB / 0.5899 GB, free: 76.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7915, allocations: 10.22 kB / 0.5899 GB, free: 76.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.7915, allocations: 17.66 kB / 0.5899 GB, free: 76.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008156/0.7924, allocations: 362 kB / 0.5902 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.7936, allocations: 327.6 kB / 0.5906 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.7975, allocations: 4.041 MB / 0.5945 GB, free: 73.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.7989, allocations: 96.98 kB / 0.5946 GB, free: 73.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.799, allocations: 59.72 kB / 0.5947 GB, free: 73.72 MB / 426.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.0002377/0.7992, allocations: 190.5 kB / 0.5948 GB, free: 73.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.7996, allocations: 185.6 kB / 0.595 GB, free: 73.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.8026, allocations: 2.113 MB / 0.5971 GB, free: 72.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8026, allocations: 10.47 kB / 0.5971 GB, free: 72.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8026, allocations: 3.969 kB / 0.5971 GB, free: 72.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.8026, allocations: 7.594 kB / 0.5971 GB, free: 72.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/0.8094, allocations: 5.152 MB / 0.6021 GB, free: 70.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.8095, allocations: 6.891 kB / 0.6021 GB, free: 70.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000904/0.8104, allocations: 242.8 kB / 0.6024 GB, free: 70.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007419/0.8111, allocations: 328.9 kB / 0.6027 GB, free: 70.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.82e-05/0.8112, allocations: 38.05 kB / 0.6027 GB, free: 70.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.8149, allocations: 3.949 MB / 0.6066 GB, free: 67.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8149, allocations: 2 kB / 0.6066 GB, free: 67.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.8185, allocations: 3.286 MB / 0.6098 GB, free: 66.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.8193, allocations: 464.5 kB / 0.6102 GB, free: 66.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.8196, allocations: 33.81 kB / 0.6103 GB, free: 66.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.8205, allocations: 102.3 kB / 0.6104 GB, free: 66.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.8207, allocations: 103.5 kB / 0.6105 GB, free: 66.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-05/0.8208, allocations: 41.17 kB / 0.6105 GB, free: 66.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001438/0.8222, allocations: 1.308 MB / 0.6118 GB, free: 65.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8222, allocations: 3.969 kB / 0.6118 GB, free: 65.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001428/0.8237, allocations: 0.5714 MB / 0.6123 GB, free: 65.57 MB / 426.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.0003517/0.824, allocations: 217.2 kB / 0.6125 GB, free: 65.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.8265, allocations: 2.228 MB / 0.6147 GB, free: 64.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.8265, allocations: 3.906 kB / 0.6147 GB, free: 64.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.828, allocations: 1.287 MB / 0.616 GB, free: 63.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.8297, allocations: 495.2 kB / 0.6165 GB, free: 63.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.8359, allocations: 4.636 MB / 0.621 GB, free: 61.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.8374, allocations: 2.476 MB / 0.6234 GB, free: 60.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001166/0.8386, allocations: 490 kB / 0.6239 GB, free: 60.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.8389, allocations: 128 kB / 0.624 GB, free: 60.83 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.8389, allocations: 0 / 0.624 GB, free: 60.83 MB / 426.7 MB Notification: Performance of Templates: time 0.04037/0.8793, allocations: 29.11 MB / 0.6524 GB, free: 44.34 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches