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.001027/0.001027, allocations: 96.59 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 173.3 kB / 16.56 MB, free: 6.375 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.632/1.632, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.394/0.394, allocations: 43.55 MB / 314.5 MB, free: 9.008 MB / 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.0004946/0.0004947, allocations: 16 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1275, allocations: 58.86 MB / 442.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003196/0.1307, allocations: 2.39 MB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1324, allocations: 0.7651 MB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.1328, allocations: 4 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1329, allocations: 35.69 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.1334, allocations: 123.6 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1338, allocations: 83.83 kB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007713/0.1345, allocations: 315.6 kB / 446.5 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.1349, allocations: 122.6 kB / 446.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003772/0.1353, allocations: 151.5 kB / 446.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.1357, allocations: 179.1 kB / 446.9 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.296e-05/0.1357, allocations: 20 kB / 446.9 MB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-05/0.1358, allocations: 20 kB / 446.9 MB, free: 9.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.1359, allocations: 71.73 kB / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.136, allocations: 85.52 kB / 447.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.1364, allocations: 339 kB / 447.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1364, allocations: 0 / 447.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1365, allocations: 0 / 447.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.1365, allocations: 0 / 447.4 MB, free: 8.613 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.001633/0.1381, allocations: 0.6472 MB / 448.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1382, allocations: 8.031 kB / 448.1 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.1384, allocations: 39.53 kB / 448.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.1389, allocations: 278.3 kB / 448.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.139, allocations: 29 kB / 448.4 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.1391, allocations: 43.95 kB / 448.5 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.1398, allocations: 334.5 kB / 448.8 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.1398, allocations: 8 kB / 448.8 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.1399, allocations: 12 kB / 448.8 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1399, allocations: 12 kB / 448.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.1406, allocations: 311.8 kB / 449.1 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.1431, allocations: 1.349 MB / 450.5 MB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.1436, allocations: 273 kB / 450.7 MB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1437, allocations: 8.219 kB / 450.7 MB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.1437, allocations: 46.8 kB / 450.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.1437, allocations: 0 / 450.8 MB, free: 5.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.000929/0.1447, allocations: 387 kB / 451.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1447, allocations: 59.41 kB / 451.2 MB, free: 4.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.145, allocations: 262.7 kB / 451.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.1451, allocations: 33.7 kB / 451.5 MB, free: 4.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1452, allocations: 199.9 kB / 451.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1454, allocations: 122.3 kB / 451.8 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.1454, allocations: 4 kB / 451.8 MB, free: 3.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1455, allocations: 342.8 kB / 452.2 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1458, allocations: 108.8 kB / 452.3 MB, free: 3.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.1461, allocations: 175.4 kB / 452.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.1464, allocations: 137.5 kB / 452.6 MB, free: 3.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1464, allocations: 0 / 452.6 MB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006435/0.147, allocations: 374.9 kB / 452.9 MB, free: 2.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.1471, allocations: 7.953 kB / 452.9 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1471, allocations: 4 kB / 453 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1471, allocations: 4 kB / 453 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.1476, allocations: 104 kB / 453.1 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1476, allocations: 11.88 kB / 453.1 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.1479, allocations: 51.52 kB / 453.1 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.1479, allocations: 15.98 kB / 453.1 MB, free: 2.609 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.1481, allocations: 149.8 kB / 453.3 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.1481, allocations: 27.62 kB / 453.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.1488, allocations: 336.3 kB / 453.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1488, allocations: 4 kB / 453.6 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1488, allocations: 0 / 453.6 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1489, allocations: 0 / 453.6 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.1493, allocations: 401.2 kB / 454 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.1494, allocations: 11.92 kB / 454 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.1498, allocations: 83.94 kB / 454.1 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1498, allocations: 4 kB / 454.1 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1498, allocations: 4 kB / 454.1 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.1498, allocations: 7.953 kB / 454.1 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1498, allocations: 7.922 kB / 454.2 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.1507, allocations: 0.526 MB / 454.7 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1508, allocations: 132.6 kB / 454.8 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.1509, allocations: 7.984 kB / 454.8 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1511, allocations: 16.06 kB / 454.8 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1512, allocations: 27.92 kB / 454.9 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1512, allocations: 7.984 kB / 454.9 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1514, allocations: 186 kB / 455 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1514, allocations: 0 / 455 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003487/0.1518, allocations: 95.75 kB / 455.1 MB, free: 0.5039 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.1519, allocations: 103.2 kB / 455.2 MB, free: 404 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005645/0.1525, allocations: 287.8 kB / 455.5 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1525, allocations: 0 / 455.5 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1841/0.3366, allocations: 142.1 kB / 455.7 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.337, allocations: 24.23 kB / 455.7 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3384, allocations: 0.9362 MB / 456.6 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.3386, allocations: 0.7916 MB / 457.4 MB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.3388, allocations: 41.72 kB / 457.5 MB, free: 45.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.3389, allocations: 24.22 kB / 457.5 MB, free: 45.6 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3389, allocations: 0 / 457.5 MB, free: 45.6 MB / 382.1 MB Notification: Performance of Templates: time 0.004507/0.3434, allocations: 2.348 MB / 459.8 MB, free: 45.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches