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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009167/0.0009167, allocations: 179.2 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007488/0.0007489, allocations: 104.9 kB / 293.3 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.35/0.35, allocations: 44.14 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004019, allocations: 12 kB / 461.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3596, allocations: 61.88 MB / 0.5107 GB, free: 38.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.4993, allocations: 91.9 MB / 0.6005 GB, free: 3.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.4996, allocations: 83.94 kB / 0.6006 GB, free: 3.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.5159, allocations: 5.79 MB / 0.6062 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5159, allocations: 0 / 0.6062 GB, free: 13.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.306e-05/0.516, allocations: 11.98 kB / 0.6062 GB, free: 13.21 MB / 426.7 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.001483/0.5175, allocations: 0.6321 MB / 0.6068 GB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5175, allocations: 8.031 kB / 0.6069 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.5177, allocations: 48.38 kB / 0.6069 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.5182, allocations: 283.8 kB / 0.6072 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.5183, allocations: 29.38 kB / 0.6072 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.5184, allocations: 40.31 kB / 0.6072 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007342/0.5191, allocations: 343 kB / 0.6076 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.5192, allocations: 8.172 kB / 0.6076 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.5192, allocations: 15.94 kB / 0.6076 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5192, allocations: 15.94 kB / 0.6076 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.5199, allocations: 307.8 kB / 0.6079 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.5224, allocations: 1.351 MB / 0.6092 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.5229, allocations: 277.7 kB / 0.6095 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.5233, allocations: 173.3 kB / 0.6096 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.5233, allocations: 8.219 kB / 0.6097 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5233, allocations: 34.84 kB / 0.6097 GB, free: 9.457 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.5233, allocations: 3.938 kB / 0.6097 GB, free: 9.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008245/0.5242, allocations: 391.4 kB / 0.6101 GB, free: 9.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.5242, allocations: 59.34 kB / 0.6101 GB, free: 8.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.5245, allocations: 258.7 kB / 0.6104 GB, free: 8.738 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.5246, allocations: 29.7 kB / 0.6104 GB, free: 8.703 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5247, allocations: 207.9 kB / 0.6106 GB, free: 8.496 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.181e-05/0.5248, allocations: 118.3 kB / 0.6107 GB, free: 8.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.5248, allocations: 16 kB / 0.6107 GB, free: 8.363 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5249, allocations: 334.8 kB / 0.611 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.5252, allocations: 108.8 kB / 0.6111 GB, free: 7.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.5255, allocations: 179.4 kB / 0.6113 GB, free: 7.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.526, allocations: 293.6 kB / 0.6116 GB, free: 7.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5261, allocations: 4 kB / 0.6116 GB, free: 7.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006725/0.5267, allocations: 382.5 kB / 0.612 GB, free: 7.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5268, allocations: 9.094 kB / 0.612 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5268, allocations: 0 / 0.612 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5268, allocations: 4.219 kB / 0.612 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.5273, allocations: 115.8 kB / 0.6121 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.5273, allocations: 7.938 kB / 0.6121 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.5276, allocations: 47.52 kB / 0.6121 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.5276, allocations: 16 kB / 0.6122 GB, free: 6.832 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.5278, allocations: 141.8 kB / 0.6123 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.5279, allocations: 35.56 kB / 0.6123 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006722/0.5286, allocations: 342.1 kB / 0.6126 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5286, allocations: 0 / 0.6126 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5286, allocations: 4 kB / 0.6127 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5286, allocations: 0 / 0.6127 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.5291, allocations: 401.2 kB / 0.613 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5291, allocations: 3.938 kB / 0.613 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.5296, allocations: 87.88 kB / 0.6131 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5296, allocations: 0 / 0.6131 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5296, allocations: 8 kB / 0.6131 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5296, allocations: 0 / 0.6131 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5296, allocations: 0 / 0.6131 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008555/0.5305, allocations: 0.5281 MB / 0.6136 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5306, allocations: 140.4 kB / 0.6138 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.5307, allocations: 8 kB / 0.6138 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5309, allocations: 20.05 kB / 0.6138 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.531, allocations: 23.95 kB / 0.6138 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.531, allocations: 8 kB / 0.6138 GB, free: 5.012 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.5312, allocations: 190 kB / 0.614 GB, free: 4.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5312, allocations: 4 kB / 0.614 GB, free: 4.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.5316, allocations: 95.75 kB / 0.6141 GB, free: 4.727 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.5318, allocations: 99.72 kB / 0.6142 GB, free: 4.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.5324, allocations: 291.5 kB / 0.6145 GB, free: 4.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5324, allocations: 3.938 kB / 0.6145 GB, free: 4.328 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.5326, allocations: 140.3 kB / 0.6146 GB, free: 4.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.533, allocations: 28.5 kB / 0.6147 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.5345, allocations: 0.9544 MB / 0.6156 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.5349, allocations: 0.7835 MB / 0.6163 GB, free: 2.371 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.5351, allocations: 38.95 kB / 0.6164 GB, free: 2.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.5352, allocations: 27.42 kB / 0.6164 GB, free: 2.305 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5352, allocations: 0 / 0.6164 GB, free: 2.305 MB / 426.7 MB Notification: Performance of Templates: time 0.005923/0.5412, allocations: 2.38 MB / 0.6187 GB, free: 15.95 MB / 442.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches