Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009451/0.0009452, allocations: 199 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.5 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007773/0.0007773, allocations: 90.11 kB / 295.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 44.83 MB / 392 MB, free: 9.277 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002461/0.0002462, allocations: 8 kB / 464.7 MB, free: 49.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1095, allocations: 62.96 MB / 0.5153 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1975/0.307, allocations: 15.53 MB / 0.5305 GB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009453/0.3166, allocations: 3.911 MB / 0.5343 GB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.3201, allocations: 66.22 kB / 0.5344 GB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.3228, allocations: 0.7666 MB / 0.5351 GB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007057/0.3299, allocations: 2.227 MB / 0.5373 GB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3312, allocations: 247.5 kB / 0.5375 GB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.3349, allocations: 2.169 MB / 0.5397 GB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.338, allocations: 1.523 MB / 0.5411 GB, free: 13.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.3394, allocations: 0.6535 MB / 0.5418 GB, free: 13.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.3412, allocations: 0.9805 MB / 0.5427 GB, free: 13.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.3417, allocations: 72.69 kB / 0.5428 GB, free: 13.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.3432, allocations: 0.6108 MB / 0.5434 GB, free: 12.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.3445, allocations: 0.8676 MB / 0.5442 GB, free: 12.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008066/0.3453, allocations: 483.1 kB / 0.5447 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.3486, allocations: 2.799 MB / 0.5474 GB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3486, allocations: 0 / 0.5474 GB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3486, allocations: 1.094 kB / 0.5474 GB, free: 10.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001224/0.3487, allocations: 0 / 0.5474 GB, free: 10.12 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.004848/0.3536, allocations: 2.234 MB / 0.5496 GB, free: 8.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3536, allocations: 13.84 kB / 0.5496 GB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.3588, allocations: 1.616 MB / 0.5512 GB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.3609, allocations: 1.05 MB / 0.5522 GB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.3611, allocations: 114.1 kB / 0.5524 GB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004407/0.3615, allocations: 154.2 kB / 0.5525 GB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008777/0.3703, allocations: 6.173 MB / 0.5585 GB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/0.3704, allocations: 27.75 kB / 0.5586 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/0.3706, allocations: 75.89 kB / 0.5586 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00221/0.3728, allocations: 1.449 MB / 0.56 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008742/0.3816, allocations: 5.369 MB / 0.5653 GB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0278/0.4094, allocations: 24.88 MB / 0.5896 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004471/0.4139, allocations: 2.341 MB / 0.5919 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.4152, allocations: 0.9874 MB / 0.5928 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.4155, allocations: 331.7 kB / 0.5931 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4156, allocations: 50.48 kB / 0.5932 GB, free: 12.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.799e-06/0.4156, allocations: 0 / 0.5932 GB, free: 12.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.02145/0.437, allocations: 8.469 MB / 0.6015 GB, free: 3.602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.4371, allocations: 144.5 kB / 0.6016 GB, free: 3.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.4408, allocations: 2.62 MB / 0.6042 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.441, allocations: 37.7 kB / 0.6042 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.4424, allocations: 2.032 MB / 0.6062 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004911/0.4429, allocations: 430.6 kB / 0.6066 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.4431, allocations: 84 kB / 0.6067 GB, free: 14.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003115/0.4434, allocations: 499.5 kB / 0.6071 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.4454, allocations: 1.32 MB / 0.6084 GB, free: 12.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/0.449, allocations: 4.085 MB / 0.6124 GB, free: 6.859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.4522, allocations: 2.297 MB / 0.6147 GB, free: 4.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.644e-05/0.4523, allocations: 28 kB / 0.6147 GB, free: 4.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009034/0.4613, allocations: 5.45 MB / 0.62 GB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/0.4614, allocations: 52.06 kB / 0.6201 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/0.4616, allocations: 103.9 kB / 0.6202 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.4627, allocations: 476.7 kB / 0.6206 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.4655, allocations: 0.9824 MB / 0.6216 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003799/0.4693, allocations: 3.384 MB / 0.6249 GB, free: 9.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.4721, allocations: 223.6 kB / 0.6251 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005711/0.4727, allocations: 276 kB / 0.6254 GB, free: 9.469 MB / 442.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.002432/0.4751, allocations: 1.364 MB / 0.6267 GB, free: 8.094 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.4755, allocations: 229 kB / 0.6269 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.4779, allocations: 1.314 MB / 0.6282 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.4779, allocations: 16 kB / 0.6282 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4779, allocations: 4 kB / 0.6282 GB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.478, allocations: 3.984 kB / 0.6282 GB, free: 6.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007517/0.4855, allocations: 4.254 MB / 0.6324 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4855, allocations: 0 / 0.6324 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.4861, allocations: 139.8 kB / 0.6325 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008161/0.4869, allocations: 308.6 kB / 0.6328 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.487, allocations: 19.98 kB / 0.6328 GB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/0.49, allocations: 2.827 MB / 0.6356 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.49, allocations: 0 / 0.6356 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.494, allocations: 3.058 MB / 0.6386 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.4945, allocations: 278.1 kB / 0.6388 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.4949, allocations: 12 kB / 0.6388 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008567/0.4958, allocations: 47.94 kB / 0.6389 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4959, allocations: 52.31 kB / 0.6389 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.496, allocations: 32 kB / 0.639 GB, free: 11.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002615/0.4986, allocations: 1.617 MB / 0.6405 GB, free: 9.637 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4986, allocations: 0 / 0.6405 GB, free: 9.637 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003164/0.5018, allocations: 0.6095 MB / 0.6411 GB, free: 9.027 MB / 458.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.000308/0.5021, allocations: 135 kB / 0.6413 GB, free: 8.887 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004531/0.5066, allocations: 3.202 MB / 0.6444 GB, free: 5.691 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5067, allocations: 0 / 0.6444 GB, free: 5.691 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.5077, allocations: 0.8586 MB / 0.6452 GB, free: 4.824 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.509, allocations: 212.3 kB / 0.6454 GB, free: 4.617 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/0.5188, allocations: 6.74 MB / 0.652 GB, free: 13.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.5211, allocations: 2.175 MB / 0.6541 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/0.5216, allocations: 191.4 kB / 0.6543 GB, free: 11.43 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5216, allocations: 0 / 0.6543 GB, free: 11.43 MB / 474.7 MB Notification: Performance of Templates: time 0.05872/0.5803, allocations: 45.34 MB / 0.6986 GB, free: 14.11 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches