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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2086/0.2086, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3121, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00787/0.32, allocations: 6.774 MB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004758/0.3248, allocations: 2.434 MB / 0.5395 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008751/0.3257, allocations: 31.72 kB / 0.5395 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.328, allocations: 1.046 MB / 0.5405 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.3305, allocations: 0.8323 MB / 0.5414 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3316, allocations: 310.7 kB / 0.5417 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.3345, allocations: 1.87 MB / 0.5435 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.3365, allocations: 1.25 MB / 0.5447 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.3381, allocations: 0.714 MB / 0.5454 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.3401, allocations: 0.9652 MB / 0.5463 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005668/0.3407, allocations: 132 kB / 0.5465 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3425, allocations: 0.7254 MB / 0.5472 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.3436, allocations: 0.9309 MB / 0.5481 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.3452, allocations: 1.125 MB / 0.5492 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.3492, allocations: 3.713 MB / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3493, allocations: 0 / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3493, allocations: 0 / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.227e-05/0.3494, allocations: 0 / 0.5528 GB, free: 10.88 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.004958/0.3543, allocations: 2.646 MB / 0.5554 GB, free: 8.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3544, allocations: 15.97 kB / 0.5554 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006652/0.3551, allocations: 458.4 kB / 0.5558 GB, free: 7.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005353/0.3604, allocations: 1.565 MB / 0.5574 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.363, allocations: 1.077 MB / 0.5584 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3631, allocations: 123.3 kB / 0.5585 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.3636, allocations: 159.7 kB / 0.5587 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009749/0.3734, allocations: 6.178 MB / 0.5647 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.24e-05/0.3735, allocations: 27.75 kB / 0.5648 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.374, allocations: 91.81 kB / 0.5648 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00253/0.3765, allocations: 1.437 MB / 0.5662 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009821/0.3863, allocations: 5.385 MB / 0.5715 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02917/0.4156, allocations: 24.77 MB / 0.5957 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/0.4205, allocations: 2.339 MB / 0.598 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.422, allocations: 0.9993 MB / 0.599 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004191/0.4224, allocations: 331 kB / 0.5993 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4225, allocations: 46.5 kB / 0.5993 GB, free: 9.605 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 5.941e-06/0.4225, allocations: 3.984 kB / 0.5993 GB, free: 9.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02316/0.4457, allocations: 8.431 MB / 0.6075 GB, free: 1.027 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.4458, allocations: 136.5 kB / 0.6077 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/0.4497, allocations: 2.635 MB / 0.6103 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.4499, allocations: 37.7 kB / 0.6103 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.4513, allocations: 2.028 MB / 0.6123 GB, free: 12.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/0.4518, allocations: 434.7 kB / 0.6127 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.453, allocations: 0.8687 MB / 0.6135 GB, free: 10.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4531, allocations: 301.1 kB / 0.6138 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.4551, allocations: 1.332 MB / 0.6151 GB, free: 9.152 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00382/0.4589, allocations: 4.104 MB / 0.6191 GB, free: 3.645 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006556/0.4655, allocations: 5.934 MB / 0.6249 GB, free: 12.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-05/0.4656, allocations: 28 kB / 0.6249 GB, free: 12.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00969/0.4753, allocations: 5.495 MB / 0.6303 GB, free: 6.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.4754, allocations: 48 kB / 0.6304 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/0.4756, allocations: 104.2 kB / 0.6305 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4769, allocations: 456.8 kB / 0.6309 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.4799, allocations: 0.9747 MB / 0.6318 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004297/0.4843, allocations: 3.661 MB / 0.6354 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/0.4871, allocations: 231.5 kB / 0.6356 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005854/0.4877, allocations: 268.1 kB / 0.6359 GB, free: 0.9375 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.002362/0.4901, allocations: 1.38 MB / 0.6372 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.4906, allocations: 217.1 kB / 0.6375 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.4931, allocations: 1.325 MB / 0.6387 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.4931, allocations: 15.98 kB / 0.6388 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4931, allocations: 11.94 kB / 0.6388 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.4931, allocations: 3.984 kB / 0.6388 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008332/0.5015, allocations: 4.178 MB / 0.6429 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.5015, allocations: 8 kB / 0.6429 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007356/0.5023, allocations: 139.8 kB / 0.643 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008875/0.5032, allocations: 312.6 kB / 0.6433 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.469e-05/0.5033, allocations: 23.98 kB / 0.6433 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.5068, allocations: 3.062 MB / 0.6463 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5069, allocations: 3.938 kB / 0.6463 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004381/0.5113, allocations: 3.07 MB / 0.6493 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/0.5119, allocations: 278.1 kB / 0.6496 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.5123, allocations: 16.19 kB / 0.6496 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/0.5131, allocations: 43.94 kB / 0.6496 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.5133, allocations: 64.23 kB / 0.6497 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/0.5133, allocations: 24 kB / 0.6497 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002769/0.5161, allocations: 1.628 MB / 0.6513 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5161, allocations: 8 kB / 0.6513 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003274/0.5194, allocations: 0.5898 MB / 0.6519 GB, free: 272 kB / 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.005132/0.5246, allocations: 3.678 MB / 0.6555 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005528/0.5302, allocations: 3.23 MB / 0.6586 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5302, allocations: 0 / 0.6586 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.5316, allocations: 0.8716 MB / 0.6595 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.5337, allocations: 220 kB / 0.6597 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04506/0.5788, allocations: 28.26 MB / 0.6873 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003285/0.5821, allocations: 2.174 MB / 0.6894 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003639/0.5858, allocations: 1.379 MB / 0.6908 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/0.5878, allocations: 1.023 MB / 0.6918 GB, free: 3.617 MB / 0.545 GB Notification: Performance of SimCode: time 1.412e-06/0.5879, allocations: 0 / 0.6918 GB, free: 3.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/0.8882, allocations: 38.93 MB / 0.7298 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/19.05, allocations: 9.375 kB / 0.7298 GB, free: 182.6 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches