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.001719/0.001719, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.002164/0.002164, allocations: 205.4 kB / 24.38 MB, free: 4.203 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.494/1.494, allocations: 230.2 MB / 257.7 MB, free: 8.281 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.2272/0.2272, allocations: 46.89 MB / 361 MB, free: 4.477 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.002322/0.002322, allocations: 79.86 kB / 0.4962 GB, free: 8.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3334, allocations: 66.02 MB / 0.5606 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.00443/0.3378, allocations: 3.048 MB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3393, allocations: 0.7751 MB / 0.5644 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.3395, allocations: 11.94 kB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3397, allocations: 59.38 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.34, allocations: 99.11 kB / 0.5645 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.3403, allocations: 123.8 kB / 0.5647 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.3408, allocations: 466.6 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.3411, allocations: 116.4 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.3414, allocations: 195.3 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.3417, allocations: 207.1 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.3417, allocations: 36 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.3418, allocations: 47.94 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-05/0.3419, allocations: 87.67 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.3421, allocations: 199 kB / 0.566 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.3427, allocations: 474 kB / 0.5664 GB, free: 14.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3427, allocations: 4 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3427, allocations: 0 / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3427, allocations: 0 / 0.5664 GB, free: 14.75 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.001414/0.3441, allocations: 0.7093 MB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3441, allocations: 8.031 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.49e-05/0.3442, allocations: 78.7 kB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.3445, allocations: 72.58 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.3449, allocations: 295.8 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.345, allocations: 29.38 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.345, allocations: 36.38 kB / 0.5676 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.3457, allocations: 350.5 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3457, allocations: 4 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.3458, allocations: 19.98 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3458, allocations: 11.98 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.3464, allocations: 303.8 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.3487, allocations: 1.33 MB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.3492, allocations: 264.8 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.3495, allocations: 141.3 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.3495, allocations: 8.266 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3496, allocations: 38.84 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.3496, allocations: 0 / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008394/0.3504, allocations: 375.6 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3505, allocations: 59.34 kB / 0.5704 GB, free: 10.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.3508, allocations: 265.8 kB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.3508, allocations: 33.7 kB / 0.5707 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3509, allocations: 204.3 kB / 0.5709 GB, free: 9.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.351, allocations: 126.9 kB / 0.571 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3512, allocations: 74.08 kB / 0.5711 GB, free: 9.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3513, allocations: 346.8 kB / 0.5714 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.3516, allocations: 96.83 kB / 0.5715 GB, free: 9.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.3519, allocations: 171.5 kB / 0.5717 GB, free: 9.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.3524, allocations: 288.7 kB / 0.5719 GB, free: 8.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3524, allocations: 7.938 kB / 0.5719 GB, free: 8.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007006/0.3531, allocations: 370.3 kB / 0.5723 GB, free: 8.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3532, allocations: 8 kB / 0.5723 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3532, allocations: 0 / 0.5723 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3532, allocations: 4 kB / 0.5723 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.3537, allocations: 112 kB / 0.5724 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3537, allocations: 4 kB / 0.5724 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.354, allocations: 39.72 kB / 0.5725 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.354, allocations: 16 kB / 0.5725 GB, free: 8.219 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.0001669/0.3542, allocations: 149.7 kB / 0.5726 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.3542, allocations: 31.81 kB / 0.5726 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007308/0.355, allocations: 333.2 kB / 0.573 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.355, allocations: 4 kB / 0.573 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.355, allocations: 0 / 0.573 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.355, allocations: 0 / 0.573 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.3555, allocations: 413.1 kB / 0.5734 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3555, allocations: 0 / 0.5734 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.3559, allocations: 79.89 kB / 0.5734 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3559, allocations: 4 kB / 0.5734 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.3559, allocations: 11.98 kB / 0.5735 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3559, allocations: 3.938 kB / 0.5735 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3559, allocations: 4 kB / 0.5735 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.3569, allocations: 0.5147 MB / 0.574 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.357, allocations: 128.8 kB / 0.5741 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.3571, allocations: 4 kB / 0.5741 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3573, allocations: 15.98 kB / 0.5741 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.3574, allocations: 24.02 kB / 0.5741 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3574, allocations: 12 kB / 0.5741 GB, free: 6.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.3576, allocations: 189.2 kB / 0.5743 GB, free: 6.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3576, allocations: 3.938 kB / 0.5743 GB, free: 6.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.358, allocations: 95.84 kB / 0.5744 GB, free: 6.121 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.001223/0.3592, allocations: 1.048 MB / 0.5754 GB, free: 5.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.3598, allocations: 263.8 kB / 0.5757 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3598, allocations: 0 / 0.5757 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3601, allocations: 124.3 kB / 0.5758 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3604, allocations: 30.84 kB / 0.5758 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.3648, allocations: 3.149 MB / 0.5789 GB, free: 1.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.3652, allocations: 0.7874 MB / 0.5797 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.3654, allocations: 42.94 kB / 0.5797 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.3656, allocations: 111.4 kB / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3656, allocations: 0 / 0.5798 GB, free: 420 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3958, allocations: 5.989 MB / 0.5857 GB, free: 10.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.827/9.223, allocations: 0 / 0.5857 GB, free: 10.51 MB / 430.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hollowCylinderAxialFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderAxialFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidParallelFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidParallelFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidOrthogonalFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidOrthogonalFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable hollowCylinderRadialFlux.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderRadialFlux.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable leakageAroundPoles.F_m in file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable leakageAroundPoles.F_m from file ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.275829524034634]