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.001884/0.001884, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002402/0.002402, allocations: 211.8 kB / 23.73 MB, free: 4.164 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2423/0.2423, allocations: 46.96 MB / 360.8 MB, free: 3.93 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.003673/0.003673, allocations: 83.86 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4046, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005663/0.4102, allocations: 2.791 MB / 0.5634 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.412, allocations: 0.7479 MB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.4121, allocations: 7.938 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.4124, allocations: 63.38 kB / 0.5642 GB, free: 424 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.4126, allocations: 95.06 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.413, allocations: 119.8 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.4136, allocations: 470.5 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.4139, allocations: 112.4 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.4143, allocations: 195.3 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.4146, allocations: 183.1 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.4147, allocations: 40 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4148, allocations: 40 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.4149, allocations: 95.66 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.4151, allocations: 171.2 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006526/0.4158, allocations: 478 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.4158, allocations: 0 / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4158, allocations: 0 / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.4158, allocations: 0 / 0.5661 GB, free: 14.44 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.001599/0.4174, allocations: 0.6379 MB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4174, allocations: 8.031 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.4175, allocations: 78.72 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.4178, allocations: 64.64 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.4183, allocations: 238 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.4183, allocations: 29.38 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.4184, allocations: 36.38 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.4191, allocations: 350.5 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.4191, allocations: 7.984 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.4191, allocations: 16 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4191, allocations: 8 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.4198, allocations: 295.8 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.4222, allocations: 1.205 MB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.4228, allocations: 253.3 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.4231, allocations: 149.3 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.4231, allocations: 288 / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/0.4232, allocations: 38.84 kB / 0.5694 GB, free: 10.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 6.974e-06/0.4232, allocations: 3.984 kB / 0.5694 GB, free: 10.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.000948/0.4241, allocations: 379.5 kB / 0.5698 GB, free: 10.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.4242, allocations: 55.34 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.4245, allocations: 269.8 kB / 0.5701 GB, free: 10.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.4246, allocations: 33.7 kB / 0.5701 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4247, allocations: 208.4 kB / 0.5703 GB, free: 9.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4248, allocations: 126.9 kB / 0.5705 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.425, allocations: 74.12 kB / 0.5705 GB, free: 9.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4251, allocations: 342.8 kB / 0.5708 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.4254, allocations: 96.83 kB / 0.5709 GB, free: 9.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.4257, allocations: 171.5 kB / 0.5711 GB, free: 9.078 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/0.4262, allocations: 288.7 kB / 0.5714 GB, free: 8.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4262, allocations: 3.938 kB / 0.5714 GB, free: 8.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000702/0.4269, allocations: 382.4 kB / 0.5717 GB, free: 8.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.427, allocations: 8 kB / 0.5718 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.427, allocations: 0 / 0.5718 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.427, allocations: 4 kB / 0.5718 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.4275, allocations: 103.9 kB / 0.5719 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4275, allocations: 4 kB / 0.5719 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.4278, allocations: 47.66 kB / 0.5719 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.4278, allocations: 12 kB / 0.5719 GB, free: 8.215 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.0001854/0.428, allocations: 165.6 kB / 0.5721 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.428, allocations: 35.8 kB / 0.5721 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.4287, allocations: 317.2 kB / 0.5724 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4287, allocations: 4 kB / 0.5724 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4287, allocations: 0 / 0.5724 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4288, allocations: 0 / 0.5724 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.4292, allocations: 332.4 kB / 0.5727 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4292, allocations: 0 / 0.5727 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.4297, allocations: 87.88 kB / 0.5728 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4297, allocations: 0 / 0.5728 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.4297, allocations: 8 kB / 0.5728 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4297, allocations: 0 / 0.5728 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4297, allocations: 3.984 kB / 0.5728 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.4306, allocations: 0.5224 MB / 0.5733 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.4307, allocations: 55.73 kB / 0.5734 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.4308, allocations: 4 kB / 0.5734 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.431, allocations: 16.06 kB / 0.5734 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.4311, allocations: 23.95 kB / 0.5734 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4311, allocations: 4 kB / 0.5734 GB, free: 6.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.4313, allocations: 189.2 kB / 0.5736 GB, free: 6.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4313, allocations: 0 / 0.5736 GB, free: 6.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.4317, allocations: 99.78 kB / 0.5737 GB, free: 6.297 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.00124/0.4329, allocations: 1.06 MB / 0.5747 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.4335, allocations: 259.6 kB / 0.575 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4335, allocations: 0 / 0.575 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.4338, allocations: 127.8 kB / 0.5751 GB, free: 4.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4342, allocations: 34.61 kB / 0.5752 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/0.4387, allocations: 3.153 MB / 0.5782 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.4389, allocations: 189.2 kB / 0.5784 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.4391, allocations: 34.95 kB / 0.5784 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.4393, allocations: 111.4 kB / 0.5786 GB, free: 1.18 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4393, allocations: 0 / 0.5786 GB, free: 1.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/0.4763, allocations: 6.39 MB / 0.5848 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.04, allocations: 11.17 kB / 0.5848 GB, free: 10.91 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.133238565642387]