Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001193, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007664/0.0007665, allocations: 85 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3042/0.3042, allocations: 43.57 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 15.98 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1033, allocations: 58.83 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002924/0.1062, allocations: 2.529 MB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1076, allocations: 0.7415 MB / 494.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.1079, allocations: 7.938 kB / 494.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.108, allocations: 39.64 kB / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1083, allocations: 83.3 kB / 494.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1086, allocations: 91.88 kB / 494.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.1092, allocations: 418.6 kB / 494.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.1095, allocations: 148.3 kB / 495 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.1098, allocations: 151.4 kB / 495.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.11, allocations: 175.2 kB / 495.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.1101, allocations: 20 kB / 495.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.1102, allocations: 24 kB / 495.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.1103, allocations: 67.67 kB / 495.4 MB, free: 6.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.1105, allocations: 192.8 kB / 495.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1108, allocations: 343 kB / 495.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1108, allocations: 4 kB / 495.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1108, allocations: 0 / 495.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1108, allocations: 0 / 495.9 MB, free: 5.77 MB / 378.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.001309/0.1121, allocations: 0.6474 MB / 496.6 MB, free: 5.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1122, allocations: 8.031 kB / 496.6 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.1123, allocations: 74.72 kB / 496.6 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.1124, allocations: 44.47 kB / 496.7 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1128, allocations: 287.2 kB / 497 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.1128, allocations: 29.38 kB / 497 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.1129, allocations: 40.31 kB / 497 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.1136, allocations: 350.6 kB / 497.4 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1136, allocations: 0 / 497.4 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.1137, allocations: 16 kB / 497.4 MB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1137, allocations: 8 kB / 497.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.1143, allocations: 315.8 kB / 497.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.1167, allocations: 1.345 MB / 499.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.1172, allocations: 280.9 kB / 499.3 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.1175, allocations: 169.4 kB / 499.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.1176, allocations: 4.266 kB / 499.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1176, allocations: 42.78 kB / 499.5 MB, free: 1.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.1176, allocations: 0 / 499.5 MB, free: 1.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008474/0.1185, allocations: 394.4 kB / 499.9 MB, free: 1.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1185, allocations: 51.41 kB / 500 MB, free: 1.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.1188, allocations: 258.7 kB / 0.4885 GB, free: 1.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1188, allocations: 37.64 kB / 0.4885 GB, free: 1.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.119, allocations: 203.9 kB / 0.4887 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/0.1191, allocations: 122.3 kB / 0.4889 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.1191, allocations: 4 kB / 0.4889 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1192, allocations: 342.8 kB / 0.4892 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.1195, allocations: 104.8 kB / 0.4893 GB, free: 404 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.1198, allocations: 187.4 kB / 0.4895 GB, free: 188 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1735/0.2933, allocations: 290.7 kB / 0.4897 GB, free: 42.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.2933, allocations: 7.125 kB / 0.4897 GB, free: 42.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006961/0.294, allocations: 382.2 kB / 0.4901 GB, free: 42.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2941, allocations: 7.656 kB / 0.4901 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2941, allocations: 0.6094 kB / 0.4901 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2941, allocations: 3.094 kB / 0.4901 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.2946, allocations: 102.9 kB / 0.4902 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.2946, allocations: 3.719 kB / 0.4902 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.2949, allocations: 49.3 kB / 0.4903 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.2949, allocations: 13.5 kB / 0.4903 GB, free: 42.71 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.295, allocations: 151.6 kB / 0.4904 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.2951, allocations: 34.77 kB / 0.4905 GB, free: 42.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.2957, allocations: 334.9 kB / 0.4908 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2957, allocations: 4.281 kB / 0.4908 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2958, allocations: 1.312 kB / 0.4908 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2958, allocations: 2.25 kB / 0.4908 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.2962, allocations: 398.8 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2962, allocations: 2.453 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.2966, allocations: 79.53 kB / 0.4912 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2966, allocations: 4.344 kB / 0.4913 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.2966, allocations: 7.203 kB / 0.4913 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.2966, allocations: 3.172 kB / 0.4913 GB, free: 42.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2966, allocations: 3.938 kB / 0.4913 GB, free: 42.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.2975, allocations: 0.5307 MB / 0.4918 GB, free: 42.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.934e-05/0.2976, allocations: 125.8 kB / 0.4919 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.2976, allocations: 9.953 kB / 0.4919 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2979, allocations: 18.36 kB / 0.4919 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.2979, allocations: 21.42 kB / 0.492 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.298, allocations: 13.72 kB / 0.492 GB, free: 42.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.2981, allocations: 187.9 kB / 0.4921 GB, free: 42.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2982, allocations: 1.125 kB / 0.4921 GB, free: 42.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.2985, allocations: 101.8 kB / 0.4922 GB, free: 42.01 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009377/0.2994, allocations: 1.073 MB / 0.4933 GB, free: 41.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.3, allocations: 279.5 kB / 0.4936 GB, free: 41.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3, allocations: 0 / 0.4936 GB, free: 41.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.3002, allocations: 144.8 kB / 0.4937 GB, free: 41.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3006, allocations: 28.72 kB / 0.4937 GB, free: 41.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.3034, allocations: 2.053 MB / 0.4957 GB, free: 40.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3036, allocations: 0.784 MB / 0.4965 GB, free: 39.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.3038, allocations: 115.6 kB / 0.4966 GB, free: 39.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3038, allocations: 0 / 0.4966 GB, free: 39.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.535/2.839, allocations: 4.672 MB / 0.5012 GB, free: 39.31 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches