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.001455/0.001455, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 72.56 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.00421/0.1078, allocations: 3.043 MB / 483 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1093, allocations: 0.7712 MB / 483.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.1096, allocations: 8 kB / 483.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1098, allocations: 39.62 kB / 483.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1101, allocations: 91.3 kB / 483.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1104, allocations: 103.8 kB / 484 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.1109, allocations: 454.6 kB / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.1112, allocations: 136.8 kB / 484.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.1115, allocations: 171.3 kB / 484.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1118, allocations: 195.1 kB / 484.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-05/0.1119, allocations: 28 kB / 485 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.112, allocations: 31.98 kB / 485 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.112, allocations: 79.62 kB / 485.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1122, allocations: 187 kB / 485.2 MB, free: 400 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1126, allocations: 351 kB / 485.6 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1126, allocations: 4 kB / 485.6 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1126, allocations: 0 / 485.6 MB, free: 44 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.1126, allocations: 0 / 485.6 MB, free: 44 kB / 350.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.001443/0.114, allocations: 0.7059 MB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1141, allocations: 13.95 kB / 486.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.1144, allocations: 52.45 kB / 486.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.1147, allocations: 283.5 kB / 486.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.1147, allocations: 33.31 kB / 486.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.1148, allocations: 36.38 kB / 486.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.1155, allocations: 346.8 kB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1155, allocations: 0 / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.1155, allocations: 16 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1155, allocations: 12 kB / 487.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.1162, allocations: 303.8 kB / 487.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1183, allocations: 1.337 MB / 488.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.1188, allocations: 282.7 kB / 489 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.1191, allocations: 161.4 kB / 489.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1192, allocations: 4.281 kB / 489.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1192, allocations: 34.84 kB / 489.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.1192, allocations: 0 / 489.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008169/0.12, allocations: 387.2 kB / 489.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1201, allocations: 59.34 kB / 489.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1203, allocations: 258.7 kB / 489.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1204, allocations: 29.7 kB / 489.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1205, allocations: 203.9 kB / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.1206, allocations: 118.3 kB / 490.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1207, allocations: 78.03 kB / 490.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1209, allocations: 334.8 kB / 490.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.1211, allocations: 108.8 kB / 490.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.1214, allocations: 175.4 kB / 490.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.1219, allocations: 284.7 kB / 491.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1219, allocations: 0 / 491.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000634/0.1226, allocations: 373.8 kB / 491.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1226, allocations: 4 kB / 491.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1226, allocations: 4 kB / 491.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1226, allocations: 8 kB / 491.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.1231, allocations: 103.9 kB / 491.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1231, allocations: 12.16 kB / 491.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.1234, allocations: 39.53 kB / 491.7 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1235, allocations: 15.98 kB / 491.7 MB, free: 9.594 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.0001626/0.1236, allocations: 153.7 kB / 491.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.1237, allocations: 27.62 kB / 491.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.1243, allocations: 329 kB / 492.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1243, allocations: 11.94 kB / 492.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1243, allocations: 0 / 492.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1244, allocations: 7.969 kB / 492.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1248, allocations: 405 kB / 492.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1248, allocations: 0 / 492.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.1252, allocations: 79.94 kB / 492.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1252, allocations: 3.938 kB / 492.7 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.1253, allocations: 12 kB / 492.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1253, allocations: 3.984 kB / 492.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1253, allocations: 0 / 492.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.1262, allocations: 0.5104 MB / 493.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1263, allocations: 128.7 kB / 493.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.1264, allocations: 8 kB / 493.4 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.1266, allocations: 11.98 kB / 493.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.1266, allocations: 20.03 kB / 493.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1267, allocations: 16 kB / 493.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1269, allocations: 190 kB / 493.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1269, allocations: 0 / 493.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1272, allocations: 91.75 kB / 493.7 MB, free: 7.516 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.0001056/0.1273, allocations: 103.2 kB / 493.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.1279, allocations: 280 kB / 494.1 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1279, allocations: 0 / 494.1 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.1282, allocations: 140.3 kB / 494.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1285, allocations: 30.67 kB / 494.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1301, allocations: 0.9333 MB / 495.2 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1304, allocations: 0.7912 MB / 496 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1306, allocations: 31.42 kB / 496 MB, free: 5.152 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1306, allocations: 0 / 496 MB, free: 5.152 MB / 366.1 MB Notification: Performance of Templates: time 0.005666/0.1362, allocations: 3.861 MB / 499.9 MB, free: 1.301 MB / 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