Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001725/0.001725, allocations: 174.1 kB / 8.144 MB, free: 0.8438 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.2 MB / 213.7 MB, free: 8.586 MB / 178.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 81.09 kB / 261.8 MB, free: 5.164 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2585/0.2585, allocations: 43.5 MB / 353.2 MB, free: 11.43 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 1.098e-05/1.119e-05, allocations: 3.938 kB / 417.7 MB, free: 68.62 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09878, allocations: 58.85 MB / 476.5 MB, free: 9.707 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4334, allocations: 95.85 MB / 0.559 GB, free: 1.109 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.4338, allocations: 73.84 kB / 0.559 GB, free: 1.074 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.2079/0.6417, allocations: 45.96 MB / 0.6039 GB, free: 9.875 MB / 418.8 MB Notification: Performance of Transformations before backend: time 0.0001188/0.6418, allocations: 44 kB / 0.604 GB, free: 9.832 MB / 418.8 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.008462/0.6503, allocations: 2.312 MB / 0.6062 GB, free: 7.66 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6504, allocations: 8.031 kB / 0.6062 GB, free: 7.652 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.6636, allocations: 1.42 MB / 0.6076 GB, free: 6.23 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004995/0.6686, allocations: 1.377 MB / 0.609 GB, free: 5.082 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.6689, allocations: 76 kB / 0.609 GB, free: 5.008 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.6702, allocations: 139.6 kB / 0.6092 GB, free: 4.875 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01052/0.6807, allocations: 3.799 MB / 0.6129 GB, free: 1.953 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.698, allocations: 6.15 MB / 0.6189 GB, free: 11.04 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.6982, allocations: 43.53 kB / 0.6189 GB, free: 11 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/0.6992, allocations: 31.98 kB / 0.619 GB, free: 10.96 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001422/0.7007, allocations: 0.7381 MB / 0.6197 GB, free: 10.23 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.7496, allocations: 30.76 MB / 0.6497 GB, free: 10.45 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.7542, allocations: 2.036 MB / 0.6517 GB, free: 8.262 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.7565, allocations: 0.9757 MB / 0.6527 GB, free: 7.273 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.7568, allocations: 43.97 kB / 0.6527 GB, free: 7.23 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.7568, allocations: 50.48 kB / 0.6528 GB, free: 7.172 MB / 466.8 MB Notification: Performance of pre-optimization done (n=96): time 4.548e-06/0.7568, allocations: 3.938 kB / 0.6528 GB, free: 7.168 MB / 466.8 MB Notification: Performance of matching and sorting (n=117): time 0.04069/0.7975, allocations: 9.698 MB / 0.6622 GB, free: 13.35 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.7977, allocations: 137 kB / 0.6624 GB, free: 13.18 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/0.8032, allocations: 2.051 MB / 0.6644 GB, free: 11.1 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.8036, allocations: 25.7 kB / 0.6644 GB, free: 11.07 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/0.806, allocations: 2.064 MB / 0.6664 GB, free: 8.969 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008626/0.8069, allocations: 458.2 kB / 0.6668 GB, free: 8.516 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005554/0.8075, allocations: 0 / 0.6668 GB, free: 8.516 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0005566/0.808, allocations: 0.5087 MB / 0.6673 GB, free: 7.996 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004219/0.8123, allocations: 1.383 MB / 0.6687 GB, free: 6.605 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/0.8196, allocations: 4.276 MB / 0.6729 GB, free: 0.8555 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/0.8273, allocations: 2.633 MB / 0.6754 GB, free: 14.22 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.85e-05/0.8274, allocations: 32.19 kB / 0.6755 GB, free: 14.19 MB / 498.8 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.01825/0.8457, allocations: 5.415 MB / 0.6808 GB, free: 8.766 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.8458, allocations: 4.938 kB / 0.6808 GB, free: 8.762 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/0.846, allocations: 104 kB / 0.6809 GB, free: 8.66 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/0.8485, allocations: 0.5122 MB / 0.6814 GB, free: 8.145 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/0.856, allocations: 1.064 MB / 0.6824 GB, free: 7.074 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.8669, allocations: 3.792 MB / 0.6861 GB, free: 3.16 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/0.871, allocations: 135.7 kB / 0.6862 GB, free: 3.027 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/0.8724, allocations: 307.9 kB / 0.6865 GB, free: 2.727 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (563): * Single equations (assignments): 559 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001321/0.8737, allocations: 277.8 kB / 0.6868 GB, free: 2.445 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/0.8744, allocations: 201.4 kB / 0.687 GB, free: 2.246 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/0.8814, allocations: 1.758 MB / 0.6887 GB, free: 496 kB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-05/0.8816, allocations: 8 kB / 0.6887 GB, free: 488 kB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/0.8816, allocations: 7.984 kB / 0.6887 GB, free: 480 kB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/0.8817, allocations: 11.89 kB / 0.6887 GB, free: 468 kB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1633/1.045, allocations: 4.441 MB / 0.6931 GB, free: 199.1 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.045, allocations: 0 / 0.6931 GB, free: 199.1 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.047, allocations: 178.5 kB / 0.6932 GB, free: 199.1 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/1.049, allocations: 382.1 kB / 0.6936 GB, free: 199.1 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/1.049, allocations: 12.47 kB / 0.6936 GB, free: 199.1 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007963/1.057, allocations: 3.217 MB / 0.6967 GB, free: 197.9 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.057, allocations: 0 / 0.6967 GB, free: 197.9 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008713/1.066, allocations: 3.708 MB / 0.7004 GB, free: 197.5 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.067, allocations: 425.1 kB / 0.7008 GB, free: 197.4 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/1.068, allocations: 6.531 kB / 0.7008 GB, free: 197.4 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.069, allocations: 20.95 kB / 0.7008 GB, free: 197.4 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/1.069, allocations: 56.47 kB / 0.7009 GB, free: 197.4 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.069, allocations: 49.58 kB / 0.7009 GB, free: 197.4 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.002836/1.072, allocations: 1.339 MB / 0.7022 GB, free: 197.2 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.004593/1.077, allocations: 0.532 MB / 0.7027 GB, free: 197.2 MB / 498.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005328/1.077, allocations: 149.4 kB / 0.7029 GB, free: 197.1 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.00711/1.085, allocations: 3.341 MB / 0.7061 GB, free: 197 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.085, allocations: 0 / 0.7061 GB, free: 197 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/1.087, allocations: 0.9828 MB / 0.7071 GB, free: 196.9 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/1.088, allocations: 142.1 kB / 0.7072 GB, free: 196.9 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.102, allocations: 4.963 MB / 0.7121 GB, free: 196.1 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004451/1.106, allocations: 2.45 MB / 0.7145 GB, free: 195.3 MB / 498.8 MB Notification: Performance of SimCode: time 2.314e-06/1.106, allocations: 0 / 0.7145 GB, free: 195.3 MB / 498.8 MB Notification: Performance of Templates: time 0.08107/1.187, allocations: 45.09 MB / 0.7585 GB, free: 167 MB / 498.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches