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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002089/0.002089, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002282/0.002282, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 177.1 MB / 204.7 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 83.88 kB / 443.1 MB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3222, allocations: 66.05 MB / 0.4972 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00591/0.3282, allocations: 6.056 MB / 0.5032 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004167/0.3323, allocations: 2.303 MB / 0.5054 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006602/0.333, allocations: 34.62 kB / 0.5054 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.3347, allocations: 1.029 MB / 0.5065 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.3363, allocations: 0.8663 MB / 0.5073 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.337, allocations: 311.7 kB / 0.5076 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.3387, allocations: 1.864 MB / 0.5094 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009939/0.3397, allocations: 1.09 MB / 0.5105 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008661/0.3406, allocations: 0.714 MB / 0.5112 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.3422, allocations: 1.021 MB / 0.5122 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003583/0.3426, allocations: 127.3 kB / 0.5123 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.344, allocations: 0.6423 MB / 0.5129 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000982/0.345, allocations: 0.9463 MB / 0.5138 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000824/0.3458, allocations: 0.7956 MB / 0.5146 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.351, allocations: 3.733 MB / 0.5183 GB, free: 19.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.351, allocations: 2.094 kB / 0.5183 GB, free: 19.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.351, allocations: 0 / 0.5183 GB, free: 19.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.3511, allocations: 0 / 0.5183 GB, free: 19.09 MB / 446.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.00568/0.3568, allocations: 2.647 MB / 0.5209 GB, free: 17.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3568, allocations: 9.906 kB / 0.5209 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.3625, allocations: 1.62 MB / 0.5224 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.3646, allocations: 1.028 MB / 0.5234 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.804e-05/0.3647, allocations: 116.3 kB / 0.5236 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.365, allocations: 165.5 kB / 0.5237 GB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009188/0.3742, allocations: 6.178 MB / 0.5298 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.3743, allocations: 32.12 kB / 0.5298 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.3745, allocations: 78.86 kB / 0.5299 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002458/0.377, allocations: 1.443 MB / 0.5313 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009463/0.3864, allocations: 5.389 MB / 0.5365 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.412, allocations: 23.43 MB / 0.5594 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/0.4165, allocations: 1.854 MB / 0.5612 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.4177, allocations: 0.8752 MB / 0.5621 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.418, allocations: 95.73 kB / 0.5622 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.418, allocations: 50.48 kB / 0.5622 GB, free: 1.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.336e-06/0.418, allocations: 0 / 0.5622 GB, free: 1.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02409/0.4421, allocations: 8.595 MB / 0.5706 GB, free: 8.996 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.4422, allocations: 140.5 kB / 0.5707 GB, free: 8.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.4459, allocations: 2.449 MB / 0.5731 GB, free: 6.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.4461, allocations: 49.64 kB / 0.5732 GB, free: 6.281 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.4477, allocations: 2.139 MB / 0.5753 GB, free: 4.117 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/0.4482, allocations: 452.6 kB / 0.5757 GB, free: 3.672 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.4494, allocations: 0.8773 MB / 0.5766 GB, free: 2.781 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4496, allocations: 334 kB / 0.5769 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.4516, allocations: 1.332 MB / 0.5782 GB, free: 1.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004542/0.4562, allocations: 4.108 MB / 0.5822 GB, free: 11.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/0.4637, allocations: 5.937 MB / 0.588 GB, free: 4.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.8e-05/0.4638, allocations: 28 kB / 0.588 GB, free: 4.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01092/0.4747, allocations: 5.477 MB / 0.5934 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.4748, allocations: 48 kB / 0.5934 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.4749, allocations: 96 kB / 0.5935 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.4761, allocations: 461.3 kB / 0.5939 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.4794, allocations: 0.9747 MB / 0.5949 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/0.4842, allocations: 3.519 MB / 0.5983 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.4871, allocations: 227.7 kB / 0.5985 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006971/0.4878, allocations: 279.9 kB / 0.5988 GB, free: 9.074 MB / 0.4981 GB 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.00299/0.4908, allocations: 1.361 MB / 0.6001 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005878/0.4914, allocations: 206.7 kB / 0.6003 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/0.4942, allocations: 1.297 MB / 0.6016 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.4942, allocations: 15.98 kB / 0.6016 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.4942, allocations: 8 kB / 0.6016 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.4942, allocations: 3.984 kB / 0.6016 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009056/0.5033, allocations: 3.619 MB / 0.6052 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.5033, allocations: 0 / 0.6052 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.504, allocations: 139.8 kB / 0.6053 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009455/0.505, allocations: 312.6 kB / 0.6056 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.5051, allocations: 19.98 kB / 0.6056 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.509, allocations: 2.924 MB / 0.6085 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.509, allocations: 0 / 0.6085 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/0.5139, allocations: 3.055 MB / 0.6115 GB, free: 11.91 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.5145, allocations: 174.5 kB / 0.6116 GB, free: 11.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/0.5149, allocations: 19.88 kB / 0.6116 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.5159, allocations: 51.88 kB / 0.6117 GB, free: 11.67 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5161, allocations: 56.39 kB / 0.6117 GB, free: 11.62 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.5162, allocations: 24 kB / 0.6118 GB, free: 11.59 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002801/0.519, allocations: 1.374 MB / 0.6131 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/0.519, allocations: 4.062 kB / 0.6131 GB, free: 10.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004113/0.5231, allocations: 0.582 MB / 0.6137 GB, free: 9.613 MB / 0.5138 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.0004935/0.5236, allocations: 140.7 kB / 0.6138 GB, free: 9.469 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005721/0.5293, allocations: 3.104 MB / 0.6168 GB, free: 6.371 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5293, allocations: 4 kB / 0.6169 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.5306, allocations: 0.8085 MB / 0.6176 GB, free: 5.551 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.532, allocations: 167.3 kB / 0.6178 GB, free: 5.383 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.5451, allocations: 5.52 MB / 0.6232 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003189/0.5483, allocations: 1.602 MB / 0.6248 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003439/0.5517, allocations: 1.358 MB / 0.6261 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004925/0.5522, allocations: 144.5 kB / 0.6262 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.5522, allocations: 0 / 0.6262 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.04014/0.5923, allocations: 16.32 MB / 0.6422 GB, free: 12.61 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.02414024900645]