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.001783/0.001783, allocations: 114 kB / 20.43 MB, free: 1.457 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.001486/0.001486, allocations: 214 kB / 23.74 MB, free: 4.672 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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2367/0.2367, allocations: 46.93 MB / 360.8 MB, free: 4.16 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.002375/0.002375, allocations: 75.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.309, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004607/0.3136, allocations: 3.051 MB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3152, allocations: 0.7905 MB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3154, allocations: 12 kB / 0.5645 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.3156, allocations: 55.38 kB / 0.5645 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.3158, allocations: 107 kB / 0.5646 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.3162, allocations: 115.8 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.3168, allocations: 466.6 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.317, allocations: 120.4 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.3173, allocations: 191.3 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.3177, allocations: 207.1 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.3177, allocations: 36 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.3178, allocations: 48 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.3179, allocations: 91.66 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.3181, allocations: 203 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.3187, allocations: 470 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3187, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3187, allocations: 0 / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.3187, allocations: 4 kB / 0.5665 GB, free: 14.34 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.001504/0.3202, allocations: 0.6379 MB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3203, allocations: 12.02 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.097e-05/0.3203, allocations: 74.72 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.3206, allocations: 64.64 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.3211, allocations: 238 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.3211, allocations: 29.38 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.3212, allocations: 36.38 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.3218, allocations: 350.6 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3218, allocations: 0 / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.3219, allocations: 16 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3219, allocations: 12 kB / 0.5679 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.3225, allocations: 299.8 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.3249, allocations: 1.291 MB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.3254, allocations: 256.9 kB / 0.5697 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.3257, allocations: 141.3 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3258, allocations: 4.281 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3258, allocations: 34.83 kB / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.3258, allocations: 3.938 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008523/0.3266, allocations: 375.6 kB / 0.5702 GB, free: 10.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3267, allocations: 63.34 kB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.327, allocations: 261.8 kB / 0.5706 GB, free: 9.977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.327, allocations: 29.7 kB / 0.5706 GB, free: 9.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3272, allocations: 212.3 kB / 0.5708 GB, free: 9.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.3273, allocations: 122.9 kB / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3274, allocations: 78.08 kB / 0.571 GB, free: 9.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3275, allocations: 338.8 kB / 0.5713 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.3278, allocations: 108.8 kB / 0.5714 GB, free: 9.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.3281, allocations: 175.4 kB / 0.5716 GB, free: 8.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.3286, allocations: 284.7 kB / 0.5718 GB, free: 8.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3286, allocations: 3.938 kB / 0.5718 GB, free: 8.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007085/0.3293, allocations: 370.3 kB / 0.5722 GB, free: 8.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3294, allocations: 6.188 kB / 0.5722 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3294, allocations: 7.938 kB / 0.5722 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.3294, allocations: 4 kB / 0.5722 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005228/0.3299, allocations: 99.88 kB / 0.5723 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.3299, allocations: 11.92 kB / 0.5723 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.3302, allocations: 43.95 kB / 0.5724 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.3302, allocations: 11.98 kB / 0.5724 GB, free: 8.035 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.0001895/0.3304, allocations: 154.8 kB / 0.5725 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.3305, allocations: 31.81 kB / 0.5726 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006938/0.3312, allocations: 325.2 kB / 0.5729 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3312, allocations: 4 kB / 0.5729 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3312, allocations: 4 kB / 0.5729 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3312, allocations: 3.984 kB / 0.5729 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.3317, allocations: 380.1 kB / 0.5732 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3317, allocations: 0 / 0.5732 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.3322, allocations: 87.88 kB / 0.5733 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3322, allocations: 0 / 0.5733 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3322, allocations: 8 kB / 0.5733 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3322, allocations: 0 / 0.5733 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3322, allocations: 0 / 0.5733 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008878/0.3331, allocations: 0.5147 MB / 0.5738 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3332, allocations: 51.75 kB / 0.5739 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.3332, allocations: 11.98 kB / 0.5739 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3335, allocations: 8 kB / 0.5739 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.3335, allocations: 27.94 kB / 0.5739 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3336, allocations: 8 kB / 0.5739 GB, free: 6.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3338, allocations: 193.3 kB / 0.5741 GB, free: 6.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 0 / 0.5741 GB, free: 6.172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003701/0.3341, allocations: 95.84 kB / 0.5742 GB, free: 6.078 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.001214/0.3353, allocations: 1.067 MB / 0.5753 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005913/0.3359, allocations: 251.6 kB / 0.5755 GB, free: 4.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3359, allocations: 0 / 0.5755 GB, free: 4.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.3362, allocations: 131.8 kB / 0.5756 GB, free: 4.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3365, allocations: 39.03 kB / 0.5757 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.341, allocations: 3.141 MB / 0.5787 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.3415, allocations: 0.7874 MB / 0.5795 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.3416, allocations: 34.95 kB / 0.5795 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.3418, allocations: 111.4 kB / 0.5796 GB, free: 368 kB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3418, allocations: 4 kB / 0.5796 GB, free: 364 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.3759, allocations: 6.085 MB / 0.5856 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 10.73 kB / 0.5856 GB, free: 10.38 MB / 430.1 MB " [Timeout remaining time 648] (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.1.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: 15.034792416001437]