Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008925/0.0008926, allocations: 95.25 kB / 18.01 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.0008699/0.0008699, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.7 MB / 247.5 MB, free: 11.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 63.57 MB / 483.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.002403/0.1042, allocations: 2.044 MB / 485.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1053, allocations: 0.6507 MB / 486.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1054, allocations: 4 kB / 486.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.1055, allocations: 27.77 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1057, allocations: 59.53 kB / 486.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.106, allocations: 79.86 kB / 486.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.1063, allocations: 323.3 kB / 486.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.1065, allocations: 135.9 kB / 487.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.1068, allocations: 119.6 kB / 487.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.107, allocations: 127.4 kB / 487.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.107, allocations: 16 kB / 487.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-05/0.1071, allocations: 23.98 kB / 487.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1071, allocations: 51.77 kB / 487.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1073, allocations: 165 kB / 487.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1075, allocations: 283.4 kB / 487.8 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1076, allocations: 0 / 487.8 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1076, allocations: 0 / 487.8 MB, free: 48 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1076, allocations: 4 kB / 487.8 MB, free: 44 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007787/0.1084, allocations: 0.5266 MB / 488.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1084, allocations: 16.81 kB / 488.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.1087, allocations: 48.55 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1089, allocations: 196 kB / 488.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.109, allocations: 37.2 kB / 488.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.109, allocations: 28.38 kB / 488.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.1095, allocations: 278.2 kB / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1095, allocations: 0 / 488.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1096, allocations: 19.94 kB / 489 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1096, allocations: 12 kB / 489 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.11, allocations: 222.5 kB / 489.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.1116, allocations: 1.028 MB / 490.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.1117, allocations: 30.58 kB / 490.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.1117, allocations: 28.92 kB / 490.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.1117, allocations: 0 / 490.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1118, allocations: 30.56 kB / 490.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1118, allocations: 3.938 kB / 490.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001855/0.112, allocations: 81.38 kB / 490.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.112, allocations: 51.41 kB / 490.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.1124, allocations: 323 kB / 490.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1124, allocations: 29.7 kB / 490.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1125, allocations: 230.8 kB / 491 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.1125, allocations: 15.84 kB / 491 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1126, allocations: 29.7 kB / 491.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1127, allocations: 326.8 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1128, allocations: 67.97 kB / 491.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.113, allocations: 97.67 kB / 491.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.1132, allocations: 127.1 kB / 491.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1132, allocations: 0 / 491.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003878/0.1136, allocations: 233.4 kB / 491.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1136, allocations: 10.12 kB / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1136, allocations: 0 / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1137, allocations: 4 kB / 491.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.114, allocations: 59.92 kB / 492 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.114, allocations: 4 kB / 492 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.1142, allocations: 35.59 kB / 492 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1143, allocations: 8 kB / 492 MB, free: 11.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.1144, allocations: 133.8 kB / 492.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.1144, allocations: 27.64 kB / 492.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.1145, allocations: 20.91 kB / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1145, allocations: 0 / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1145, allocations: 7.984 kB / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1145, allocations: 0 / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.1151, allocations: 0.5033 MB / 492.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1151, allocations: 0 / 492.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.1151, allocations: 4 kB / 492.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1151, allocations: 0 / 492.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1152, allocations: 4 kB / 492.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1152, allocations: 4.062 kB / 492.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.1152, allocations: 4 kB / 492.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1153, allocations: 117.5 kB / 492.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.1154, allocations: 100.8 kB / 492.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.1154, allocations: 4 kB / 492.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1155, allocations: 0 / 492.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1156, allocations: 12.02 kB / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1156, allocations: 0 / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.1158, allocations: 226 kB / 493.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1158, allocations: 0 / 493.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1161, allocations: 63.84 kB / 493.2 MB, free: 10.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.056e-05/0.1162, allocations: 91.25 kB / 493.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1164, allocations: 119.9 kB / 493.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1164, allocations: 8 kB / 493.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/0.1165, allocations: 4 kB / 493.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1167, allocations: 28.81 kB / 493.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.1174, allocations: 0.5059 MB / 494 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1177, allocations: 0.7443 MB / 494.7 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.1177, allocations: 23.38 kB / 494.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1177, allocations: 0 / 494.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of Templates: time 0.004273/0.122, allocations: 2.66 MB / 497.4 MB, free: 6.035 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches