Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 194.4 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 226.5 MB / 244.1 MB, free: 6.531 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007465/0.0007465, allocations: 103.7 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2954/0.2954, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002476, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3006, allocations: 62.95 MB / 0.5165 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4106, allocations: 92.82 MB / 0.6071 GB, free: 12.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4109, allocations: 71.97 kB / 0.6072 GB, free: 12.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02535/0.4362, allocations: 9.317 MB / 0.6163 GB, free: 3.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4363, allocations: 0 / 0.6163 GB, free: 3.137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.212e-05/0.4363, allocations: 8 kB / 0.6163 GB, free: 3.129 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001538/0.4379, allocations: 0.6791 MB / 0.617 GB, free: 2.398 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4379, allocations: 12.03 kB / 0.617 GB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.4381, allocations: 48.38 kB / 0.617 GB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.4387, allocations: 321.3 kB / 0.6173 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.4388, allocations: 37.38 kB / 0.6174 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.4389, allocations: 40.38 kB / 0.6174 GB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.4401, allocations: 479.5 kB / 0.6178 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.4401, allocations: 192 / 0.6178 GB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.4402, allocations: 23.94 kB / 0.6179 GB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.4402, allocations: 12 kB / 0.6179 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000986/0.4412, allocations: 327.8 kB / 0.6182 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.4445, allocations: 1.707 MB / 0.6199 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006757/0.4452, allocations: 256.9 kB / 0.6201 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.4457, allocations: 145.6 kB / 0.6202 GB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.4457, allocations: 4 kB / 0.6203 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4458, allocations: 38.5 kB / 0.6203 GB, free: 14.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.544e-06/0.4458, allocations: 0 / 0.6203 GB, free: 14.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.00379/0.4496, allocations: 1.261 MB / 0.6215 GB, free: 13.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.4497, allocations: 81.11 kB / 0.6216 GB, free: 13.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.4501, allocations: 254.6 kB / 0.6218 GB, free: 13.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.4501, allocations: 37.7 kB / 0.6219 GB, free: 13.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4503, allocations: 255.4 kB / 0.6221 GB, free: 12.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.4504, allocations: 122.3 kB / 0.6222 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.4505, allocations: 8 kB / 0.6222 GB, free: 12.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4506, allocations: 339.2 kB / 0.6226 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.451, allocations: 104.8 kB / 0.6227 GB, free: 12.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.4515, allocations: 211.7 kB / 0.6229 GB, free: 11.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.4524, allocations: 347.6 kB / 0.6232 GB, free: 11.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4524, allocations: 4 kB / 0.6232 GB, free: 11.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001011/0.4534, allocations: 410.1 kB / 0.6236 GB, free: 11.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.4534, allocations: 8 kB / 0.6236 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4534, allocations: 4 kB / 0.6236 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.4536, allocations: 32.83 kB / 0.6236 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.4542, allocations: 119.8 kB / 0.6238 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.4555, allocations: 1.34 MB / 0.6251 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.4559, allocations: 24.05 kB / 0.6251 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4559, allocations: 20 kB / 0.6251 GB, free: 9.469 MB / 442.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 () * Number of clocked 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.0002693/0.4562, allocations: 157.8 kB / 0.6253 GB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.4563, allocations: 35.55 kB / 0.6253 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/0.4564, allocations: 34.19 kB / 0.6253 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4564, allocations: 7.984 kB / 0.6253 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4564, allocations: 0 / 0.6253 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4564, allocations: 0 / 0.6253 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.4576, allocations: 0.733 MB / 0.626 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.4576, allocations: 3.984 kB / 0.626 GB, free: 8.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.4581, allocations: 99.94 kB / 0.6261 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.612e-05/0.4582, allocations: 24.84 kB / 0.6262 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.4582, allocations: 12 kB / 0.6262 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009946/0.4592, allocations: 1.331 MB / 0.6275 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4592, allocations: 0 / 0.6275 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4603, allocations: 0.6126 MB / 0.6281 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.4605, allocations: 132.7 kB / 0.6282 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.4605, allocations: 7.984 kB / 0.6282 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.4608, allocations: 23.98 kB / 0.6282 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.4609, allocations: 19.97 kB / 0.6283 GB, free: 5.992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.4609, allocations: 12 kB / 0.6283 GB, free: 5.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.4611, allocations: 182 kB / 0.6284 GB, free: 5.805 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4611, allocations: 4 kB / 0.6284 GB, free: 5.801 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004985/0.4616, allocations: 100 kB / 0.6285 GB, free: 5.703 MB / 442.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 () * Number of clocked 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.0001636/0.4618, allocations: 101.2 kB / 0.6286 GB, free: 5.598 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.4627, allocations: 414.3 kB / 0.629 GB, free: 5.184 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4627, allocations: 0 / 0.629 GB, free: 5.184 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.4631, allocations: 255.2 kB / 0.6293 GB, free: 4.922 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.4637, allocations: 48.48 kB / 0.6293 GB, free: 4.875 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.4655, allocations: 1.153 MB / 0.6304 GB, free: 3.672 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4659, allocations: 0.8152 MB / 0.6312 GB, free: 2.828 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.466, allocations: 35.44 kB / 0.6313 GB, free: 2.793 MB / 442.7 MB Notification: Performance of SimCode: time 6.52e-07/0.466, allocations: 3.938 kB / 0.6313 GB, free: 2.789 MB / 442.7 MB Notification: Performance of Templates: time 0.008525/0.4746, allocations: 5.9 MB / 0.637 GB, free: 12.9 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches