Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 107.8 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 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.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2059/0.2059, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 75.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09904, allocations: 57.8 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007812/0.1069, allocations: 6.808 MB / 0.494 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.1116, allocations: 2.384 MB / 0.4964 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.1123, allocations: 31.94 kB / 0.4964 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.1145, allocations: 1.031 MB / 0.4974 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.1166, allocations: 0.8517 MB / 0.4982 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007872/0.1174, allocations: 299.3 kB / 0.4985 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.1198, allocations: 1.904 MB / 0.5004 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.1215, allocations: 1.256 MB / 0.5016 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1227, allocations: 0.7198 MB / 0.5023 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.1241, allocations: 0.973 MB / 0.5033 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.1244, allocations: 128 kB / 0.5034 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.1257, allocations: 0.7098 MB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009146/0.1266, allocations: 0.9465 MB / 0.505 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.128, allocations: 1.137 MB / 0.5061 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.1321, allocations: 3.744 MB / 0.5098 GB, free: 5.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1321, allocations: 4 kB / 0.5098 GB, free: 5.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1321, allocations: 0 / 0.5098 GB, free: 5.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001106/0.1322, allocations: 0 / 0.5098 GB, free: 5.301 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005103/0.1373, allocations: 2.657 MB / 0.5124 GB, free: 2.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1374, allocations: 11.89 kB / 0.5124 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007465/0.1382, allocations: 454.4 kB / 0.5128 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/0.1432, allocations: 1.573 MB / 0.5143 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.1453, allocations: 1.088 MB / 0.5154 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1454, allocations: 119.1 kB / 0.5155 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000561/0.146, allocations: 155.8 kB / 0.5157 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009949/0.156, allocations: 6.182 MB / 0.5217 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.1561, allocations: 31.72 kB / 0.5217 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.1565, allocations: 79.89 kB / 0.5218 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.1588, allocations: 1.445 MB / 0.5232 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00923/0.1681, allocations: 5.397 MB / 0.5285 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2313/0.3994, allocations: 24.75 MB / 0.5527 GB, free: 19.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.4043, allocations: 2.343 MB / 0.555 GB, free: 18.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.4055, allocations: 0.9865 MB / 0.5559 GB, free: 17.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.4058, allocations: 325.7 kB / 0.5562 GB, free: 17.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.4059, allocations: 50.83 kB / 0.5563 GB, free: 17.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.837e-06/0.4059, allocations: 0 / 0.5563 GB, free: 17.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02074/0.4266, allocations: 8.452 MB / 0.5645 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.4267, allocations: 137 kB / 0.5647 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/0.4297, allocations: 2.641 MB / 0.5672 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.4298, allocations: 41.64 kB / 0.5673 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007647/0.4305, allocations: 2.029 MB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.4308, allocations: 432.9 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008185/0.4317, allocations: 0.8621 MB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.4317, allocations: 305.1 kB / 0.5708 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.4331, allocations: 1.337 MB / 0.5721 GB, free: 9.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.4354, allocations: 4.107 MB / 0.5761 GB, free: 4.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004866/0.4403, allocations: 5.939 MB / 0.5819 GB, free: 14.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-05/0.4404, allocations: 28.44 kB / 0.5819 GB, free: 14.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008949/0.4494, allocations: 5.479 MB / 0.5873 GB, free: 9.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.407e-05/0.4495, allocations: 44 kB / 0.5873 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.4496, allocations: 104.2 kB / 0.5874 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.4507, allocations: 468.2 kB / 0.5879 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.4534, allocations: 0.9747 MB / 0.5888 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.4574, allocations: 3.667 MB / 0.5924 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.4602, allocations: 235.4 kB / 0.5926 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/0.4606, allocations: 272 kB / 0.5929 GB, free: 3.711 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002033/0.4627, allocations: 1.368 MB / 0.5942 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.4631, allocations: 217.1 kB / 0.5944 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.4654, allocations: 1.33 MB / 0.5957 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.4654, allocations: 12 kB / 0.5958 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4654, allocations: 4 kB / 0.5958 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4654, allocations: 7.984 kB / 0.5958 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007587/0.473, allocations: 4.181 MB / 0.5999 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.4731, allocations: 4 kB / 0.5999 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/0.4737, allocations: 139.8 kB / 0.6 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008274/0.4746, allocations: 320.5 kB / 0.6003 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.4747, allocations: 24.95 kB / 0.6003 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/0.4779, allocations: 3.063 MB / 0.6033 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4779, allocations: 3.938 kB / 0.6033 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/0.482, allocations: 3.076 MB / 0.6063 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.4829, allocations: 414 kB / 0.6067 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/0.4834, allocations: 15.98 kB / 0.6067 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008903/0.4843, allocations: 51.88 kB / 0.6068 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4844, allocations: 44.38 kB / 0.6068 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.4845, allocations: 39.5 kB / 0.6069 GB, free: 5.191 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002539/0.487, allocations: 1.633 MB / 0.6085 GB, free: 3.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.487, allocations: 4.062 kB / 0.6085 GB, free: 3.543 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003206/0.4902, allocations: 0.5964 MB / 0.609 GB, free: 2.949 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004712/0.495, allocations: 3.687 MB / 0.6126 GB, free: 15.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004851/0.4999, allocations: 3.228 MB / 0.6158 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4999, allocations: 0 / 0.6158 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5009, allocations: 0.8647 MB / 0.6166 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.5025, allocations: 205 kB / 0.6168 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03961/0.5421, allocations: 28.29 MB / 0.6445 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.5446, allocations: 2.179 MB / 0.6466 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00282/0.5474, allocations: 1.383 MB / 0.6479 GB, free: 7.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.5488, allocations: 1.023 MB / 0.6489 GB, free: 6.316 MB / 494.1 MB Notification: Performance of SimCode: time 1.793e-06/0.5489, allocations: 0 / 0.6489 GB, free: 6.316 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0725/0.6214, allocations: 39.01 MB / 0.687 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.38/18, allocations: 8.484 kB / 0.687 GB, free: 15.31 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches