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.001281/0.001281, allocations: 110.8 kB / 17.08 MB, free: 6.016 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.001341/0.001342, allocations: 191.1 kB / 18.01 MB, free: 5.098 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.411/1.411, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2292/0.2292, allocations: 43.52 MB / 314.8 MB, free: 468 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.001399/0.001399, allocations: 64.22 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1134, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003951/0.1174, allocations: 2.979 MB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1187, allocations: 0.7682 MB / 0.4922 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1189, allocations: 4 kB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1191, allocations: 63.39 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1193, allocations: 99.05 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1196, allocations: 115.8 kB / 0.4924 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.12, allocations: 474.5 kB / 0.4929 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.1203, allocations: 156 kB / 0.493 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1205, allocations: 187.3 kB / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1208, allocations: 211.1 kB / 0.4934 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.1208, allocations: 36 kB / 0.4935 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.002e-05/0.1209, allocations: 40 kB / 0.4935 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.121, allocations: 91.67 kB / 0.4936 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.1211, allocations: 199 kB / 0.4938 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.1216, allocations: 470.3 kB / 0.4942 GB, free: 5.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1216, allocations: 7.938 kB / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1216, allocations: 0 / 0.4942 GB, free: 5.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1216, 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.001314/0.1229, allocations: 0.698 MB / 0.4949 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.123, allocations: 15.88 kB / 0.4949 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.1231, allocations: 48.38 kB / 0.495 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1235, allocations: 287.4 kB / 0.4953 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1235, allocations: 29.38 kB / 0.4953 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.1236, allocations: 40.31 kB / 0.4953 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.1242, allocations: 342.8 kB / 0.4956 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1242, allocations: 0 / 0.4956 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.1242, allocations: 16 kB / 0.4957 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1243, allocations: 12 kB / 0.4957 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.1249, allocations: 311.8 kB / 0.496 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.1269, allocations: 1.329 MB / 0.4973 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.1273, allocations: 280.8 kB / 0.4975 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.1276, allocations: 165.4 kB / 0.4977 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1277, allocations: 288 / 0.4977 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1277, allocations: 38.84 kB / 0.4977 GB, free: 2.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.1277, allocations: 0 / 0.4977 GB, free: 2.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008027/0.1285, allocations: 374.4 kB / 0.4981 GB, free: 1.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.1286, allocations: 59.34 kB / 0.4981 GB, free: 1.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1288, allocations: 274.6 kB / 0.4984 GB, free: 1.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1288, allocations: 29.7 kB / 0.4984 GB, free: 1.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.129, allocations: 200 kB / 0.4986 GB, free: 1.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.1291, allocations: 122.3 kB / 0.4987 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1292, allocations: 70.03 kB / 0.4988 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1293, allocations: 338.8 kB / 0.4991 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.1296, allocations: 108.8 kB / 0.4992 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.1298, allocations: 171.5 kB / 0.4994 GB, free: 368 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.1303, allocations: 292.6 kB / 0.4997 GB, free: 52 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1303, allocations: 0 / 0.4997 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006291/0.131, allocations: 378.1 kB / 0.5 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.131, allocations: 4 kB / 0.5 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.131, allocations: 4 kB / 0.5 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.131, allocations: 11.94 kB / 0.5001 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.1315, allocations: 99.86 kB / 0.5002 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1315, allocations: 4 kB / 0.5002 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.1318, allocations: 35.89 kB / 0.5002 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.1318, allocations: 20 kB / 0.5002 GB, free: 15.5 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.0001411/0.132, allocations: 153.7 kB / 0.5004 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.132, allocations: 27.62 kB / 0.5004 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.1326, allocations: 320.4 kB / 0.5007 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1327, allocations: 4 kB / 0.5007 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1327, allocations: 3.984 kB / 0.5007 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1327, allocations: 4 kB / 0.5007 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.1331, allocations: 405 kB / 0.5011 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1331, allocations: 3.984 kB / 0.5011 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.1335, allocations: 83.88 kB / 0.5012 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1335, allocations: 4 kB / 0.5012 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1335, allocations: 11.92 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1336, allocations: 4 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1336, allocations: 0 / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/0.1344, allocations: 0.5183 MB / 0.5017 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1345, allocations: 128.7 kB / 0.5018 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.1345, allocations: 4 kB / 0.5018 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1348, allocations: 15.98 kB / 0.5018 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.1348, allocations: 19.97 kB / 0.5019 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1349, allocations: 8 kB / 0.5019 GB, free: 13.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.135, allocations: 198 kB / 0.5021 GB, free: 13.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1351, allocations: 0 / 0.5021 GB, free: 13.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.1354, allocations: 87.84 kB / 0.5021 GB, free: 13.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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 0.0001169/0.1355, allocations: 99.19 kB / 0.5022 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.1361, allocations: 279.5 kB / 0.5025 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1361, allocations: 448 / 0.5025 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.1363, allocations: 139.8 kB / 0.5026 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1367, allocations: 39.08 kB / 0.5027 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.138, allocations: 0.7726 MB / 0.5034 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1383, allocations: 0.7874 MB / 0.5042 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1385, allocations: 27.44 kB / 0.5042 GB, free: 11.23 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1385, allocations: 0 / 0.5042 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Templates: time 0.005542/0.144, allocations: 3.915 MB / 0.508 GB, free: 7.316 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