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.001128/0.001128, allocations: 108.4 kB / 17.09 MB, free: 6 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.001271/0.001271, allocations: 191.3 kB / 18.02 MB, free: 5.086 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.597/1.597, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2313/0.2313, allocations: 43.53 MB / 314.8 MB, free: 476 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.001455/0.001455, allocations: 75.89 kB / 442.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1245, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005494/0.1301, allocations: 2.973 MB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.1325, allocations: 0.7605 MB / 0.4922 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.133, allocations: 8 kB / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.1334, allocations: 59.38 kB / 0.4922 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.1339, allocations: 107 kB / 0.4923 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1344, allocations: 111.8 kB / 0.4924 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006976/0.1351, allocations: 482.4 kB / 0.4929 GB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.1354, allocations: 164 kB / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.1358, allocations: 175.4 kB / 0.4932 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.1362, allocations: 211.1 kB / 0.4934 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.746e-05/0.1363, allocations: 36 kB / 0.4935 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.932e-05/0.1364, allocations: 40 kB / 0.4935 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1365, allocations: 95.66 kB / 0.4936 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.1368, allocations: 202.9 kB / 0.4938 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.1375, allocations: 470 kB / 0.4942 GB, free: 5.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1375, allocations: 0 / 0.4942 GB, free: 5.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1375, allocations: 4 kB / 0.4942 GB, free: 5.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.599e-05/0.1375, allocations: 0 / 0.4942 GB, free: 5.945 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.001691/0.1392, allocations: 0.7132 MB / 0.4949 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.1393, allocations: 11.89 kB / 0.495 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1394, allocations: 44.66 kB / 0.495 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.14, allocations: 291.5 kB / 0.4953 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.14, allocations: 29.38 kB / 0.4953 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/0.1401, allocations: 36.38 kB / 0.4953 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.1409, allocations: 346.8 kB / 0.4957 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1409, allocations: 3.938 kB / 0.4957 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.141, allocations: 16 kB / 0.4957 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.141, allocations: 8 kB / 0.4957 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.1419, allocations: 311.8 kB / 0.496 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.1445, allocations: 1.333 MB / 0.4973 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.1451, allocations: 288.8 kB / 0.4976 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.1454, allocations: 157.4 kB / 0.4977 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.1454, allocations: 8.281 kB / 0.4977 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1455, allocations: 38.84 kB / 0.4978 GB, free: 2.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.295e-06/0.1455, allocations: 0 / 0.4978 GB, free: 2.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00087/0.1463, allocations: 378.5 kB / 0.4981 GB, free: 1.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1464, allocations: 55.41 kB / 0.4982 GB, free: 1.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1467, allocations: 262.7 kB / 0.4984 GB, free: 1.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1467, allocations: 37.7 kB / 0.4985 GB, free: 1.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1469, allocations: 208.3 kB / 0.4987 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.147, allocations: 126.9 kB / 0.4988 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1471, allocations: 66.12 kB / 0.4988 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1473, allocations: 342.8 kB / 0.4992 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.1475, allocations: 100.8 kB / 0.4993 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1478, allocations: 179.5 kB / 0.4994 GB, free: 352 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.1484, allocations: 288.6 kB / 0.4997 GB, free: 40 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1484, allocations: 0 / 0.4997 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007319/0.1491, allocations: 382.3 kB / 0.5001 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.1492, allocations: 8 kB / 0.5001 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1492, allocations: 0 / 0.5001 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1492, allocations: 4 kB / 0.5001 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.1497, allocations: 107.8 kB / 0.5002 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1497, allocations: 4 kB / 0.5002 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.15, allocations: 39.67 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.1501, allocations: 19.98 kB / 0.5003 GB, free: 15.48 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.0001664/0.1503, allocations: 149.8 kB / 0.5004 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1503, allocations: 39.75 kB / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.151, allocations: 320.3 kB / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1511, allocations: 3.984 kB / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1511, allocations: 8 kB / 0.5008 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.1512, allocations: 120.8 kB / 0.5009 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.1513, allocations: 12 kB / 0.5009 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1515, allocations: 11.98 kB / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.1516, allocations: 23.97 kB / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009004/0.1525, allocations: 400.4 kB / 0.5013 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000897/0.1534, allocations: 0.5808 MB / 0.5019 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002443/0.1537, allocations: 123.8 kB / 0.502 GB, free: 13.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1539, allocations: 190 kB / 0.5022 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Backend: time 6.22e-07/0.1539, allocations: 0 / 0.5022 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00073/0.1546, allocations: 264.8 kB / 0.5024 GB, free: 13.2 MB / 398.1 MB Notification: Performance of SimCode: time 0.001421/0.1561, allocations: 1.121 MB / 0.5035 GB, free: 12.04 MB / 398.1 MB Notification: Performance of Templates: time 0.008304/0.1644, allocations: 3.679 MB / 0.5071 GB, free: 8.371 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