Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001639/0.001639, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001959/0.001959, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2234/0.2234, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 75.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.321, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008723/0.3298, allocations: 6.774 MB / 0.5372 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.3351, allocations: 2.426 MB / 0.5396 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009658/0.3361, allocations: 31 kB / 0.5396 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.3386, allocations: 1.062 MB / 0.5406 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.3412, allocations: 0.8326 MB / 0.5415 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.3422, allocations: 305.6 kB / 0.5417 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002795/0.345, allocations: 1.867 MB / 0.5436 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.3468, allocations: 1.252 MB / 0.5448 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.348, allocations: 0.7146 MB / 0.5455 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.3494, allocations: 0.9575 MB / 0.5464 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003114/0.3498, allocations: 128 kB / 0.5465 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.3512, allocations: 0.7371 MB / 0.5473 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009588/0.3522, allocations: 0.9193 MB / 0.5482 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.3534, allocations: 1.121 MB / 0.5493 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.3582, allocations: 3.73 MB / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3582, allocations: 0 / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3582, allocations: 0 / 0.5529 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.173e-05/0.3583, allocations: 4 kB / 0.5529 GB, free: 10.81 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.004925/0.3632, allocations: 2.715 MB / 0.5556 GB, free: 8.031 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.3633, allocations: 12.03 kB / 0.5556 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005861/0.3639, allocations: 454.4 kB / 0.556 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/0.3693, allocations: 1.59 MB / 0.5576 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.3713, allocations: 1.073 MB / 0.5586 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3715, allocations: 119.3 kB / 0.5587 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003347/0.3718, allocations: 159.8 kB / 0.5589 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.3813, allocations: 6.186 MB / 0.5649 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.235e-05/0.3814, allocations: 23.81 kB / 0.5649 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.3817, allocations: 79.89 kB / 0.565 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002551/0.3842, allocations: 1.452 MB / 0.5664 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009892/0.3941, allocations: 5.389 MB / 0.5717 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02886/0.423, allocations: 24.81 MB / 0.5959 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00468/0.4278, allocations: 2.353 MB / 0.5982 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4291, allocations: 0.9963 MB / 0.5992 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.4295, allocations: 331 kB / 0.5995 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.4296, allocations: 42.56 kB / 0.5995 GB, free: 9.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 4.178e-06/0.4296, allocations: 0 / 0.5995 GB, free: 9.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.0227/0.4523, allocations: 8.567 MB / 0.6079 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.4524, allocations: 144.5 kB / 0.608 GB, free: 0.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.4563, allocations: 2.64 MB / 0.6106 GB, free: 13.88 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.4564, allocations: 37.7 kB / 0.6107 GB, free: 13.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/0.4581, allocations: 2.108 MB / 0.6127 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005224/0.4587, allocations: 452.6 kB / 0.6131 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.4598, allocations: 0.8812 MB / 0.614 GB, free: 10.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.46, allocations: 301.1 kB / 0.6143 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.462, allocations: 1.332 MB / 0.6156 GB, free: 8.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004523/0.4666, allocations: 4.108 MB / 0.6196 GB, free: 3.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007447/0.4741, allocations: 5.931 MB / 0.6254 GB, free: 11.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.861e-05/0.4742, allocations: 28 kB / 0.6254 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009929/0.4841, allocations: 5.499 MB / 0.6308 GB, free: 6.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.741e-05/0.4842, allocations: 48.94 kB / 0.6308 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/0.4843, allocations: 100 kB / 0.6309 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.4855, allocations: 464.5 kB / 0.6314 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/0.4884, allocations: 0.9746 MB / 0.6323 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.4931, allocations: 3.673 MB / 0.6359 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.4959, allocations: 231.7 kB / 0.6361 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/0.4965, allocations: 268 kB / 0.6364 GB, free: 0.4961 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.002191/0.4987, allocations: 1.364 MB / 0.6377 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.4991, allocations: 234.5 kB / 0.638 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.5016, allocations: 1.322 MB / 0.6392 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.5017, allocations: 15.91 kB / 0.6393 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.5017, allocations: 4 kB / 0.6393 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.5017, allocations: 7.922 kB / 0.6393 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007715/0.5095, allocations: 4.194 MB / 0.6434 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.5095, allocations: 4 kB / 0.6434 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/0.5102, allocations: 139.8 kB / 0.6435 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/0.5111, allocations: 312.6 kB / 0.6438 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.5112, allocations: 23.98 kB / 0.6438 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.515, allocations: 3.074 MB / 0.6468 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.515, allocations: 0 / 0.6468 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/0.5198, allocations: 3.083 MB / 0.6498 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005945/0.5204, allocations: 287.4 kB / 0.6501 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.5206, allocations: 24.05 kB / 0.6501 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/0.5214, allocations: 43.94 kB / 0.6502 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.5215, allocations: 52.38 kB / 0.6502 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.5216, allocations: 24 kB / 0.6502 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002594/0.5242, allocations: 1.628 MB / 0.6518 GB, free: 404 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.084e-06/0.5242, allocations: 0 / 0.6518 GB, free: 404 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003103/0.5273, allocations: 0.5936 MB / 0.6524 GB, free: 15.8 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.005111/0.5325, allocations: 3.699 MB / 0.656 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005638/0.5381, allocations: 3.223 MB / 0.6592 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/0.5382, allocations: 4 kB / 0.6592 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.5395, allocations: 0.8758 MB / 0.66 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.5409, allocations: 204 kB / 0.6602 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0433/0.5842, allocations: 28.37 MB / 0.6879 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/0.5867, allocations: 2.171 MB / 0.6901 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002952/0.5897, allocations: 1.379 MB / 0.6914 GB, free: 4.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.5912, allocations: 1.023 MB / 0.6924 GB, free: 3.031 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.5912, allocations: 0 / 0.6924 GB, free: 3.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.311/0.9022, allocations: 38.36 MB / 0.7299 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/20.06, allocations: 2.766 kB / 0.7299 GB, free: 181.6 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1)