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.001486/0.001486, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001831, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 74.02 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1039, allocations: 62.44 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003784/0.1077, allocations: 2.541 MB / 482.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1091, allocations: 0.8179 MB / 483.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1093, allocations: 4 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1096, allocations: 55.62 kB / 483.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1099, allocations: 91.42 kB / 483.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1102, allocations: 83.92 kB / 483.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.1105, allocations: 330.7 kB / 483.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1107, allocations: 81.39 kB / 483.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.1109, allocations: 131.5 kB / 484.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1111, allocations: 155.3 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.1112, allocations: 20 kB / 484.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.1113, allocations: 28 kB / 484.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1113, allocations: 51.77 kB / 484.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1115, allocations: 147.1 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1117, allocations: 283.3 kB / 484.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1118, allocations: 3.938 kB / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1118, allocations: 0 / 484.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1118, allocations: 0 / 484.7 MB, free: 0.9141 MB / 350.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.001104/0.1129, allocations: 0.6274 MB / 485.4 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1129, allocations: 8.875 kB / 485.4 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1131, allocations: 48.47 kB / 485.4 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1134, allocations: 270.6 kB / 485.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1134, allocations: 16.94 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.1135, allocations: 24.38 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.114, allocations: 253.2 kB / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.114, allocations: 0 / 486 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.114, allocations: 8 kB / 486 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1141, allocations: 8 kB / 486 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.1146, allocations: 230.1 kB / 486.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.116, allocations: 0.8754 MB / 487.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.1165, allocations: 310 kB / 487.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.1168, allocations: 140.8 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.1168, allocations: 15.98 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1168, allocations: 34.56 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.1169, allocations: 0 / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.004679/0.1215, allocations: 1.274 MB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1216, allocations: 63.38 kB / 488.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1219, allocations: 225 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1219, allocations: 33.7 kB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.122, allocations: 161.1 kB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.1221, allocations: 102.5 kB / 489.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.1222, allocations: 57.59 kB / 489.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1224, allocations: 338.8 kB / 489.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.1226, allocations: 95.81 kB / 489.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.1228, allocations: 130.6 kB / 490 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.1233, allocations: 231.3 kB / 490.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1233, allocations: 0 / 490.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001841/0.1252, allocations: 0.5489 MB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1252, allocations: 8 kB / 490.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1252, allocations: 0 / 490.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.127, allocations: 323.1 kB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1272, allocations: 23.98 kB / 491.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/0.1344, allocations: 6.344 MB / 497.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1347, allocations: 27.73 kB / 497.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1347, allocations: 8 kB / 497.5 MB, free: 3.223 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.0001775/0.1349, allocations: 141.8 kB / 497.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.135, allocations: 23.72 kB / 497.7 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.1367, allocations: 0.5502 MB / 498.2 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1368, allocations: 0 / 498.2 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1368, allocations: 7.938 kB / 498.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1368, allocations: 4 kB / 498.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.1372, allocations: 365.2 kB / 498.6 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1372, allocations: 3.938 kB / 498.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.1373, allocations: 23.91 kB / 498.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.1389, allocations: 315.3 kB / 498.9 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.1389, allocations: 4 kB / 498.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007054/0.146, allocations: 6.393 MB / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.146, allocations: 0 / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.1479, allocations: 0.6283 MB / 0.4941 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.148, allocations: 104.7 kB / 0.4942 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.148, allocations: 4 kB / 0.4942 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.1482, allocations: 11.98 kB / 0.4942 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1483, allocations: 35.89 kB / 0.4943 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1484, allocations: 8 kB / 0.4943 GB, free: 9.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1485, allocations: 173.9 kB / 0.4944 GB, free: 9.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1485, allocations: 4 kB / 0.4944 GB, free: 9.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000508/0.149, allocations: 123.8 kB / 0.4946 GB, free: 9.656 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.0001122/0.1492, allocations: 103.2 kB / 0.4946 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1502, allocations: 0.7406 MB / 0.4954 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1502, allocations: 0 / 0.4954 GB, free: 8.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.1515, allocations: 0.7211 MB / 0.4961 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1518, allocations: 32.5 kB / 0.4961 GB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.1529, allocations: 0.6834 MB / 0.4968 GB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1533, allocations: 0.7833 MB / 0.4975 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.1533, allocations: 11.44 kB / 0.4976 GB, free: 6.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1533, allocations: 0 / 0.4976 GB, free: 6.41 MB / 382.1 MB Notification: Performance of Templates: time 0.1828/0.3362, allocations: 8.328 MB / 0.5057 GB, free: 40.96 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