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.001303/0.001303, allocations: 122.8 kB / 17.78 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.001307/0.001307, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2841, allocations: 62.46 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008385/0.2925, allocations: 6.774 MB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.2973, allocations: 2.431 MB / 0.5396 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006827/0.298, allocations: 31.28 kB / 0.5396 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.3002, allocations: 1.054 MB / 0.5407 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.3022, allocations: 0.8327 MB / 0.5415 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.303, allocations: 310.5 kB / 0.5418 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002477/0.3055, allocations: 1.863 MB / 0.5436 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.3072, allocations: 1.252 MB / 0.5448 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3083, allocations: 0.7111 MB / 0.5455 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.3096, allocations: 0.9652 MB / 0.5465 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.3099, allocations: 132 kB / 0.5466 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.3113, allocations: 0.7215 MB / 0.5473 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009254/0.3122, allocations: 0.9231 MB / 0.5482 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.3134, allocations: 1.118 MB / 0.5493 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004463/0.3179, allocations: 3.73 MB / 0.5529 GB, free: 10.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3179, allocations: 0 / 0.5529 GB, free: 10.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3179, allocations: 0 / 0.5529 GB, free: 10.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.916e-05/0.318, allocations: 0 / 0.5529 GB, free: 10.78 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.004794/0.3228, allocations: 2.727 MB / 0.5556 GB, free: 7.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3228, allocations: 12.03 kB / 0.5556 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005937/0.3234, allocations: 458.4 kB / 0.556 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005566/0.329, allocations: 1.582 MB / 0.5576 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.331, allocations: 1.077 MB / 0.5586 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.3311, allocations: 119.3 kB / 0.5587 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.3315, allocations: 163.8 kB / 0.5589 GB, free: 4.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0096/0.3411, allocations: 6.186 MB / 0.5649 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.283e-05/0.3412, allocations: 23.81 kB / 0.565 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.3414, allocations: 79.89 kB / 0.565 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002652/0.3441, allocations: 1.445 MB / 0.5664 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009849/0.3539, allocations: 5.389 MB / 0.5717 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.029/0.383, allocations: 24.81 MB / 0.5959 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/0.3878, allocations: 2.343 MB / 0.5982 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.3892, allocations: 1 MB / 0.5992 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.3896, allocations: 327 kB / 0.5995 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.3897, allocations: 46.5 kB / 0.5996 GB, free: 9.367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.808e-06/0.3897, allocations: 0 / 0.5996 GB, free: 9.367 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.0234/0.4131, allocations: 8.567 MB / 0.6079 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.4132, allocations: 136.5 kB / 0.6081 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.417, allocations: 2.644 MB / 0.6106 GB, free: 13.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.4172, allocations: 45.69 kB / 0.6107 GB, free: 13.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/0.4188, allocations: 2.108 MB / 0.6127 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.4193, allocations: 452.6 kB / 0.6132 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.4205, allocations: 0.8695 MB / 0.614 GB, free: 10.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4206, allocations: 301.1 kB / 0.6143 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.4227, allocations: 1.34 MB / 0.6156 GB, free: 8.688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/0.4272, allocations: 4.104 MB / 0.6196 GB, free: 3.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007238/0.4345, allocations: 5.936 MB / 0.6254 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.965e-05/0.4345, allocations: 28 kB / 0.6254 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009672/0.4442, allocations: 5.497 MB / 0.6308 GB, free: 6.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.4443, allocations: 52.25 kB / 0.6309 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.4445, allocations: 100 kB / 0.631 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.4456, allocations: 460.8 kB / 0.6314 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.4485, allocations: 0.9708 MB / 0.6324 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.4531, allocations: 3.669 MB / 0.6359 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/0.4557, allocations: 239.6 kB / 0.6362 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004746/0.4562, allocations: 272 kB / 0.6364 GB, free: 460 kB / 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.00221/0.4584, allocations: 1.368 MB / 0.6378 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.4589, allocations: 234.4 kB / 0.638 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.4614, allocations: 1.318 MB / 0.6393 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/0.4615, allocations: 12 kB / 0.6393 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.4615, allocations: 8 kB / 0.6393 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.4615, allocations: 3.984 kB / 0.6393 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007645/0.4692, allocations: 4.198 MB / 0.6434 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.4692, allocations: 4 kB / 0.6434 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.4699, allocations: 139.8 kB / 0.6435 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009223/0.4708, allocations: 316.6 kB / 0.6438 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.611e-05/0.4709, allocations: 19.98 kB / 0.6438 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003787/0.4747, allocations: 3.074 MB / 0.6469 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4747, allocations: 0 / 0.6469 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004602/0.4793, allocations: 3.083 MB / 0.6499 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/0.4799, allocations: 287.4 kB / 0.6501 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.4802, allocations: 16 kB / 0.6502 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.4809, allocations: 47.94 kB / 0.6502 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.481, allocations: 48.38 kB / 0.6502 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.4811, allocations: 31.98 kB / 0.6503 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002542/0.4837, allocations: 1.621 MB / 0.6519 GB, free: 364 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.114e-06/0.4837, allocations: 4.062 kB / 0.6519 GB, free: 360 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003021/0.4867, allocations: 0.6013 MB / 0.6524 GB, free: 15.75 MB / 0.5137 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.005034/0.4918, allocations: 3.699 MB / 0.6561 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005216/0.497, allocations: 3.235 MB / 0.6592 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4971, allocations: 0 / 0.6592 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.4983, allocations: 0.86 MB / 0.6601 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.4997, allocations: 212.9 kB / 0.6603 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04132/0.541, allocations: 28.37 MB / 0.688 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/0.5436, allocations: 2.171 MB / 0.6901 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003048/0.5466, allocations: 1.383 MB / 0.6914 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/0.5482, allocations: 1.023 MB / 0.6924 GB, free: 2.984 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.5482, allocations: 0 / 0.6924 GB, free: 2.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2929/0.8412, allocations: 38.33 MB / 0.7299 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.24/20.09, allocations: 13.3 kB / 0.7299 GB, free: 182.4 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