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.001362/0.001362, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001646/0.001646, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.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.267/0.267, allocations: 46.9 MB / 357.4 MB, free: 10.49 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: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 0.4912 GB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1246, allocations: 65.99 MB / 0.5557 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004536/0.1292, allocations: 3.027 MB / 0.5586 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1307, allocations: 0.7868 MB / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.1309, allocations: 4 kB / 0.5594 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1311, allocations: 59.38 kB / 0.5595 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1313, allocations: 99.11 kB / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1317, allocations: 123.8 kB / 0.5597 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.1322, allocations: 474.6 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.1325, allocations: 112 kB / 0.5602 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.1328, allocations: 195.3 kB / 0.5604 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.1331, allocations: 207.1 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.1332, allocations: 40 kB / 0.5607 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.1333, allocations: 44 kB / 0.5607 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.1334, allocations: 95.67 kB / 0.5608 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1336, allocations: 203 kB / 0.561 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.1341, allocations: 466 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1341, allocations: 0 / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1341, allocations: 4 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1342, allocations: 3.938 kB / 0.5614 GB, free: 284 kB / 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.001576/0.1357, allocations: 0.7132 MB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1358, allocations: 12.03 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.1359, allocations: 78.7 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.1361, allocations: 56.64 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.1366, allocations: 295.5 kB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.1367, allocations: 33.38 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.1368, allocations: 36.38 kB / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.1374, allocations: 350.5 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1375, allocations: 0 / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.1375, allocations: 16 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1375, allocations: 11.94 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006887/0.1382, allocations: 303.8 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.1407, allocations: 1.33 MB / 0.5646 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.1412, allocations: 256.8 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.1415, allocations: 137.4 kB / 0.5649 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1415, allocations: 4.281 kB / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1416, allocations: 38.84 kB / 0.565 GB, free: 12.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 4.168e-06/0.1416, allocations: 7.984 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009421/0.1425, allocations: 375.4 kB / 0.5654 GB, free: 12.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1426, allocations: 63.33 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1429, allocations: 258.7 kB / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1429, allocations: 33.7 kB / 0.5657 GB, free: 11.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1431, allocations: 208.3 kB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1432, allocations: 123 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.1434, allocations: 74.08 kB / 0.5661 GB, free: 11.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1435, allocations: 342.8 kB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1438, allocations: 96.83 kB / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.1441, allocations: 179.4 kB / 0.5667 GB, free: 10.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1447, allocations: 292.6 kB / 0.567 GB, free: 10.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1447, allocations: 3.938 kB / 0.567 GB, free: 10.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007464/0.1454, allocations: 366.4 kB / 0.5673 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1454, allocations: 8 kB / 0.5673 GB, free: 9.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1454, allocations: 4.219 kB / 0.5673 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1455, allocations: 7.984 kB / 0.5673 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.146, allocations: 95.88 kB / 0.5674 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.146, allocations: 4 kB / 0.5674 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1463, allocations: 47.66 kB / 0.5675 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.1463, allocations: 20 kB / 0.5675 GB, free: 9.766 MB / 430.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.0001767/0.1465, allocations: 153.6 kB / 0.5676 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.1466, allocations: 31.81 kB / 0.5677 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/0.1473, allocations: 324.2 kB / 0.568 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1473, allocations: 4 kB / 0.568 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1473, allocations: 0 / 0.568 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1473, allocations: 0 / 0.568 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.1479, allocations: 409.2 kB / 0.5684 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1479, allocations: 0 / 0.5684 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.1483, allocations: 87.88 kB / 0.5684 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1483, allocations: 8 kB / 0.5685 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.1483, allocations: 4 kB / 0.5685 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1483, allocations: 3.938 kB / 0.5685 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1484, allocations: 0 / 0.5685 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.1493, allocations: 0.5145 MB / 0.569 GB, free: 8.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.1494, allocations: 132.8 kB / 0.5691 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.1495, allocations: 8.062 kB / 0.5691 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.1497, allocations: 11.98 kB / 0.5691 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.1498, allocations: 27.91 kB / 0.5691 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1498, allocations: 4 kB / 0.5691 GB, free: 7.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.15, allocations: 194 kB / 0.5693 GB, free: 7.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.15, allocations: 0 / 0.5693 GB, free: 7.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.1504, allocations: 91.84 kB / 0.5694 GB, free: 7.68 MB / 430.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.001246/0.1516, allocations: 1.06 MB / 0.5704 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.1523, allocations: 260.1 kB / 0.5707 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1523, allocations: 4.188 kB / 0.5707 GB, free: 6.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.1525, allocations: 127.9 kB / 0.5708 GB, free: 6.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1529, allocations: 31.98 kB / 0.5709 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.1576, allocations: 3.143 MB / 0.5739 GB, free: 2.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.1581, allocations: 0.7873 MB / 0.5747 GB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.1583, allocations: 38.95 kB / 0.5747 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.1584, allocations: 111.4 kB / 0.5748 GB, free: 1.965 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1584, allocations: 0 / 0.5748 GB, free: 1.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.19, allocations: 5.785 MB / 0.5805 GB, free: 12.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.899/9.089, allocations: 0.8906 kB / 0.5805 GB, free: 12.28 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.277507415041327]