Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008644/0.0008645, allocations: 95.09 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.001057/0.001057, allocations: 207 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.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 9.512 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1885/0.1885, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002352/0.0002352, allocations: 11.98 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1055, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002602/0.1082, allocations: 2.171 MB / 485.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1094, allocations: 0.8141 MB / 486.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1096, allocations: 7.938 kB / 486.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.1098, allocations: 47.64 kB / 486.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.11, allocations: 99.42 kB / 486.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1103, allocations: 79.91 kB / 487 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.1106, allocations: 338.1 kB / 487.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1108, allocations: 85.39 kB / 487.4 MB, free: 492 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.111, allocations: 123.5 kB / 487.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1112, allocations: 143.3 kB / 487.6 MB, free: 224 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.1112, allocations: 16 kB / 487.6 MB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1113, allocations: 16 kB / 487.7 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.1114, allocations: 55.75 kB / 487.7 MB, free: 136 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1115, allocations: 168.8 kB / 487.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1118, allocations: 267.2 kB / 488.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1118, allocations: 0 / 488.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1118, allocations: 0 / 488.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1118, allocations: 0 / 488.1 MB, free: 15.7 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009542/0.1128, allocations: 0.5963 MB / 488.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1128, allocations: 8.875 kB / 488.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.113, allocations: 36.56 kB / 488.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1133, allocations: 270.6 kB / 489 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1133, allocations: 16.94 kB / 489.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.1133, allocations: 24.38 kB / 489.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.1138, allocations: 261.2 kB / 489.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1139, allocations: 0 / 489.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.1139, allocations: 8 kB / 489.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1139, allocations: 8 kB / 489.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.1144, allocations: 246.1 kB / 489.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.1158, allocations: 0.8754 MB / 490.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.1164, allocations: 306.7 kB / 490.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.1167, allocations: 156.8 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.1167, allocations: 7.984 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1168, allocations: 38.5 kB / 491 MB, free: 12.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.383e-06/0.1168, allocations: 0 / 491 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.00468/0.1214, allocations: 1.285 MB / 492.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1215, allocations: 59.39 kB / 492.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1217, allocations: 233 kB / 492.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1218, allocations: 29.7 kB / 492.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1219, allocations: 169.1 kB / 492.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.122, allocations: 102.5 kB / 492.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.122, allocations: 37.64 kB / 492.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1221, allocations: 334.8 kB / 493.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1224, allocations: 103.8 kB / 493.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.1226, allocations: 134.7 kB / 493.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.1231, allocations: 243.3 kB / 493.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1231, allocations: 0 / 493.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001791/0.1249, allocations: 0.5605 MB / 494.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.125, allocations: 4 kB / 494.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.125, allocations: 4 kB / 494.2 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.1266, allocations: 319.1 kB / 494.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1268, allocations: 23.98 kB / 494.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.1336, allocations: 6.345 MB / 0.4892 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1339, allocations: 27.73 kB / 0.4892 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1339, allocations: 12 kB / 0.4892 GB, free: 1.977 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1341, allocations: 145.8 kB / 0.4894 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1342, allocations: 23.72 kB / 0.4894 GB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.136, allocations: 0.5619 MB / 0.4899 GB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.136, allocations: 4 kB / 0.4899 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.136, allocations: 4.125 kB / 0.4899 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.136, allocations: 7.922 kB / 0.4899 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.1364, allocations: 361.2 kB / 0.4903 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1364, allocations: 4 kB / 0.4903 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.1365, allocations: 27.86 kB / 0.4903 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.138, allocations: 311.2 kB / 0.4906 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1381, allocations: 11.98 kB / 0.4906 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006689/0.1448, allocations: 6.381 MB / 0.4969 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1448, allocations: 0 / 0.4969 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.1466, allocations: 0.6362 MB / 0.4975 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.1467, allocations: 104.7 kB / 0.4976 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1467, allocations: 11.98 kB / 0.4976 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.1469, allocations: 12 kB / 0.4976 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1471, allocations: 31.89 kB / 0.4976 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1471, allocations: 12 kB / 0.4976 GB, free: 8.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1473, allocations: 170 kB / 0.4978 GB, free: 8.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1473, allocations: 4 kB / 0.4978 GB, free: 8.508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.1478, allocations: 119.8 kB / 0.4979 GB, free: 8.391 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.1479, allocations: 103.2 kB / 0.498 GB, free: 8.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.1489, allocations: 0.7524 MB / 0.4988 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1489, allocations: 0 / 0.4988 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.1501, allocations: 0.7289 MB / 0.4995 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1504, allocations: 30.72 kB / 0.4995 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009842/0.1514, allocations: 0.7163 MB / 0.5002 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1518, allocations: 0.7755 MB / 0.501 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1518, allocations: 23.42 kB / 0.501 GB, free: 5.094 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1518, allocations: 0 / 0.501 GB, free: 5.094 MB / 382.1 MB Notification: Performance of Templates: time 0.1954/0.3473, allocations: 8.283 MB / 0.5091 GB, free: 39.34 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches