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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.5 MB / 245.4 MB, free: 8.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008462/0.0008463, allocations: 106.6 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3732/0.3732, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3722, allocations: 62.96 MB / 0.5184 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5014, allocations: 92.82 MB / 0.6091 GB, free: 12.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5017, allocations: 79.94 kB / 0.6091 GB, free: 12.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.5179, allocations: 5.862 MB / 0.6149 GB, free: 6.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.518, allocations: 0 / 0.6149 GB, free: 6.488 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.032e-05/0.518, allocations: 8 kB / 0.6149 GB, free: 6.48 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.001167/0.5192, allocations: 0.6282 MB / 0.6155 GB, free: 5.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5193, allocations: 8.031 kB / 0.6155 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.5196, allocations: 60.36 kB / 0.6156 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.52, allocations: 296.3 kB / 0.6158 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.52, allocations: 25.38 kB / 0.6159 GB, free: 5.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.115e-05/0.5201, allocations: 40.38 kB / 0.6159 GB, free: 5.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.5207, allocations: 339 kB / 0.6162 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.5207, allocations: 4.172 kB / 0.6162 GB, free: 5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.5207, allocations: 23.94 kB / 0.6162 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5208, allocations: 12 kB / 0.6163 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.5214, allocations: 307.8 kB / 0.6166 GB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.5236, allocations: 1.357 MB / 0.6179 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.5241, allocations: 280.6 kB / 0.6181 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.5244, allocations: 169.4 kB / 0.6183 GB, free: 2.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.5245, allocations: 8.219 kB / 0.6183 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.5245, allocations: 34.84 kB / 0.6183 GB, free: 2.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.5245, allocations: 0 / 0.6183 GB, free: 2.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008191/0.5253, allocations: 395.3 kB / 0.6187 GB, free: 2.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.5254, allocations: 59.34 kB / 0.6188 GB, free: 2.242 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.5256, allocations: 262.7 kB / 0.619 GB, free: 1.977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.5257, allocations: 29.7 kB / 0.6191 GB, free: 1.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.5258, allocations: 211.9 kB / 0.6193 GB, free: 1.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.18e-05/0.5259, allocations: 110.3 kB / 0.6194 GB, free: 1.621 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.5259, allocations: 8 kB / 0.6194 GB, free: 1.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5261, allocations: 350.7 kB / 0.6197 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.5263, allocations: 108.8 kB / 0.6198 GB, free: 1.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.5266, allocations: 179.4 kB / 0.62 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.5271, allocations: 301.6 kB / 0.6203 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5271, allocations: 0 / 0.6203 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006568/0.5278, allocations: 378.5 kB / 0.6206 GB, free: 264 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5278, allocations: 4 kB / 0.6206 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5278, allocations: 4 kB / 0.6206 GB, free: 256 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5279, allocations: 4 kB / 0.6206 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.5283, allocations: 112 kB / 0.6208 GB, free: 140 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5283, allocations: 4 kB / 0.6208 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.5286, allocations: 47.58 kB / 0.6208 GB, free: 88 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.5286, allocations: 16 kB / 0.6208 GB, free: 72 kB / 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.0001738/0.5288, allocations: 142.7 kB / 0.621 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.5289, allocations: 35.56 kB / 0.621 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.5295, allocations: 351.5 kB / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5296, allocations: 4 kB / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5296, allocations: 0 / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5296, allocations: 0 / 0.6213 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.53, allocations: 397.2 kB / 0.6217 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5301, allocations: 7.938 kB / 0.6217 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.5305, allocations: 87.88 kB / 0.6218 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.5305, allocations: 0 / 0.6218 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.5305, allocations: 8 kB / 0.6218 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5305, allocations: 4 kB / 0.6218 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5305, allocations: 0 / 0.6218 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.5314, allocations: 0.5308 MB / 0.6223 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.5315, allocations: 132.6 kB / 0.6225 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.5316, allocations: 11.94 kB / 0.6225 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.5318, allocations: 16.06 kB / 0.6225 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.5318, allocations: 31.83 kB / 0.6225 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.5319, allocations: 8 kB / 0.6225 GB, free: 14.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.5321, allocations: 190 kB / 0.6227 GB, free: 14.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5321, allocations: 0 / 0.6227 GB, free: 14.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.5324, allocations: 95.69 kB / 0.6228 GB, free: 13.95 MB / 442.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.0001358/0.5326, allocations: 111.2 kB / 0.6229 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005368/0.5331, allocations: 287.9 kB / 0.6232 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5331, allocations: 0 / 0.6232 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.5334, allocations: 148.2 kB / 0.6233 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.5337, allocations: 24.5 kB / 0.6233 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.5351, allocations: 0.9363 MB / 0.6242 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.5355, allocations: 0.7835 MB / 0.625 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.5357, allocations: 38.95 kB / 0.6251 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.5358, allocations: 27.42 kB / 0.6251 GB, free: 11.54 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5358, allocations: 0 / 0.6251 GB, free: 11.54 MB / 442.7 MB Notification: Performance of Templates: time 0.005729/0.5415, allocations: 2.379 MB / 0.6274 GB, free: 9.191 MB / 442.7 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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches