Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 174.3 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1506/0.1506, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.31e-05, allocations: 5.656 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004057/0.004081, allocations: 2.755 MB / 409.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.005365, allocations: 0.7602 MB / 410.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.005538, allocations: 7.938 kB / 410.4 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.005685, allocations: 51.39 kB / 410.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.005905, allocations: 111 kB / 410.5 MB, free: 9.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.006227, allocations: 115.8 kB / 410.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.006658, allocations: 490.4 kB / 411.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.006869, allocations: 116.3 kB / 411.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.007179, allocations: 267.5 kB / 411.5 MB, free: 8.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.007337, allocations: 155.5 kB / 411.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.007383, allocations: 36 kB / 411.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.765e-05/0.007421, allocations: 43.94 kB / 411.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.007476, allocations: 91.66 kB / 411.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.007573, allocations: 139.6 kB / 411.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.008008, allocations: 482.4 kB / 412.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.008012, allocations: 0 / 412.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.008013, allocations: 0 / 412.4 MB, free: 7.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.008021, allocations: 4 kB / 412.4 MB, free: 7.906 MB / 346.7 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.0009761/0.008997, allocations: 0.634 MB / 413 MB, free: 7.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.00904, allocations: 12.03 kB / 413.1 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.009103, allocations: 78.66 kB / 413.1 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.009164, allocations: 40.7 kB / 413.2 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.009536, allocations: 240.8 kB / 413.4 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.009557, allocations: 29.38 kB / 413.4 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.009601, allocations: 36.38 kB / 413.5 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.01011, allocations: 343 kB / 413.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.01012, allocations: 192 / 413.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.01014, allocations: 20.12 kB / 413.8 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01015, allocations: 8 kB / 413.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.01053, allocations: 299.8 kB / 414.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.01209, allocations: 1.214 MB / 415.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.01245, allocations: 253.3 kB / 415.6 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.01263, allocations: 141.3 kB / 415.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01265, allocations: 8.266 kB / 415.7 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.01268, allocations: 38.78 kB / 415.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.01268, allocations: 0 / 415.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005202/0.0132, allocations: 378.7 kB / 416.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.01323, allocations: 55.41 kB / 416.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.01344, allocations: 269.8 kB / 416.5 MB, free: 3.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01346, allocations: 33.7 kB / 416.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.01355, allocations: 200.4 kB / 416.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.01362, allocations: 126.9 kB / 416.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.01371, allocations: 74.12 kB / 416.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.01381, allocations: 338.8 kB / 417.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.01396, allocations: 104.9 kB / 417.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.01414, allocations: 176.1 kB / 417.5 MB, free: 2.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.01448, allocations: 292.6 kB / 417.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01448, allocations: 4 kB / 417.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004354/0.01491, allocations: 370.4 kB / 418.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.01493, allocations: 8 kB / 418.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01494, allocations: 0 / 418.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01495, allocations: 4 kB / 418.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.01522, allocations: 104 kB / 418.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.01522, allocations: 4 kB / 418.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.01536, allocations: 47.66 kB / 418.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.01538, allocations: 19.92 kB / 418.3 MB, free: 1.711 MB / 346.7 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.0001198/0.0155, allocations: 145.8 kB / 418.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.01553, allocations: 35.75 kB / 418.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007168/0.01625, allocations: 324.2 kB / 418.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.01626, allocations: 8 kB / 418.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01626, allocations: 0 / 418.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01627, allocations: 3.984 kB / 418.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.01659, allocations: 336.4 kB / 419.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.0166, allocations: 0 / 419.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.01682, allocations: 83.88 kB / 419.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.01682, allocations: 3.938 kB / 419.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01684, allocations: 8 kB / 419.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01684, allocations: 3.984 kB / 419.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01685, allocations: 0 / 419.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.01739, allocations: 0.5107 MB / 419.8 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.01748, allocations: 51.69 kB / 419.8 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.0175, allocations: 7.938 kB / 419.8 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.01761, allocations: 15.98 kB / 419.8 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.01767, allocations: 19.97 kB / 419.9 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.01768, allocations: 11.98 kB / 419.9 MB, free: 88 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.01783, allocations: 193.1 kB / 420.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01783, allocations: 0 / 420.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.0181, allocations: 95.91 kB / 420.2 MB, free: 15.8 MB / 362.7 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.00101/0.01911, allocations: 1.056 MB / 421.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.01971, allocations: 255.5 kB / 421.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01971, allocations: 0.5 kB / 421.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.01994, allocations: 131.8 kB / 421.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.02034, allocations: 32.42 kB / 421.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.0244, allocations: 3.088 MB / 424.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.02454, allocations: 181.3 kB / 424.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.02468, allocations: 46.92 kB / 424.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.02482, allocations: 112.5 kB / 425 MB, free: 10.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02482, allocations: 0 / 425 MB, free: 10.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.05415, allocations: 6.531 MB / 431.6 MB, free: 4.223 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/6.933, allocations: 7.812 kB / 431.6 MB, free: 4.219 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.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_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderAxialFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidParallelFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidParallelFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidOrthogonalFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidOrthogonalFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable hollowCylinderRadialFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderRadialFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable leakageAroundPoles.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable leakageAroundPoles.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.35710474010557]