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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 119.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002252/0.002252, allocations: 205.8 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 251.6 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 81.53 kB / 490.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 62.44 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004535/0.1339, allocations: 3.009 MB / 0.5426 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1354, allocations: 0.7788 MB / 0.5434 GB, free: 444 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1356, allocations: 12 kB / 0.5434 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.1358, allocations: 59.38 kB / 0.5434 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.136, allocations: 103 kB / 0.5435 GB, free: 268 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1364, allocations: 115.8 kB / 0.5436 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.1369, allocations: 474.7 kB / 0.5441 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.1372, allocations: 151.9 kB / 0.5442 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.1375, allocations: 195.4 kB / 0.5444 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1378, allocations: 211 kB / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/0.1379, allocations: 40 kB / 0.5447 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.138, allocations: 40 kB / 0.5447 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.1381, allocations: 87.73 kB / 0.5448 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.1383, allocations: 206.9 kB / 0.545 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.139, allocations: 478 kB / 0.5454 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.139, allocations: 0 / 0.5454 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.139, allocations: 0 / 0.5454 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.139, allocations: 4 kB / 0.5455 GB, free: 14.29 MB / 414.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.001475/0.1405, allocations: 0.7016 MB / 0.5461 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1405, allocations: 13.11 kB / 0.5461 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.1408, allocations: 60.64 kB / 0.5462 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.1415, allocations: 295.4 kB / 0.5465 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.1416, allocations: 29.38 kB / 0.5465 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.1416, allocations: 36.38 kB / 0.5466 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/0.1425, allocations: 346.8 kB / 0.5469 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1425, allocations: 7.938 kB / 0.5469 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.674e-05/0.1426, allocations: 19.94 kB / 0.5469 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.1426, allocations: 8 kB / 0.5469 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.1433, allocations: 303.8 kB / 0.5472 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.1457, allocations: 1.33 MB / 0.5485 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.1463, allocations: 284.8 kB / 0.5488 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.1467, allocations: 157.4 kB / 0.5489 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.1467, allocations: 4.281 kB / 0.5489 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.1468, allocations: 38.84 kB / 0.549 GB, free: 10.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.374e-06/0.1468, allocations: 0 / 0.549 GB, free: 10.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001023/0.1478, allocations: 379.4 kB / 0.5493 GB, free: 10.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.1479, allocations: 59.34 kB / 0.5494 GB, free: 10.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.1483, allocations: 258.7 kB / 0.5496 GB, free: 9.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.1483, allocations: 33.7 kB / 0.5497 GB, free: 9.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.1486, allocations: 212.3 kB / 0.5499 GB, free: 9.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1487, allocations: 123 kB / 0.55 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.1489, allocations: 70.08 kB / 0.5501 GB, free: 9.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002716/0.1491, allocations: 338.8 kB / 0.5504 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.1494, allocations: 108.8 kB / 0.5505 GB, free: 8.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.1498, allocations: 171.5 kB / 0.5506 GB, free: 8.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.1504, allocations: 288.6 kB / 0.5509 GB, free: 8.383 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1504, allocations: 0 / 0.5509 GB, free: 8.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007314/0.1511, allocations: 378.3 kB / 0.5513 GB, free: 8.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.1512, allocations: 8 kB / 0.5513 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1512, allocations: 0 / 0.5513 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1512, allocations: 4 kB / 0.5513 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.1517, allocations: 108 kB / 0.5514 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1517, allocations: 8 kB / 0.5514 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.152, allocations: 39.72 kB / 0.5514 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.152, allocations: 16 kB / 0.5515 GB, free: 7.828 MB / 414.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.0001697/0.1522, allocations: 153.6 kB / 0.5516 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.1523, allocations: 31.81 kB / 0.5516 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007299/0.153, allocations: 324.2 kB / 0.5519 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.153, allocations: 8 kB / 0.5519 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1531, allocations: 0 / 0.5519 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1531, allocations: 3.984 kB / 0.552 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.1536, allocations: 405.2 kB / 0.5523 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1537, allocations: 0 / 0.5523 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.1541, allocations: 87.88 kB / 0.5524 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1541, allocations: 0 / 0.5524 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.1541, allocations: 8 kB / 0.5524 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1541, allocations: 3.984 kB / 0.5524 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1541, allocations: 0 / 0.5524 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1552, allocations: 0.5222 MB / 0.5529 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.1553, allocations: 128.9 kB / 0.5531 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1554, allocations: 4 kB / 0.5531 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.1556, allocations: 11.98 kB / 0.5531 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.1557, allocations: 28.03 kB / 0.5531 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1557, allocations: 4 kB / 0.5531 GB, free: 6.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002256/0.1559, allocations: 198 kB / 0.5533 GB, free: 5.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.156, allocations: 0 / 0.5533 GB, free: 5.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.1564, allocations: 91.78 kB / 0.5534 GB, free: 5.738 MB / 414.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.0001518/0.1565, allocations: 103.2 kB / 0.5535 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.1571, allocations: 279.9 kB / 0.5538 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1571, allocations: 4 kB / 0.5538 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1574, allocations: 136.3 kB / 0.5539 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1578, allocations: 42.56 kB / 0.5539 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.1592, allocations: 0.751 MB / 0.5547 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.1597, allocations: 0.7913 MB / 0.5554 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.1599, allocations: 34.94 kB / 0.5555 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.16, allocations: 27.44 kB / 0.5555 GB, free: 3.523 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.16, allocations: 0 / 0.5555 GB, free: 3.523 MB / 414.1 MB Notification: Performance of Templates: time 0.006766/0.1668, allocations: 2.714 MB / 0.5581 GB, free: 0.8281 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.051276381127536]