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.001304/0.001304, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2201/0.2201, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002283/0.002283, allocations: 78.7 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1101, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00842/0.1186, allocations: 6.773 MB / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.1229, allocations: 2.434 MB / 489.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004557/0.1234, allocations: 31.94 kB / 489.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.1255, allocations: 1.051 MB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1271, allocations: 0.8323 MB / 491.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/0.1279, allocations: 307.2 kB / 491.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.1299, allocations: 1.857 MB / 493.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.1314, allocations: 1.264 MB / 494.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.1323, allocations: 0.7121 MB / 495.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.1335, allocations: 0.9613 MB / 496.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.1338, allocations: 132 kB / 496.6 MB, free: 4.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1351, allocations: 0.7293 MB / 497.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008609/0.136, allocations: 0.9153 MB / 498.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.137, allocations: 1.125 MB / 499.3 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003607/0.1406, allocations: 3.532 MB / 0.4911 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1406, allocations: 0 / 0.4911 GB, free: 14.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1406, allocations: 0 / 0.4911 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.144e-05/0.1407, allocations: 0 / 0.4911 GB, free: 14.38 MB / 382.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.004433/0.1451, allocations: 2.646 MB / 0.4937 GB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1452, allocations: 8.031 kB / 0.4937 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005196/0.1457, allocations: 454.4 kB / 0.4941 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/0.1511, allocations: 1.569 MB / 0.4956 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.153, allocations: 1.069 MB / 0.4967 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.02e-05/0.1531, allocations: 115.3 kB / 0.4968 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.1534, allocations: 163.7 kB / 0.4969 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008745/0.1621, allocations: 6.19 MB / 0.503 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.343e-05/0.1622, allocations: 23.81 kB / 0.503 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.1625, allocations: 79.89 kB / 0.5031 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/0.165, allocations: 1.445 MB / 0.5045 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2111/0.3761, allocations: 5.386 MB / 0.5097 GB, free: 36.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.4009, allocations: 24.87 MB / 0.534 GB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.405, allocations: 2.342 MB / 0.5363 GB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.4061, allocations: 0.9856 MB / 0.5373 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.4064, allocations: 321.1 kB / 0.5376 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4065, allocations: 42.69 kB / 0.5376 GB, free: 16.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.409e-06/0.4065, allocations: 0 / 0.5376 GB, free: 16.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01973/0.4262, allocations: 8.44 MB / 0.5459 GB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4263, allocations: 144.5 kB / 0.546 GB, free: 9.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/0.4288, allocations: 2.64 MB / 0.5486 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.445e-05/0.4289, allocations: 37.7 kB / 0.5486 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007203/0.4296, allocations: 2.015 MB / 0.5506 GB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.4299, allocations: 437.8 kB / 0.551 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007203/0.4306, allocations: 0.8649 MB / 0.5519 GB, free: 3.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.4307, allocations: 305.1 kB / 0.5521 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.4321, allocations: 1.332 MB / 0.5534 GB, free: 2.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003249/0.4354, allocations: 4.11 MB / 0.5575 GB, free: 12.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007035/0.4424, allocations: 5.937 MB / 0.5633 GB, free: 5.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.87e-05/0.4425, allocations: 28 kB / 0.5633 GB, free: 5.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01009/0.4526, allocations: 5.484 MB / 0.5686 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.4527, allocations: 48 kB / 0.5687 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.4528, allocations: 103.1 kB / 0.5688 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.4539, allocations: 464.9 kB / 0.5692 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/0.4567, allocations: 0.9747 MB / 0.5702 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004472/0.4612, allocations: 3.678 MB / 0.5738 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.464, allocations: 227.5 kB / 0.574 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005984/0.4646, allocations: 271.7 kB / 0.5743 GB, free: 10.1 MB / 414.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.002425/0.467, allocations: 1.364 MB / 0.5756 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/0.4675, allocations: 227.4 kB / 0.5758 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.47, allocations: 1.321 MB / 0.5771 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.4701, allocations: 12 kB / 0.5771 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4701, allocations: 7.922 kB / 0.5771 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4701, allocations: 11.98 kB / 0.5771 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007996/0.4781, allocations: 4.232 MB / 0.5813 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.4782, allocations: 0 / 0.5813 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.4788, allocations: 135.8 kB / 0.5814 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008857/0.4797, allocations: 319.8 kB / 0.5817 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/0.4798, allocations: 16 kB / 0.5817 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.4835, allocations: 3.033 MB / 0.5847 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4836, allocations: 3.438 kB / 0.5847 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/0.4881, allocations: 3.066 MB / 0.5877 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007855/0.4889, allocations: 274.2 kB / 0.5879 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.4892, allocations: 19.94 kB / 0.5879 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.49, allocations: 43.94 kB / 0.588 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4902, allocations: 56.42 kB / 0.588 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.4903, allocations: 31.94 kB / 0.5881 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002698/0.493, allocations: 1.625 MB / 0.5897 GB, free: 10.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.493, allocations: 0 / 0.5897 GB, free: 10.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003401/0.4964, allocations: 0.5946 MB / 0.5902 GB, free: 9.473 MB / 430.1 MB 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.004927/0.5014, allocations: 3.691 MB / 0.5938 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005712/0.5071, allocations: 3.459 MB / 0.5972 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.5071, allocations: 0 / 0.5972 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.5084, allocations: 0.8687 MB / 0.5981 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.5099, allocations: 217.3 kB / 0.5983 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04072/0.5506, allocations: 30.25 MB / 0.6278 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.553, allocations: 2.171 MB / 0.6299 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003218/0.5562, allocations: 1.391 MB / 0.6313 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/0.5578, allocations: 1.023 MB / 0.6323 GB, free: 9.582 MB / 478.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5578, allocations: 0 / 0.6323 GB, free: 9.582 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09041/0.6483, allocations: 41.04 MB / 0.6724 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.89, allocations: 6.062 kB / 0.6724 GB, free: 0.7031 MB / 0.4981 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)