Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007552/0.0007553, allocations: 93.64 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002556, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 63.56 MB / 483.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003057/0.1142, allocations: 2.677 MB / 486.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1157, allocations: 0.7557 MB / 487.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.1159, allocations: 11.94 kB / 487.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1161, allocations: 39.69 kB / 487.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1164, allocations: 91.3 kB / 487.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1167, allocations: 103.8 kB / 487.4 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.1172, allocations: 442.7 kB / 487.8 MB, free: 12 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.1175, allocations: 140.8 kB / 488 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.1178, allocations: 159.3 kB / 488.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.1181, allocations: 183.1 kB / 488.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.1182, allocations: 20 kB / 488.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.728e-05/0.1183, allocations: 27.94 kB / 488.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.1183, allocations: 63.73 kB / 488.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.1185, allocations: 200.7 kB / 488.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1188, allocations: 343 kB / 489 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1188, allocations: 0 / 489 MB, free: 14.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1188, allocations: 0 / 489 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.1189, allocations: 0 / 489 MB, free: 14.89 MB / 366.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.001232/0.1201, allocations: 0.6535 MB / 489.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1202, allocations: 9.953 kB / 489.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.1204, allocations: 60.36 kB / 489.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1208, allocations: 275.6 kB / 489.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1208, allocations: 33.38 kB / 490 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.1209, allocations: 40.31 kB / 490 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.1215, allocations: 350.8 kB / 490.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1215, allocations: 0 / 490.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.1216, allocations: 16 kB / 490.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1216, allocations: 12 kB / 490.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006487/0.1223, allocations: 319.8 kB / 490.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.1245, allocations: 1.345 MB / 492 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.125, allocations: 290.7 kB / 492.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1253, allocations: 161.4 kB / 492.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1254, allocations: 4.281 kB / 492.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1254, allocations: 38.84 kB / 492.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.1254, allocations: 4 kB / 492.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008721/0.1263, allocations: 387.3 kB / 492.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.1263, allocations: 59.34 kB / 493 MB, free: 10.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1266, allocations: 270.6 kB / 493.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1267, allocations: 33.64 kB / 493.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1268, allocations: 204 kB / 493.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.127, allocations: 126.1 kB / 493.6 MB, free: 10 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.127, allocations: 37.7 kB / 493.6 MB, free: 9.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1272, allocations: 338.8 kB / 494 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.1275, allocations: 108.8 kB / 494.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1278, allocations: 175.5 kB / 494.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.1283, allocations: 304.6 kB / 494.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1284, allocations: 0 / 494.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006907/0.129, allocations: 378.5 kB / 494.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1291, allocations: 4 kB / 494.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1291, allocations: 7.938 kB / 494.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1291, allocations: 4 kB / 494.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.1296, allocations: 103.9 kB / 495 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1296, allocations: 4 kB / 495 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1299, allocations: 51.53 kB / 495.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.13, allocations: 11.98 kB / 495.1 MB, free: 8.438 MB / 366.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.0001699/0.1301, allocations: 153.7 kB / 495.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.1302, allocations: 27.62 kB / 495.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.1309, allocations: 344 kB / 495.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1309, allocations: 4 kB / 495.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1309, allocations: 0 / 495.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1309, allocations: 3.984 kB / 495.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.1314, allocations: 401.2 kB / 496 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1314, allocations: 0 / 496 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.1318, allocations: 87.88 kB / 496.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1318, allocations: 3.984 kB / 496.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1319, allocations: 8 kB / 496.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1319, allocations: 7.938 kB / 496.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1319, allocations: 0 / 496.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.1328, allocations: 0.5299 MB / 496.6 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1329, allocations: 136.6 kB / 496.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1329, allocations: 4 kB / 496.8 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1332, allocations: 15.98 kB / 496.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.1332, allocations: 19.97 kB / 496.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1333, allocations: 8 kB / 496.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1334, allocations: 194 kB / 497 MB, free: 6.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1335, allocations: 0 / 497 MB, free: 6.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003511/0.1338, allocations: 95.75 kB / 497.1 MB, free: 6.324 MB / 366.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.0001098/0.1339, allocations: 99.19 kB / 497.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005868/0.1345, allocations: 291.9 kB / 497.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1345, allocations: 0 / 497.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.1348, allocations: 148.3 kB / 497.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.1352, allocations: 32.44 kB / 497.7 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1366, allocations: 0.9959 MB / 498.6 MB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1369, allocations: 0.7835 MB / 499.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.137, allocations: 27.44 kB / 499.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.137, allocations: 0 / 499.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of Templates: time 0.006105/0.1431, allocations: 3.822 MB / 0.4915 GB, free: 84 kB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches