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.001092/0.001092, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008929/0.0008928, allocations: 102.4 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.317/0.317, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002344/0.0002344, allocations: 8 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2944, allocations: 63.25 MB / 0.5192 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4213, allocations: 92.96 MB / 0.61 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4216, allocations: 79.95 kB / 0.61 GB, free: 10.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.4374, allocations: 5.861 MB / 0.6158 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4375, allocations: 0 / 0.6158 GB, free: 4.512 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.997e-05/0.4375, allocations: 8.188 kB / 0.6158 GB, free: 4.504 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.001059/0.4386, allocations: 0.6397 MB / 0.6164 GB, free: 3.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4386, allocations: 8.031 kB / 0.6164 GB, free: 3.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.4389, allocations: 63.72 kB / 0.6165 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.4392, allocations: 278.4 kB / 0.6167 GB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.4392, allocations: 29 kB / 0.6168 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.4393, allocations: 40 kB / 0.6168 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.4399, allocations: 338.5 kB / 0.6171 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4399, allocations: 3.906 kB / 0.6171 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.44, allocations: 19.94 kB / 0.6171 GB, free: 3.004 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.44, allocations: 8 kB / 0.6172 GB, free: 2.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.4406, allocations: 319.8 kB / 0.6175 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.4427, allocations: 1.351 MB / 0.6188 GB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.4432, allocations: 284.8 kB / 0.619 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.4432, allocations: 8.281 kB / 0.6191 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4433, allocations: 30.84 kB / 0.6191 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.4433, allocations: 0 / 0.6191 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007986/0.4441, allocations: 388 kB / 0.6195 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4441, allocations: 55.41 kB / 0.6195 GB, free: 460 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.4444, allocations: 241.7 kB / 0.6197 GB, free: 216 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.4444, allocations: 33.7 kB / 0.6198 GB, free: 176 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4445, allocations: 204 kB / 0.62 GB, free: 15.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.4446, allocations: 126.2 kB / 0.6201 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.4446, allocations: 4 kB / 0.6201 GB, free: 15.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4447, allocations: 346.8 kB / 0.6204 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.445, allocations: 104.8 kB / 0.6205 GB, free: 15.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.4453, allocations: 175.5 kB / 0.6207 GB, free: 15.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.4455, allocations: 125.6 kB / 0.6208 GB, free: 15.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4456, allocations: 0 / 0.6208 GB, free: 15.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006375/0.4462, allocations: 387 kB / 0.6212 GB, free: 14.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4462, allocations: 4 kB / 0.6212 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4462, allocations: 4 kB / 0.6212 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4463, allocations: 4 kB / 0.6212 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.4468, allocations: 103.8 kB / 0.6213 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4468, allocations: 7.984 kB / 0.6213 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.4471, allocations: 35.69 kB / 0.6213 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.4471, allocations: 19.98 kB / 0.6213 GB, free: 14.51 MB / 442.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.0001544/0.4473, allocations: 153.7 kB / 0.6215 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.4473, allocations: 31.62 kB / 0.6215 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006846/0.448, allocations: 344.2 kB / 0.6219 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.448, allocations: 4 kB / 0.6219 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4481, allocations: 0 / 0.6219 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4481, allocations: 7.969 kB / 0.6219 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.4485, allocations: 409.1 kB / 0.6223 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.4485, allocations: 0 / 0.6223 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.449, allocations: 87.88 kB / 0.6223 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.449, allocations: 0 / 0.6223 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.449, allocations: 7.984 kB / 0.6223 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.449, allocations: 8 kB / 0.6224 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.449, allocations: 0 / 0.6224 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.4499, allocations: 0.5264 MB / 0.6229 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.45, allocations: 132.6 kB / 0.623 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.4501, allocations: 8 kB / 0.623 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.4503, allocations: 19.98 kB / 0.623 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.4504, allocations: 15.97 kB / 0.623 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.4504, allocations: 8 kB / 0.623 GB, free: 12.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.4506, allocations: 190 kB / 0.6232 GB, free: 12.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4506, allocations: 8 kB / 0.6232 GB, free: 12.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.451, allocations: 95.78 kB / 0.6233 GB, free: 12.38 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.0001357/0.4512, allocations: 107.2 kB / 0.6234 GB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005675/0.4517, allocations: 291.5 kB / 0.6237 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4517, allocations: 0 / 0.6237 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.452, allocations: 140.5 kB / 0.6238 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.4523, allocations: 25.47 kB / 0.6239 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4537, allocations: 0.9477 MB / 0.6248 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.4541, allocations: 0.7952 MB / 0.6256 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.4543, allocations: 30.95 kB / 0.6256 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.4544, allocations: 31.44 kB / 0.6256 GB, free: 9.957 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4544, allocations: 0 / 0.6256 GB, free: 9.957 MB / 442.7 MB Notification: Performance of Templates: time 0.005387/0.4598, allocations: 2.356 MB / 0.6279 GB, free: 7.625 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/jenkins/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