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.001493/0.001493, allocations: 107.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 207.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 79.86 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3191, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003948/0.3231, allocations: 3.004 MB / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3244, allocations: 0.7901 MB / 0.5354 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.3245, allocations: 9.312 kB / 0.5354 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.3247, allocations: 62.16 kB / 0.5354 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.3249, allocations: 96.98 kB / 0.5355 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.3252, allocations: 123.4 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.3257, allocations: 465.6 kB / 0.5361 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.3259, allocations: 153.6 kB / 0.5362 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.3262, allocations: 188.7 kB / 0.5364 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3265, allocations: 208 kB / 0.5366 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.3265, allocations: 39.06 kB / 0.5366 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3266, allocations: 46.16 kB / 0.5367 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3267, allocations: 89.64 kB / 0.5368 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3269, allocations: 201.6 kB / 0.537 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.3273, allocations: 477.8 kB / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3274, allocations: 1.188 kB / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3274, allocations: 0 / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.3274, allocations: 0 / 0.5374 GB, free: 9.355 MB / 398.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.001338/0.3287, allocations: 0.7009 MB / 0.5381 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3288, allocations: 10.47 kB / 0.5381 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.329, allocations: 54.48 kB / 0.5382 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.3294, allocations: 297.9 kB / 0.5385 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.3294, allocations: 28.62 kB / 0.5385 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.3295, allocations: 41 kB / 0.5385 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.3301, allocations: 347.5 kB / 0.5389 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3301, allocations: 1.031 kB / 0.5389 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.3302, allocations: 15.41 kB / 0.5389 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3302, allocations: 9.406 kB / 0.5389 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.3308, allocations: 303.7 kB / 0.5392 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.3328, allocations: 1.331 MB / 0.5405 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.3333, allocations: 281.1 kB / 0.5407 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.3336, allocations: 163.4 kB / 0.5409 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.3337, allocations: 3.094 kB / 0.5409 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3337, allocations: 36.59 kB / 0.5409 GB, free: 6.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.3337, allocations: 5.844 kB / 0.5409 GB, free: 6.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008214/0.3345, allocations: 372.3 kB / 0.5413 GB, free: 6.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.3346, allocations: 58.12 kB / 0.5413 GB, free: 6.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3348, allocations: 264.7 kB / 0.5416 GB, free: 6.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3349, allocations: 30.83 kB / 0.5416 GB, free: 6.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.335, allocations: 210 kB / 0.5418 GB, free: 6.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-05/0.3351, allocations: 120.1 kB / 0.5419 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3352, allocations: 71.56 kB / 0.542 GB, free: 5.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3354, allocations: 341.7 kB / 0.5423 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.3357, allocations: 110.6 kB / 0.5424 GB, free: 5.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.336, allocations: 173.8 kB / 0.5426 GB, free: 5.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000594/0.3366, allocations: 289.7 kB / 0.5429 GB, free: 5.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3366, allocations: 0.875 kB / 0.5429 GB, free: 5.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007404/0.3374, allocations: 362 kB / 0.5432 GB, free: 4.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3374, allocations: 6.594 kB / 0.5432 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3374, allocations: 6.406 kB / 0.5432 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.3375, allocations: 7.219 kB / 0.5432 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.338, allocations: 107.6 kB / 0.5433 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.338, allocations: 3.812 kB / 0.5434 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.3383, allocations: 44.14 kB / 0.5434 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.3383, allocations: 13.09 kB / 0.5434 GB, free: 4.906 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.0001566/0.3385, allocations: 148.4 kB / 0.5435 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.3386, allocations: 37.41 kB / 0.5436 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.3392, allocations: 331.3 kB / 0.5439 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3392, allocations: 3.984 kB / 0.5439 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3392, allocations: 1.219 kB / 0.5439 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3394, allocations: 123.4 kB / 0.544 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.3394, allocations: 6.375 kB / 0.544 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3397, allocations: 12.58 kB / 0.544 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.3397, allocations: 22.59 kB / 0.5441 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009181/0.3407, allocations: 406.5 kB / 0.5445 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008752/0.3415, allocations: 0.5863 MB / 0.545 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002378/0.3418, allocations: 123 kB / 0.5451 GB, free: 3.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.342, allocations: 193.8 kB / 0.5453 GB, free: 3.504 MB / 398.1 MB Notification: Performance of Backend: time 5.91e-07/0.342, allocations: 0 / 0.5453 GB, free: 3.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006923/0.3427, allocations: 254.5 kB / 0.5456 GB, free: 3.25 MB / 398.1 MB Notification: Performance of SimCode: time 0.001199/0.3439, allocations: 1.115 MB / 0.5467 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Templates: time 0.00817/0.3521, allocations: 3.86 MB / 0.5504 GB, free: 14.26 MB / 414.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