Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3523, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007968/0.3603, allocations: 6.777 MB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005868/0.3662, allocations: 2.422 MB / 0.54 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.3675, allocations: 34.75 kB / 0.54 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002261/0.3698, allocations: 1.061 MB / 0.541 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.3719, allocations: 0.8288 MB / 0.5418 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.3728, allocations: 310.2 kB / 0.5421 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.3753, allocations: 1.865 MB / 0.544 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.3768, allocations: 1.26 MB / 0.5452 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009412/0.3778, allocations: 0.708 MB / 0.5459 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3789, allocations: 0.9614 MB / 0.5468 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.3791, allocations: 128 kB / 0.5469 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3803, allocations: 0.7371 MB / 0.5477 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.381, allocations: 0.9271 MB / 0.5486 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008168/0.3819, allocations: 1.121 MB / 0.5497 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003437/0.3853, allocations: 3.719 MB / 0.5533 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3853, allocations: 0 / 0.5533 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3853, allocations: 0 / 0.5533 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.386e-05/0.3854, allocations: 0 / 0.5533 GB, free: 10.79 MB / 414.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.004096/0.3895, allocations: 2.649 MB / 0.5559 GB, free: 8.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3895, allocations: 8.031 kB / 0.5559 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00512/0.3947, allocations: 1.565 MB / 0.5574 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.3964, allocations: 1.077 MB / 0.5585 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.615e-05/0.3965, allocations: 119.3 kB / 0.5586 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.3968, allocations: 163.9 kB / 0.5587 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008578/0.4054, allocations: 6.182 MB / 0.5648 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-05/0.4055, allocations: 31.75 kB / 0.5648 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.4057, allocations: 75.89 kB / 0.5649 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/0.4081, allocations: 1.445 MB / 0.5663 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00872/0.4169, allocations: 5.385 MB / 0.5715 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02795/0.4448, allocations: 24.77 MB / 0.5957 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004726/0.4496, allocations: 2.343 MB / 0.598 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.4509, allocations: 0.9886 MB / 0.599 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/0.4513, allocations: 338.9 kB / 0.5993 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.4514, allocations: 50.5 kB / 0.5994 GB, free: 9.988 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 5.27e-06/0.4514, allocations: 0 / 0.5994 GB, free: 9.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02141/0.4728, allocations: 8.424 MB / 0.6076 GB, free: 1.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4729, allocations: 144.5 kB / 0.6077 GB, free: 1.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.476, allocations: 2.635 MB / 0.6103 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.479e-05/0.4762, allocations: 41.7 kB / 0.6103 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.4774, allocations: 2.016 MB / 0.6123 GB, free: 12.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.4777, allocations: 430.7 kB / 0.6127 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009301/0.4787, allocations: 0.8648 MB / 0.6136 GB, free: 11.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.4788, allocations: 301.1 kB / 0.6138 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.4805, allocations: 1.343 MB / 0.6152 GB, free: 9.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.484, allocations: 4.1 MB / 0.6192 GB, free: 4.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00608/0.4901, allocations: 5.94 MB / 0.625 GB, free: 12.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.168e-05/0.4901, allocations: 32 kB / 0.625 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008092/0.4982, allocations: 5.484 MB / 0.6304 GB, free: 7.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.4983, allocations: 51.94 kB / 0.6304 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-05/0.4984, allocations: 100 kB / 0.6305 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4995, allocations: 461.1 kB / 0.6309 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.5021, allocations: 0.9747 MB / 0.6319 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/0.5063, allocations: 3.657 MB / 0.6355 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.5088, allocations: 239.7 kB / 0.6357 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003226/0.5091, allocations: 275.9 kB / 0.636 GB, free: 1.316 MB / 494.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.002208/0.5113, allocations: 1.368 MB / 0.6373 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000526/0.5119, allocations: 217.1 kB / 0.6375 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.5144, allocations: 1.325 MB / 0.6388 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.5144, allocations: 12 kB / 0.6388 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5144, allocations: 4 kB / 0.6388 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.5145, allocations: 3.984 kB / 0.6388 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007645/0.5221, allocations: 4.194 MB / 0.6429 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.5222, allocations: 4 kB / 0.6429 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/0.5228, allocations: 143.8 kB / 0.643 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008644/0.5237, allocations: 312.5 kB / 0.6433 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.5237, allocations: 20 kB / 0.6434 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/0.5272, allocations: 3.074 MB / 0.6464 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5272, allocations: 0 / 0.6464 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/0.5316, allocations: 3.066 MB / 0.6494 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005683/0.5322, allocations: 278.1 kB / 0.6496 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.5324, allocations: 16 kB / 0.6496 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007534/0.5332, allocations: 47.94 kB / 0.6497 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5334, allocations: 56.38 kB / 0.6497 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.5335, allocations: 31.98 kB / 0.6498 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002855/0.5363, allocations: 1.621 MB / 0.6513 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.804e-06/0.5363, allocations: 0 / 0.6513 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003467/0.5398, allocations: 0.5898 MB / 0.6519 GB, free: 0.6641 MB / 0.4981 GB 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.0003885/0.5402, allocations: 143 kB / 0.6521 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004903/0.5451, allocations: 3.233 MB / 0.6552 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5451, allocations: 3.938 kB / 0.6552 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.5463, allocations: 0.8617 MB / 0.6561 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.5476, allocations: 221.6 kB / 0.6563 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/0.556, allocations: 5.427 MB / 0.6616 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/0.558, allocations: 2.167 MB / 0.6637 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002635/0.5607, allocations: 1.395 MB / 0.6651 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.5611, allocations: 151.4 kB / 0.6652 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.5611, allocations: 0 / 0.6652 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of Templates: time 0.03572/0.5968, allocations: 18.12 MB / 0.6829 GB, free: 0.8906 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches