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.001121/0.001121, allocations: 105.2 kB / 17.03 MB, free: 5.703 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.001143/0.001143, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.401/1.401, allocations: 205.1 MB / 223.8 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.2088/0.2088, allocations: 43.52 MB / 314.7 MB, free: 484 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.001514/0.001514, allocations: 71.03 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1015, allocations: 57.78 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003668/0.1052, allocations: 2.973 MB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1065, allocations: 0.772 MB / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.1068, allocations: 4 kB / 445.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.107, allocations: 63.38 kB / 445.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.1073, allocations: 99.05 kB / 445.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1077, allocations: 111.8 kB / 446 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005183/0.1082, allocations: 474.5 kB / 446.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1085, allocations: 159.9 kB / 446.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.1088, allocations: 175.5 kB / 446.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.1091, allocations: 215 kB / 447 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.1092, allocations: 40 kB / 447 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.255e-05/0.1092, allocations: 39.94 kB / 447.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.1093, allocations: 99.72 kB / 447.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.1095, allocations: 202.9 kB / 447.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.1098, allocations: 470.3 kB / 447.8 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1098, allocations: 0 / 447.8 MB, free: 264 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1098, allocations: 0 / 447.8 MB, free: 264 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.1099, allocations: 0 / 447.8 MB, free: 264 kB / 318.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.001431/0.1113, allocations: 0.6982 MB / 448.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1114, allocations: 11.89 kB / 448.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.1115, allocations: 48.38 kB / 448.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.1119, allocations: 283.3 kB / 448.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.112, allocations: 29.38 kB / 448.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.112, allocations: 36.38 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.1127, allocations: 346.8 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1127, allocations: 11.94 kB / 449.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.1127, allocations: 12 kB / 449.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1128, allocations: 12 kB / 449.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.1133, allocations: 299.8 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.1154, allocations: 1.333 MB / 450.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.1159, allocations: 282.2 kB / 451.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.1162, allocations: 161.4 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.1163, allocations: 4.266 kB / 451.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1163, allocations: 38.84 kB / 451.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.1163, allocations: 0 / 451.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008145/0.1171, allocations: 382.3 kB / 451.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1172, allocations: 55.41 kB / 451.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.1175, allocations: 274.5 kB / 452.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1175, allocations: 29.7 kB / 452.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1177, allocations: 200 kB / 452.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.978e-05/0.1178, allocations: 118.3 kB / 452.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1179, allocations: 70.03 kB / 452.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.118, allocations: 342.8 kB / 452.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.1183, allocations: 108.8 kB / 452.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.1185, allocations: 167.5 kB / 453.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.1191, allocations: 292.6 kB / 453.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1191, allocations: 4 kB / 453.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006759/0.1198, allocations: 374.1 kB / 453.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1198, allocations: 4 kB / 453.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1198, allocations: 4 kB / 453.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1198, allocations: 4 kB / 453.8 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.1203, allocations: 104.1 kB / 453.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1204, allocations: 8 kB / 453.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.1207, allocations: 47.52 kB / 453.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.1207, allocations: 15.94 kB / 453.9 MB, free: 9.832 MB / 334.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.0001635/0.1209, allocations: 153.7 kB / 454.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.1209, allocations: 27.7 kB / 454.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.1216, allocations: 328.4 kB / 454.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1216, allocations: 4 kB / 454.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1216, allocations: 0 / 454.4 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1216, allocations: 3.984 kB / 454.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1221, allocations: 405 kB / 454.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1221, allocations: 0 / 454.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.1226, allocations: 79.89 kB / 454.9 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1226, allocations: 7.984 kB / 454.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.1226, allocations: 4 kB / 454.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1226, allocations: 4 kB / 454.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1226, allocations: 4 kB / 454.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.1235, allocations: 0.5144 MB / 455.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.1236, allocations: 128.7 kB / 455.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.1237, allocations: 4 kB / 455.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.1239, allocations: 15.98 kB / 455.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.124, allocations: 24.03 kB / 455.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.124, allocations: 8 kB / 455.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.1242, allocations: 194 kB / 455.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1242, allocations: 0 / 455.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.1246, allocations: 87.84 kB / 455.9 MB, free: 7.762 MB / 334.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.0001104/0.1247, allocations: 99.19 kB / 456 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.1253, allocations: 279.6 kB / 456.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1253, allocations: 0 / 456.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.1256, allocations: 135.8 kB / 456.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1259, allocations: 33.45 kB / 456.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1273, allocations: 0.7522 MB / 457.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1277, allocations: 0.7874 MB / 458 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000167/0.1278, allocations: 42.88 kB / 458 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.853e-05/0.1279, allocations: 27.38 kB / 458 MB, free: 5.559 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1279, allocations: 0 / 458 MB, free: 5.559 MB / 334.1 MB Notification: Performance of Templates: time 0.006184/0.1341, allocations: 2.649 MB / 460.7 MB, free: 2.926 MB / 334.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 -s gbode -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