Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.PointMass.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: 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002882/0.002886, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00113/0.00113, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2818/0.2818, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.02372/0.142, allocations: 14.73 MB / 0.4931 GB, free: 10.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1531, allocations: 3.973 MB / 0.497 GB, free: 6.574 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.1557, allocations: 67.81 kB / 0.4971 GB, free: 6.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002628/0.1584, allocations: 0.6921 MB / 0.4977 GB, free: 5.812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008607/0.167, allocations: 2.123 MB / 0.4998 GB, free: 3.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1684, allocations: 195.6 kB / 0.5 GB, free: 3.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.1713, allocations: 1.107 MB / 0.5011 GB, free: 2.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.1745, allocations: 1.492 MB / 0.5025 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1756, allocations: 0.5488 MB / 0.5031 GB, free: 312 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.177, allocations: 0.6928 MB / 0.5037 GB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.1774, allocations: 76 kB / 0.5038 GB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.1789, allocations: 0.5656 MB / 0.5044 GB, free: 14.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.1802, allocations: 0.8181 MB / 0.5052 GB, free: 14.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000648/0.1808, allocations: 480.1 kB / 0.5056 GB, free: 13.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.1856, allocations: 2.791 MB / 0.5084 GB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1856, allocations: 0 / 0.5084 GB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1856, allocations: 4 kB / 0.5084 GB, free: 10.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.598e-05/0.1857, allocations: 0 / 0.5084 GB, free: 10.87 MB / 362.7 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.006479/0.1922, allocations: 2.271 MB / 0.5106 GB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1923, allocations: 12.02 kB / 0.5106 GB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.2038, allocations: 1.888 MB / 0.5124 GB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/0.2072, allocations: 1.056 MB / 0.5135 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.2074, allocations: 118.9 kB / 0.5136 GB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006341/0.2081, allocations: 155.8 kB / 0.5137 GB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3592/0.5673, allocations: 6.2 MB / 0.5198 GB, free: 41.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.5675, allocations: 24.98 kB / 0.5198 GB, free: 41.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004275/0.568, allocations: 81.02 kB / 0.5199 GB, free: 41.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004631/0.5726, allocations: 1.445 MB / 0.5213 GB, free: 41.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.5894, allocations: 5.414 MB / 0.5266 GB, free: 39.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04195/0.6314, allocations: 24.9 MB / 0.5509 GB, free: 20.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/0.6387, allocations: 2.386 MB / 0.5532 GB, free: 19.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004353/0.6392, allocations: 324 kB / 0.5535 GB, free: 18.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.6392, allocations: 50.05 kB / 0.5536 GB, free: 18.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 4.408e-06/0.6392, allocations: 0 / 0.5536 GB, free: 18.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.05525/0.6945, allocations: 8.781 MB / 0.5622 GB, free: 11.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.6946, allocations: 144.5 kB / 0.5623 GB, free: 11.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008011/0.7027, allocations: 2.632 MB / 0.5649 GB, free: 8.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.703, allocations: 41.64 kB / 0.5649 GB, free: 8.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.7053, allocations: 2.03 MB / 0.5669 GB, free: 6.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008399/0.7062, allocations: 436 kB / 0.5673 GB, free: 5.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005826/0.7068, allocations: 84 kB / 0.5674 GB, free: 5.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004645/0.7073, allocations: 496.3 kB / 0.5679 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005017/0.7124, allocations: 1.324 MB / 0.5691 GB, free: 4.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007825/0.7203, allocations: 4.065 MB / 0.5731 GB, free: 14.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00895/0.7293, allocations: 2.306 MB / 0.5754 GB, free: 12.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/0.7295, allocations: 28 kB / 0.5754 GB, free: 12.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.02485/0.7544, allocations: 5.396 MB / 0.5807 GB, free: 6.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.7546, allocations: 44 kB / 0.5807 GB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002527/0.7548, allocations: 106.9 kB / 0.5808 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.7579, allocations: 470.1 kB / 0.5813 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008981/0.7669, allocations: 0.9708 MB / 0.5822 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.7772, allocations: 3.468 MB / 0.5856 GB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006665/0.7839, allocations: 235.5 kB / 0.5858 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/0.7858, allocations: 272.9 kB / 0.5861 GB, free: 1.129 MB / 378.7 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 (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.004279/0.7902, allocations: 1.366 MB / 0.5874 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/0.7908, allocations: 221.1 kB / 0.5876 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/0.795, allocations: 1.318 MB / 0.5889 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.639e-05/0.7951, allocations: 16 kB / 0.5889 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.7951, allocations: 0 / 0.5889 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.7951, allocations: 15.94 kB / 0.5889 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.8084, allocations: 4.233 MB / 0.5931 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.8085, allocations: 0 / 0.5931 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.8098, allocations: 144.3 kB / 0.5932 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.8114, allocations: 318.7 kB / 0.5935 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.8116, allocations: 20.81 kB / 0.5935 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005787/0.8174, allocations: 2.899 MB / 0.5964 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8175, allocations: 0 / 0.5964 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007728/0.8252, allocations: 3.11 MB / 0.5994 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.8268, allocations: 418 kB / 0.5998 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005492/0.8274, allocations: 16 kB / 0.5998 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.8289, allocations: 43.94 kB / 0.5999 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/0.8292, allocations: 60.38 kB / 0.5999 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.8293, allocations: 30.34 kB / 0.5999 GB, free: 2.668 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00413/0.8335, allocations: 1.621 MB / 0.6015 GB, free: 1.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8336, allocations: 4 kB / 0.6015 GB, free: 1.031 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004723/0.8383, allocations: 0.5989 MB / 0.6021 GB, free: 448 kB / 394.7 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 (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.0005065/0.8388, allocations: 136.4 kB / 0.6022 GB, free: 308 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00843/0.8473, allocations: 3.197 MB / 0.6054 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.8474, allocations: 0 / 0.6054 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002049/0.8494, allocations: 0.8683 MB / 0.6062 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.851, allocations: 194.5 kB / 0.6064 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.8684, allocations: 6.711 MB / 0.613 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004585/0.8731, allocations: 2.228 MB / 0.6151 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.8742, allocations: 187.4 kB / 0.6153 GB, free: 2.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.8742, allocations: 0 / 0.6153 GB, free: 2.84 MB / 410.7 MB Notification: Performance of Templates: time 0.09903/0.9732, allocations: 43.99 MB / 0.6583 GB, free: 6.828 MB / 458.7 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/jenkins1/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