Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002118/0.002118, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 82.48 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.293/0.293, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.659e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4074, allocations: 58.84 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5716, allocations: 88.85 MB / 0.5527 GB, free: 10.47 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.572, allocations: 59.98 kB / 0.5527 GB, free: 10.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03915/0.6111, allocations: 8.822 MB / 0.5613 GB, free: 1.57 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6112, allocations: 0 / 0.5613 GB, free: 1.57 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.6112, allocations: 8 kB / 0.5613 GB, free: 1.562 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001558/0.6128, allocations: 0.6514 MB / 0.562 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.6128, allocations: 12.03 kB / 0.562 GB, free: 0.8516 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.613, allocations: 51.39 kB / 0.562 GB, free: 0.8008 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.6136, allocations: 308.5 kB / 0.5623 GB, free: 468 kB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.6136, allocations: 16 kB / 0.5623 GB, free: 452 kB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/0.6137, allocations: 31.98 kB / 0.5624 GB, free: 420 kB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007506/0.6145, allocations: 250.6 kB / 0.5626 GB, free: 168 kB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009437/0.6154, allocations: 372.5 kB / 0.563 GB, free: 15.78 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.6155, allocations: 0 / 0.563 GB, free: 15.78 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.6155, allocations: 3.984 kB / 0.563 GB, free: 15.77 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.6156, allocations: 12 kB / 0.563 GB, free: 15.76 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.6193, allocations: 1.618 MB / 0.5646 GB, free: 14.04 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.6199, allocations: 201.1 kB / 0.5648 GB, free: 13.83 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.6202, allocations: 123.2 kB / 0.5649 GB, free: 13.7 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.6202, allocations: 4.219 kB / 0.5649 GB, free: 13.7 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.6203, allocations: 38.5 kB / 0.5649 GB, free: 13.65 MB / 411.1 MB Notification: Performance of pre-optimization done (n=26): time 3.075e-06/0.6203, allocations: 0 / 0.5649 GB, free: 13.65 MB / 411.1 MB Notification: Performance of matching and sorting (n=34): time 0.002805/0.6231, allocations: 1.015 MB / 0.5659 GB, free: 12.54 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.6232, allocations: 88.95 kB / 0.566 GB, free: 12.43 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.6235, allocations: 218.1 kB / 0.5662 GB, free: 12.21 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.6236, allocations: 25.7 kB / 0.5662 GB, free: 12.18 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.6238, allocations: 317.9 kB / 0.5665 GB, free: 11.87 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.6239, allocations: 110.3 kB / 0.5666 GB, free: 11.76 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.624, allocations: 0 / 0.5666 GB, free: 11.76 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6242, allocations: 334.8 kB / 0.567 GB, free: 11.43 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.6244, allocations: 76.88 kB / 0.567 GB, free: 11.35 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.6248, allocations: 174.8 kB / 0.5672 GB, free: 11.14 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.6251, allocations: 112.8 kB / 0.5673 GB, free: 11.03 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6251, allocations: 0 / 0.5673 GB, free: 11.03 MB / 411.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008582/0.626, allocations: 333.5 kB / 0.5676 GB, free: 10.7 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.626, allocations: 7.938 kB / 0.5676 GB, free: 10.7 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.626, allocations: 4 kB / 0.5676 GB, free: 10.69 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.6262, allocations: 36.83 kB / 0.5677 GB, free: 10.65 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.6271, allocations: 119.9 kB / 0.5678 GB, free: 10.54 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.6285, allocations: 1.284 MB / 0.569 GB, free: 9.129 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.629, allocations: 12.06 kB / 0.569 GB, free: 9.117 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6291, allocations: 16 kB / 0.5691 GB, free: 9.102 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.6292, allocations: 120.8 kB / 0.5692 GB, free: 8.977 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6294, allocations: 23.72 kB / 0.5692 GB, free: 8.953 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.6295, allocations: 33.97 kB / 0.5692 GB, free: 8.922 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.6295, allocations: 4 kB / 0.5692 GB, free: 8.918 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6295, allocations: 0 / 0.5692 GB, free: 8.918 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6295, allocations: 3.984 kB / 0.5692 GB, free: 8.914 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.631, allocations: 0.6261 MB / 0.5698 GB, free: 8.234 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.631, allocations: 0 / 0.5698 GB, free: 8.234 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/0.6319, allocations: 91.88 kB / 0.5699 GB, free: 8.145 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.632, allocations: 28.91 kB / 0.57 GB, free: 8.113 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.6321, allocations: 8 kB / 0.57 GB, free: 8.105 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.6334, allocations: 1.276 MB / 0.5712 GB, free: 6.719 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6334, allocations: 0 / 0.5712 GB, free: 6.719 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6345, allocations: 0.5645 MB / 0.5718 GB, free: 6.109 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.6347, allocations: 116.8 kB / 0.5719 GB, free: 5.977 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.6347, allocations: 0 / 0.5719 GB, free: 5.977 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.6352, allocations: 15.98 kB / 0.5719 GB, free: 5.961 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.6353, allocations: 27.97 kB / 0.5719 GB, free: 5.934 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.6353, allocations: 15.95 kB / 0.5719 GB, free: 5.918 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.6356, allocations: 166 kB / 0.5721 GB, free: 5.758 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6356, allocations: 0 / 0.5721 GB, free: 5.758 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006967/0.6363, allocations: 80.25 kB / 0.5722 GB, free: 5.68 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001782/0.6365, allocations: 103.9 kB / 0.5723 GB, free: 5.566 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0008273/0.6373, allocations: 341.9 kB / 0.5726 GB, free: 5.223 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6374, allocations: 0 / 0.5726 GB, free: 5.223 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.6378, allocations: 225.5 kB / 0.5728 GB, free: 4.992 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.6382, allocations: 28.48 kB / 0.5728 GB, free: 4.965 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.6401, allocations: 0.6757 MB / 0.5735 GB, free: 4.242 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.6406, allocations: 0.8191 MB / 0.5743 GB, free: 3.395 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.6408, allocations: 31.44 kB / 0.5743 GB, free: 3.367 MB / 411.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6408, allocations: 0 / 0.5743 GB, free: 3.367 MB / 411.1 MB Notification: Performance of Templates: time 0.01219/0.653, allocations: 5.586 MB / 0.5798 GB, free: 13.79 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches