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.001054/0.001054, allocations: 201.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.5 MB / 245.4 MB, free: 6.418 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008411/0.0008411, allocations: 100.7 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5227/0.5227, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004713, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.422, allocations: 62.95 MB / 0.5184 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.5503, allocations: 92.83 MB / 0.6091 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.5506, allocations: 75.95 kB / 0.6091 GB, free: 12.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02546/0.5761, allocations: 9.307 MB / 0.6182 GB, free: 3.055 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5761, allocations: 0 / 0.6182 GB, free: 3.055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.5762, allocations: 12 kB / 0.6182 GB, free: 3.043 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.001339/0.5775, allocations: 0.6869 MB / 0.6189 GB, free: 2.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.5776, allocations: 8.031 kB / 0.6189 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.5777, allocations: 52.38 kB / 0.619 GB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.5782, allocations: 317.3 kB / 0.6193 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.5783, allocations: 33.38 kB / 0.6193 GB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.5784, allocations: 44.38 kB / 0.6193 GB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008392/0.5792, allocations: 475.5 kB / 0.6198 GB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.5793, allocations: 192 / 0.6198 GB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.5793, allocations: 19.94 kB / 0.6198 GB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5793, allocations: 12 kB / 0.6198 GB, free: 1.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.5801, allocations: 335.8 kB / 0.6201 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.5827, allocations: 1.712 MB / 0.6218 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.5832, allocations: 244.9 kB / 0.6221 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.5835, allocations: 141.7 kB / 0.6222 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.5835, allocations: 7.938 kB / 0.6222 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5836, allocations: 42.55 kB / 0.6222 GB, free: 14.69 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.5836, allocations: 0 / 0.6222 GB, free: 14.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.002746/0.5863, allocations: 1.257 MB / 0.6235 GB, free: 13.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.5864, allocations: 81.11 kB / 0.6235 GB, free: 13.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.5867, allocations: 262.6 kB / 0.6238 GB, free: 12.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5867, allocations: 29.7 kB / 0.6238 GB, free: 12.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.5868, allocations: 263.4 kB / 0.6241 GB, free: 12.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.5869, allocations: 118.3 kB / 0.6242 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.587, allocations: 8 kB / 0.6242 GB, free: 12.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5871, allocations: 339.2 kB / 0.6245 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.5874, allocations: 112.8 kB / 0.6246 GB, free: 12.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.5877, allocations: 207.7 kB / 0.6248 GB, free: 11.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.5883, allocations: 348.5 kB / 0.6252 GB, free: 11.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5883, allocations: 0 / 0.6252 GB, free: 11.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007959/0.5891, allocations: 414 kB / 0.6255 GB, free: 11.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5892, allocations: 4 kB / 0.6255 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5892, allocations: 8 kB / 0.6256 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.5893, allocations: 28.84 kB / 0.6256 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.5898, allocations: 127.9 kB / 0.6257 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.5908, allocations: 1.336 MB / 0.627 GB, free: 9.422 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.5911, allocations: 28.05 kB / 0.627 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.5911, allocations: 12 kB / 0.627 GB, free: 9.383 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.0001991/0.5913, allocations: 163.5 kB / 0.6272 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.5914, allocations: 35.56 kB / 0.6272 GB, free: 9.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.5915, allocations: 34.17 kB / 0.6273 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5915, allocations: 4 kB / 0.6273 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5915, allocations: 4 kB / 0.6273 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5915, allocations: 7.984 kB / 0.6273 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.5926, allocations: 0.7254 MB / 0.628 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5926, allocations: 0 / 0.628 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.593, allocations: 95.88 kB / 0.6281 GB, free: 8.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.139e-05/0.5931, allocations: 24.84 kB / 0.6281 GB, free: 8.219 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.5932, allocations: 15.92 kB / 0.6281 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009465/0.5941, allocations: 1.335 MB / 0.6294 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5941, allocations: 0 / 0.6294 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009561/0.5951, allocations: 0.6184 MB / 0.63 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.5952, allocations: 128.7 kB / 0.6302 GB, free: 5.949 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.5953, allocations: 8 kB / 0.6302 GB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.5955, allocations: 19.98 kB / 0.6302 GB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.5956, allocations: 27.95 kB / 0.6302 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.5956, allocations: 12 kB / 0.6302 GB, free: 5.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.5958, allocations: 182 kB / 0.6304 GB, free: 5.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5958, allocations: 0 / 0.6304 GB, free: 5.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.5962, allocations: 96 kB / 0.6305 GB, free: 5.613 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.0001223/0.5964, allocations: 107.2 kB / 0.6306 GB, free: 5.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.5973, allocations: 409.7 kB / 0.631 GB, free: 5.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5973, allocations: 0 / 0.631 GB, free: 5.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.5977, allocations: 262.4 kB / 0.6312 GB, free: 4.824 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.5983, allocations: 45.69 kB / 0.6313 GB, free: 4.781 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.6003, allocations: 1.124 MB / 0.6324 GB, free: 3.613 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.6008, allocations: 0.8152 MB / 0.6332 GB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.601, allocations: 34.95 kB / 0.6332 GB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.6011, allocations: 35.36 kB / 0.6332 GB, free: 2.703 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6011, allocations: 0 / 0.6332 GB, free: 2.703 MB / 442.7 MB Notification: Performance of Templates: time 0.00704/0.6081, allocations: 2.883 MB / 0.636 GB, free: 15.84 MB / 458.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/jenkins1/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