Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008689/0.000869, allocations: 99.39 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1873/0.1873, allocations: 45.16 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.401e-05/1.403e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.5043, allocations: 92.21 MB / 0.5944 GB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.5045, allocations: 66.45 kB / 0.5945 GB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02262/0.5272, allocations: 9.236 MB / 0.6035 GB, free: 2.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5272, allocations: 0 / 0.6035 GB, free: 2.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.5272, allocations: 8 kB / 0.6035 GB, free: 2.68 MB / 394.7 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.0009174/0.5282, allocations: 0.6548 MB / 0.6041 GB, free: 2.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5282, allocations: 20.02 kB / 0.6042 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.5283, allocations: 55.39 kB / 0.6042 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.5287, allocations: 302.7 kB / 0.6045 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.5287, allocations: 16 kB / 0.6045 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.5288, allocations: 24 kB / 0.6045 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004028/0.5292, allocations: 254.8 kB / 0.6048 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.5297, allocations: 368.8 kB / 0.6051 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5297, allocations: 3.938 kB / 0.6051 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.5298, allocations: 4 kB / 0.6051 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.5298, allocations: 12 kB / 0.6052 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.5318, allocations: 1.624 MB / 0.6067 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.5321, allocations: 198.2 kB / 0.6069 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.5323, allocations: 111.6 kB / 0.607 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.5323, allocations: 7.5 kB / 0.607 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5324, allocations: 50.48 kB / 0.6071 GB, free: 15.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.273e-06/0.5324, allocations: 0 / 0.6071 GB, free: 15.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001613/0.534, allocations: 1.014 MB / 0.6081 GB, free: 14.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.534, allocations: 81.11 kB / 0.6082 GB, free: 14.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5342, allocations: 209.3 kB / 0.6084 GB, free: 14.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5343, allocations: 29.7 kB / 0.6084 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5344, allocations: 261.9 kB / 0.6086 GB, free: 13.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.5345, allocations: 119.2 kB / 0.6087 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5345, allocations: 0 / 0.6087 GB, free: 13.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5346, allocations: 339 kB / 0.6091 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.5347, allocations: 79.25 kB / 0.6091 GB, free: 13.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.5349, allocations: 185.3 kB / 0.6093 GB, free: 13.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.5351, allocations: 100.2 kB / 0.6094 GB, free: 13.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5351, allocations: 4 kB / 0.6094 GB, free: 13.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004813/0.5356, allocations: 335 kB / 0.6097 GB, free: 12.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5356, allocations: 8 kB / 0.6098 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.5356, allocations: 4.344 kB / 0.6098 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.5357, allocations: 32.72 kB / 0.6098 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.5362, allocations: 123.5 kB / 0.6099 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.5371, allocations: 1.288 MB / 0.6112 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.5373, allocations: 8 kB / 0.6112 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.5373, allocations: 19.8 kB / 0.6112 GB, free: 11.33 MB / 410.7 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.0001002/0.5374, allocations: 120.9 kB / 0.6113 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.5375, allocations: 23.72 kB / 0.6113 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.5376, allocations: 33.52 kB / 0.6114 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5376, allocations: 4 kB / 0.6114 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5376, allocations: 0 / 0.6114 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5376, allocations: 144 / 0.6114 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.5384, allocations: 0.6228 MB / 0.612 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5384, allocations: 3.984 kB / 0.612 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.5388, allocations: 98.25 kB / 0.6121 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.901e-05/0.5389, allocations: 25.16 kB / 0.6121 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5389, allocations: 4.734 kB / 0.6121 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007766/0.5397, allocations: 1.274 MB / 0.6133 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5397, allocations: 0 / 0.6133 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.5403, allocations: 0.5686 MB / 0.6139 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.5404, allocations: 118.2 kB / 0.614 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.5405, allocations: 7.188 kB / 0.614 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5407, allocations: 15.98 kB / 0.614 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.5408, allocations: 26.97 kB / 0.6141 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.5408, allocations: 15.94 kB / 0.6141 GB, free: 8.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.541, allocations: 163.9 kB / 0.6142 GB, free: 8.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.541, allocations: 0 / 0.6142 GB, free: 8.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003843/0.5414, allocations: 87.94 kB / 0.6143 GB, free: 8.254 MB / 410.7 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.000124/0.5415, allocations: 103.2 kB / 0.6144 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.542, allocations: 338.5 kB / 0.6147 GB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.542, allocations: 0 / 0.6147 GB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.5422, allocations: 221 kB / 0.6149 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.5426, allocations: 39.28 kB / 0.615 GB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5437, allocations: 0.6413 MB / 0.6156 GB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.5441, allocations: 0.8269 MB / 0.6164 GB, free: 6.164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.5443, allocations: 31.28 kB / 0.6164 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.5444, allocations: 23.44 kB / 0.6165 GB, free: 6.113 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5444, allocations: 0 / 0.6165 GB, free: 6.113 MB / 410.7 MB Notification: Performance of Templates: time 0.005581/0.5499, allocations: 2.554 MB / 0.619 GB, free: 3.59 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches