Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 112.9 kB / 17.09 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 198.1 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.205/0.205, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 75.88 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005009/0.113, allocations: 2.977 MB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1148, allocations: 0.7683 MB / 0.4922 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.1152, allocations: 4 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.1155, allocations: 55.38 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.116, allocations: 107 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1164, allocations: 111.8 kB / 0.4925 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006452/0.1171, allocations: 482.4 kB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.1174, allocations: 148 kB / 0.4931 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.1177, allocations: 187.3 kB / 0.4932 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.1181, allocations: 215.1 kB / 0.4934 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.844e-05/0.1182, allocations: 36 kB / 0.4935 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.1183, allocations: 40 kB / 0.4935 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.1184, allocations: 91.67 kB / 0.4936 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.1187, allocations: 207 kB / 0.4938 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.1192, allocations: 462.3 kB / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1192, allocations: 0 / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1192, allocations: 0 / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.1192, allocations: 0 / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001559/0.1208, allocations: 0.702 MB / 0.4949 GB, free: 5.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1209, allocations: 11.89 kB / 0.4949 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.121, allocations: 44.38 kB / 0.495 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.1215, allocations: 295.3 kB / 0.4953 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.1215, allocations: 29.38 kB / 0.4953 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.1216, allocations: 40.31 kB / 0.4953 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.1223, allocations: 350.8 kB / 0.4957 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1224, allocations: 0 / 0.4957 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.1224, allocations: 16 kB / 0.4957 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1224, allocations: 8 kB / 0.4957 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006065/0.123, allocations: 307.8 kB / 0.496 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.1252, allocations: 1.337 MB / 0.4973 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.1258, allocations: 284.8 kB / 0.4976 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.1261, allocations: 157.4 kB / 0.4977 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.1261, allocations: 4.281 kB / 0.4977 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1261, allocations: 34.84 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.424e-06/0.1262, allocations: 4 kB / 0.4977 GB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008933/0.1271, allocations: 378.4 kB / 0.4981 GB, free: 1.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1271, allocations: 55.41 kB / 0.4982 GB, free: 1.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1274, allocations: 266.6 kB / 0.4984 GB, free: 1.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.1275, allocations: 33.7 kB / 0.4984 GB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1276, allocations: 204 kB / 0.4986 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.1277, allocations: 118.3 kB / 0.4988 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1279, allocations: 77.97 kB / 0.4988 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.128, allocations: 338.8 kB / 0.4991 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.1282, allocations: 100.8 kB / 0.4992 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.1285, allocations: 175.5 kB / 0.4994 GB, free: 356 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.1291, allocations: 288.6 kB / 0.4997 GB, free: 44 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1291, allocations: 0 / 0.4997 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006877/0.1298, allocations: 370.2 kB / 0.5 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1298, allocations: 8 kB / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1298, allocations: 224 / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1299, allocations: 11.94 kB / 0.5001 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.1304, allocations: 107.8 kB / 0.5002 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1304, allocations: 4 kB / 0.5002 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1307, allocations: 39.67 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.1307, allocations: 12 kB / 0.5002 GB, free: 15.49 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0001775/0.1309, allocations: 145.8 kB / 0.5004 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.131, allocations: 35.56 kB / 0.5004 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006601/0.1317, allocations: 324.3 kB / 0.5007 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1317, allocations: 3.984 kB / 0.5007 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1317, allocations: 4 kB / 0.5007 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.1319, allocations: 128.6 kB / 0.5008 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.1319, allocations: 8 kB / 0.5008 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.1322, allocations: 11.98 kB / 0.5008 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.1322, allocations: 23.97 kB / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008985/0.1331, allocations: 404.3 kB / 0.5013 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009166/0.1341, allocations: 0.5844 MB / 0.5018 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002411/0.1343, allocations: 123.9 kB / 0.5019 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.1345, allocations: 198 kB / 0.5021 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Backend: time 1.102e-06/0.1345, allocations: 0 / 0.5021 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.1353, allocations: 248.9 kB / 0.5024 GB, free: 13.22 MB / 398.1 MB Notification: Performance of SimCode: time 0.001526/0.1368, allocations: 1.115 MB / 0.5035 GB, free: 12.06 MB / 398.1 MB Notification: Performance of Templates: time 0.008327/0.1451, allocations: 3.798 MB / 0.5072 GB, free: 8.277 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches