Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 107.7 kB / 18.44 MB, free: 4.645 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.001056/0.001056, allocations: 184.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 44.17 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 55.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3128, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.003577/0.3165, allocations: 2.996 MB / 0.5225 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.3177, allocations: 0.7312 MB / 0.5232 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.3179, allocations: 10.88 kB / 0.5232 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.3181, allocations: 58.95 kB / 0.5233 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.3183, allocations: 96.69 kB / 0.5234 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3186, allocations: 124.1 kB / 0.5235 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.3191, allocations: 472.8 kB / 0.5239 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.3194, allocations: 151 kB / 0.5241 GB, free: 480 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.3196, allocations: 181.6 kB / 0.5242 GB, free: 396 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.3199, allocations: 209.1 kB / 0.5244 GB, free: 292 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.32, allocations: 39.72 kB / 0.5245 GB, free: 292 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.32, allocations: 43.03 kB / 0.5245 GB, free: 288 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.3201, allocations: 89 kB / 0.5246 GB, free: 228 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.3203, allocations: 204.9 kB / 0.5248 GB, free: 100 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.3208, allocations: 466.4 kB / 0.5252 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3208, allocations: 0 / 0.5252 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3208, allocations: 0 / 0.5252 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.3208, allocations: 3.938 kB / 0.5252 GB, free: 15.92 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.001355/0.3222, allocations: 0.7094 MB / 0.5259 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3223, allocations: 8.969 kB / 0.5259 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.3224, allocations: 41.06 kB / 0.526 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.3228, allocations: 291 kB / 0.5263 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.3229, allocations: 29.12 kB / 0.5263 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.3229, allocations: 37.72 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/0.3236, allocations: 354.5 kB / 0.5267 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.3236, allocations: 0 / 0.5267 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.3237, allocations: 16.12 kB / 0.5267 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.3237, allocations: 9.625 kB / 0.5267 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.3243, allocations: 305.4 kB / 0.527 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.3264, allocations: 1.322 MB / 0.5283 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.3269, allocations: 288.8 kB / 0.5285 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.3272, allocations: 158.3 kB / 0.5287 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.3272, allocations: 8.344 kB / 0.5287 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.3273, allocations: 36.22 kB / 0.5287 GB, free: 13.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.3273, allocations: 0 / 0.5287 GB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007922/0.3281, allocations: 380.8 kB / 0.5291 GB, free: 13.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3281, allocations: 59.28 kB / 0.5292 GB, free: 13.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3284, allocations: 259.9 kB / 0.5294 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3284, allocations: 34.92 kB / 0.5294 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3285, allocations: 207.2 kB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.3286, allocations: 119.2 kB / 0.5298 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3287, allocations: 67.53 kB / 0.5298 GB, free: 12.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3289, allocations: 341.2 kB / 0.5301 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.3291, allocations: 107.3 kB / 0.5302 GB, free: 12.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.3294, allocations: 170.3 kB / 0.5304 GB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.3299, allocations: 293.8 kB / 0.5307 GB, free: 11.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3299, allocations: 1 kB / 0.5307 GB, free: 11.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006472/0.3306, allocations: 369.8 kB / 0.531 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3306, allocations: 5.438 kB / 0.531 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3306, allocations: 2.656 kB / 0.531 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3306, allocations: 4.344 kB / 0.5311 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.3311, allocations: 106.8 kB / 0.5312 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3311, allocations: 3.188 kB / 0.5312 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.3314, allocations: 40.28 kB / 0.5312 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.3315, allocations: 22.47 kB / 0.5312 GB, free: 11.65 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.0001594/0.3316, allocations: 155.4 kB / 0.5314 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.3317, allocations: 29.66 kB / 0.5314 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006784/0.3324, allocations: 330.1 kB / 0.5317 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3324, allocations: 3.625 kB / 0.5317 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3324, allocations: 1.344 kB / 0.5317 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3324, allocations: 3.984 kB / 0.5317 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004901/0.3329, allocations: 393.7 kB / 0.5321 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3329, allocations: 4.969 kB / 0.5321 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.3333, allocations: 85.38 kB / 0.5322 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3333, allocations: 1.719 kB / 0.5322 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3334, allocations: 5.156 kB / 0.5322 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.3334, allocations: 5.438 kB / 0.5322 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3334, allocations: 0 / 0.5322 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.3342, allocations: 0.5156 MB / 0.5327 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3344, allocations: 132.1 kB / 0.5328 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.3344, allocations: 6.688 kB / 0.5328 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3347, allocations: 17.86 kB / 0.5328 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.3347, allocations: 20.31 kB / 0.5329 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3347, allocations: 9.922 kB / 0.5329 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3349, allocations: 195.4 kB / 0.5331 GB, free: 10.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3349, allocations: 0 / 0.5331 GB, free: 10.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.3353, allocations: 94.44 kB / 0.5331 GB, free: 10.25 MB / 398.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.0001168/0.3354, allocations: 105.7 kB / 0.5332 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005432/0.336, allocations: 283.2 kB / 0.5335 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.336, allocations: 0 / 0.5335 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.3362, allocations: 138.7 kB / 0.5337 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3365, allocations: 34.02 kB / 0.5337 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3379, allocations: 0.7682 MB / 0.5344 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3382, allocations: 0.7872 MB / 0.5352 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3384, allocations: 31.92 kB / 0.5352 GB, free: 8.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3384, allocations: 0 / 0.5352 GB, free: 8.66 MB / 398.1 MB Notification: Performance of Templates: time 0.006397/0.3448, allocations: 3.911 MB / 0.5391 GB, free: 6.582 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches