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.001228/0.001228, allocations: 101.6 kB / 15.98 MB, free: 6.352 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.001232/0.001233, allocations: 193.5 kB / 16.91 MB, free: 6.184 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.685/1.685, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3164/0.3164, allocations: 43.49 MB / 313.6 MB, free: 8.496 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.001359/0.001359, allocations: 67.91 kB / 382.2 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 57.79 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003658/0.1121, allocations: 3.014 MB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1133, allocations: 0.7607 MB / 443.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1134, allocations: 4 kB / 443.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.1136, allocations: 43.62 kB / 443.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.1138, allocations: 87.3 kB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.114, allocations: 103.9 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.1144, allocations: 478.4 kB / 444.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1147, allocations: 156 kB / 444.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1149, allocations: 179.4 kB / 444.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1151, allocations: 211.1 kB / 445 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.12e-05/0.1151, allocations: 40 kB / 445.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.1152, allocations: 40 kB / 445.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.1153, allocations: 91.61 kB / 445.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1154, allocations: 203 kB / 445.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1158, allocations: 454.3 kB / 445.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.1158, allocations: 3.984 kB / 445.8 MB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1158, allocations: 4 kB / 445.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1158, allocations: 0 / 445.8 MB, free: 8.879 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.001242/0.1171, allocations: 0.7092 MB / 446.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1171, allocations: 15.89 kB / 446.6 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1172, allocations: 44.38 kB / 446.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.1175, allocations: 287.3 kB / 446.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1175, allocations: 29.38 kB / 446.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.1176, allocations: 36.38 kB / 446.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.1182, allocations: 350.8 kB / 447.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1182, allocations: 0 / 447.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.1182, allocations: 16 kB / 447.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1182, allocations: 8 kB / 447.3 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.1188, allocations: 307.8 kB / 447.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.1207, allocations: 1.333 MB / 448.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.1212, allocations: 280.9 kB / 449.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.1214, allocations: 157.4 kB / 449.4 MB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1215, allocations: 8.25 kB / 449.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1215, allocations: 38.78 kB / 449.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.242e-06/0.1215, allocations: 0 / 449.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007536/0.1223, allocations: 382.4 kB / 449.8 MB, free: 4.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.1223, allocations: 59.34 kB / 449.8 MB, free: 4.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1225, allocations: 262.7 kB / 450.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1226, allocations: 29.7 kB / 450.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1227, allocations: 203.9 kB / 450.3 MB, free: 4.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.938e-05/0.1228, allocations: 122.3 kB / 450.5 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1229, allocations: 74.03 kB / 450.5 MB, free: 3.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.123, allocations: 338.8 kB / 450.9 MB, free: 3.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.1232, allocations: 104.8 kB / 451 MB, free: 3.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.1235, allocations: 171.4 kB / 451.1 MB, free: 3.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.124, allocations: 300.7 kB / 451.4 MB, free: 2.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.124, allocations: 0 / 451.4 MB, free: 2.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000598/0.1246, allocations: 369.8 kB / 451.8 MB, free: 2.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1246, allocations: 4 kB / 451.8 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1246, allocations: 4 kB / 451.8 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1246, allocations: 8.156 kB / 451.8 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.1251, allocations: 103.8 kB / 451.9 MB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1251, allocations: 7.984 kB / 451.9 MB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.1254, allocations: 39.62 kB / 451.9 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.1254, allocations: 15.98 kB / 452 MB, free: 2.434 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.1255, allocations: 153.7 kB / 452.1 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1256, allocations: 27.62 kB / 452.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.1262, allocations: 332.3 kB / 452.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1263, allocations: 0 / 452.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1263, allocations: 4 kB / 452.5 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1263, allocations: 3.984 kB / 452.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.1267, allocations: 401.1 kB / 452.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1267, allocations: 0 / 452.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.1271, allocations: 83.88 kB / 452.9 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1271, allocations: 4 kB / 452.9 MB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.1271, allocations: 8 kB / 453 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1271, allocations: 4 kB / 453 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1271, allocations: 0 / 453 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/0.1279, allocations: 0.5106 MB / 453.5 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.1281, allocations: 136.6 kB / 453.6 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.1281, allocations: 4 kB / 453.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1283, allocations: 16.06 kB / 453.6 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.1284, allocations: 15.97 kB / 453.6 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1284, allocations: 15.98 kB / 453.7 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1286, allocations: 186 kB / 453.8 MB, free: 472 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 0 / 453.8 MB, free: 472 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1289, allocations: 91.84 kB / 453.9 MB, free: 380 kB / 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 (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.0001008/0.129, allocations: 107.2 kB / 454 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1704/0.2995, allocations: 295.3 kB / 454.3 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.2995, allocations: 0 / 454.3 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.2999, allocations: 136.4 kB / 454.4 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.3004, allocations: 32.39 kB / 454.5 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3017, allocations: 0.9016 MB / 455.4 MB, free: 48.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.3019, allocations: 0.7862 MB / 456.2 MB, free: 48.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.3021, allocations: 36.94 kB / 456.2 MB, free: 48.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.3022, allocations: 30.11 kB / 456.2 MB, free: 48.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3022, allocations: 4 kB / 456.2 MB, free: 48.14 MB / 382.1 MB Notification: Performance of Templates: time 0.004808/0.307, allocations: 2.584 MB / 458.8 MB, free: 48.02 MB / 382.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/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