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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001161/0.001161, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1871/0.1871, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002557, allocations: 11.98 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 63.56 MB / 483.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003578/0.1133, allocations: 3.16 MB / 486.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1148, allocations: 0.814 MB / 487.7 MB, free: 168 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.1152, allocations: 11.94 kB / 487.7 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1154, allocations: 55.59 kB / 487.8 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.1157, allocations: 111.2 kB / 487.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1161, allocations: 115.8 kB / 488 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.1166, allocations: 0.4904 MB / 488.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.117, allocations: 206.7 kB / 488.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.1172, allocations: 171.3 kB / 488.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.1175, allocations: 203 kB / 489 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.1175, allocations: 24 kB / 489.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.1176, allocations: 24 kB / 489.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.1177, allocations: 79.69 kB / 489.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.1179, allocations: 248.4 kB / 489.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.1183, allocations: 419 kB / 489.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1183, allocations: 0 / 489.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1183, allocations: 4 kB / 489.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1183, allocations: 0 / 489.8 MB, free: 14.02 MB / 366.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.001214/0.1195, allocations: 0.698 MB / 490.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1196, allocations: 8.875 kB / 490.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1197, allocations: 52.38 kB / 490.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.1201, allocations: 309.5 kB / 490.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.1202, allocations: 37.38 kB / 490.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.1202, allocations: 44.38 kB / 491 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.1211, allocations: 475.3 kB / 491.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1211, allocations: 3.938 kB / 491.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.1212, allocations: 16 kB / 491.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1212, allocations: 16 kB / 491.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/0.1219, allocations: 331.8 kB / 491.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.1244, allocations: 1.705 MB / 493.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005642/0.125, allocations: 253 kB / 493.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.1253, allocations: 137.7 kB / 493.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1254, allocations: 0 / 493.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1254, allocations: 38.56 kB / 493.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.203e-06/0.1254, allocations: 4 kB / 493.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002968/0.1284, allocations: 1.367 MB / 495.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1284, allocations: 81.11 kB / 495.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1287, allocations: 266.5 kB / 495.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1288, allocations: 33.7 kB / 495.7 MB, free: 7.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1289, allocations: 259.4 kB / 495.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.129, allocations: 118.3 kB / 496 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.1291, allocations: 37.7 kB / 496.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1292, allocations: 342.8 kB / 496.4 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.1295, allocations: 112.8 kB / 496.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.1299, allocations: 220.2 kB / 496.7 MB, free: 6.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.1305, allocations: 353.1 kB / 497.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1305, allocations: 0 / 497.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008479/0.1314, allocations: 422 kB / 497.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1314, allocations: 16.05 kB / 497.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.1314, allocations: 4 kB / 497.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.1316, allocations: 32.84 kB / 497.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.132, allocations: 123.8 kB / 497.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.1331, allocations: 1.34 MB / 499 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.1334, allocations: 20 kB / 499 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.1334, allocations: 16 kB / 499 MB, free: 4.164 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.1336, allocations: 165.8 kB / 499.2 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.1337, allocations: 31.56 kB / 499.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.1338, allocations: 42.17 kB / 499.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1338, allocations: 4 kB / 499.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1338, allocations: 0 / 499.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1338, allocations: 4 kB / 499.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.135, allocations: 0.7193 MB / 500 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.135, allocations: 0 / 500 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.1354, allocations: 107.9 kB / 0.4884 GB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-05/0.1355, allocations: 24.84 kB / 0.4884 GB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1356, allocations: 8 kB / 0.4884 GB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000885/0.1365, allocations: 1.331 MB / 0.4897 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1365, allocations: 0 / 0.4897 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.1375, allocations: 0.6167 MB / 0.4903 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1376, allocations: 124.8 kB / 0.4904 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1377, allocations: 12 kB / 0.4904 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1379, allocations: 19.98 kB / 0.4905 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.138, allocations: 23.97 kB / 0.4905 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.138, allocations: 8 kB / 0.4905 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1382, allocations: 186 kB / 0.4907 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1382, allocations: 0 / 0.4907 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.1387, allocations: 96 kB / 0.4908 GB, free: 412 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001235/0.1388, allocations: 107.1 kB / 0.4909 GB, free: 292 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008212/0.1396, allocations: 424.4 kB / 0.4913 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1396, allocations: 0 / 0.4913 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.14, allocations: 253 kB / 0.4915 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.1406, allocations: 45.11 kB / 0.4915 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1423, allocations: 1.212 MB / 0.4927 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1427, allocations: 0.8113 MB / 0.4935 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.1428, allocations: 31.44 kB / 0.4936 GB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1428, allocations: 0 / 0.4936 GB, free: 13.43 MB / 382.1 MB Notification: Performance of Templates: time 0.008308/0.1511, allocations: 5.879 MB / 0.4993 GB, free: 7.559 MB / 382.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches