Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 97.06 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 172.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.892/1.892, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4942/0.4942, allocations: 43.55 MB / 314.5 MB, free: 8.699 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005034, allocations: 12 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1701, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.302/0.4721, allocations: 24.93 MB / 467.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.4847, allocations: 5.617 MB / 473.4 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005773/0.4905, allocations: 120.8 kB / 473.5 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004199/0.4947, allocations: 1.274 MB / 474.8 MB, free: 32.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.5084, allocations: 3.655 MB / 478.4 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.5097, allocations: 83.64 kB / 478.5 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.5133, allocations: 1.577 MB / 480.1 MB, free: 30.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/0.5161, allocations: 1.982 MB / 482.1 MB, free: 29.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.5175, allocations: 0.7887 MB / 482.9 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.5187, allocations: 1.045 MB / 483.9 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.519, allocations: 122.2 kB / 484 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009025/0.5199, allocations: 375.7 kB / 484.4 MB, free: 29.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.5209, allocations: 1.257 MB / 485.7 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000643/0.5216, allocations: 0.7169 MB / 486.4 MB, free: 28.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.5273, allocations: 4.287 MB / 490.7 MB, free: 27.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5273, allocations: 0 / 490.7 MB, free: 27.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.5273, allocations: 3.938 kB / 490.7 MB, free: 27.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002372/0.5276, allocations: 0 / 490.7 MB, free: 27.18 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.007885/0.5355, allocations: 3.106 MB / 493.8 MB, free: 25.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.318e-05/0.5356, allocations: 9.562 kB / 493.8 MB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003957/0.5396, allocations: 0.6994 MB / 494.5 MB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.5547, allocations: 3.616 MB / 498.1 MB, free: 24.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/0.5608, allocations: 1.542 MB / 499.6 MB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.561, allocations: 179.3 kB / 499.8 MB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009743/0.562, allocations: 231.6 kB / 0.4883 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.582, allocations: 9.939 MB / 0.498 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.44e-05/0.5821, allocations: 21.19 kB / 0.498 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003952/0.5825, allocations: 110.4 kB / 0.4981 GB, free: 18.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/0.5873, allocations: 2.539 MB / 0.5006 GB, free: 17.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.6061, allocations: 8.923 MB / 0.5093 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04775/0.6539, allocations: 31.54 MB / 0.5401 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005634/0.6596, allocations: 3.308 MB / 0.5434 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-05/0.6597, allocations: 21.05 kB / 0.5434 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.6598, allocations: 39.56 kB / 0.5434 GB, free: 7.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 6.582e-06/0.6598, allocations: 0 / 0.5434 GB, free: 7.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.008016/0.6678, allocations: 3.899 MB / 0.5472 GB, free: 3.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.6679, allocations: 90.11 kB / 0.5473 GB, free: 3.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00518/0.6731, allocations: 3.157 MB / 0.5504 GB, free: 28 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.6733, allocations: 41.7 kB / 0.5504 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002081/0.6754, allocations: 2.751 MB / 0.5531 GB, free: 13.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.676, allocations: 0.5708 MB / 0.5537 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.6761, allocations: 95.98 kB / 0.5538 GB, free: 12.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003393/0.6765, allocations: 0.5167 MB / 0.5543 GB, free: 12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.6788, allocations: 1.52 MB / 0.5558 GB, free: 10.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/0.6833, allocations: 4.497 MB / 0.5602 GB, free: 4.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003705/0.687, allocations: 2.636 MB / 0.5627 GB, free: 1.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.535e-05/0.6871, allocations: 31.95 kB / 0.5628 GB, free: 1.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.009087/0.6962, allocations: 5.867 MB / 0.5685 GB, free: 11.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.6962, allocations: 48 kB / 0.5685 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.6964, allocations: 104 kB / 0.5686 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.6965, allocations: 156 kB / 0.5688 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/0.6996, allocations: 1.08 MB / 0.5698 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001581/0.6998, allocations: 203.2 kB / 0.57 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/0.7042, allocations: 0.6917 MB / 0.5707 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005957/0.7048, allocations: 307.8 kB / 0.571 GB, free: 9.363 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 593 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00379/0.7086, allocations: 1.993 MB / 0.573 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/0.7091, allocations: 268.4 kB / 0.5732 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.7097, allocations: 336.4 kB / 0.5735 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.7097, allocations: 20 kB / 0.5736 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.7097, allocations: 0 / 0.5736 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.7097, allocations: 3.984 kB / 0.5736 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.7213, allocations: 7.118 MB / 0.5805 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.7214, allocations: 7.953 kB / 0.5805 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.7221, allocations: 179.7 kB / 0.5807 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.7221, allocations: 12 kB / 0.5807 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.7222, allocations: 28 kB / 0.5807 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.71e-05/0.7222, allocations: 19.92 kB / 0.5807 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.7222, allocations: 11.94 kB / 0.5808 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.7254, allocations: 2.979 MB / 0.5837 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008187/0.7263, allocations: 365.1 kB / 0.584 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/0.7265, allocations: 27.98 kB / 0.584 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007379/0.7273, allocations: 47.95 kB / 0.5841 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.7274, allocations: 84.41 kB / 0.5842 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/0.7275, allocations: 51.97 kB / 0.5842 GB, free: 11.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003113/0.7307, allocations: 1.992 MB / 0.5862 GB, free: 9.219 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7307, allocations: 0 / 0.5862 GB, free: 9.219 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004339/0.735, allocations: 1.043 MB / 0.5872 GB, free: 8.172 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * 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 (102): * Single equations (assignments): 96 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004723/0.7397, allocations: 5.339 MB / 0.5924 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007025/0.7468, allocations: 3.566 MB / 0.5959 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.7469, allocations: 0 / 0.5959 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.7482, allocations: 0.9243 MB / 0.5968 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.7499, allocations: 302.2 kB / 0.5971 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3239/1.074, allocations: 97.77 MB / 0.6925 GB, free: 96.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/1.077, allocations: 3.147 MB / 0.6956 GB, free: 95.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003891/1.081, allocations: 1.738 MB / 0.6973 GB, free: 95.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002433/1.083, allocations: 1.587 MB / 0.6989 GB, free: 95.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/1.083, allocations: 0 / 0.6989 GB, free: 95.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.184, allocations: 56.79 MB / 0.7543 GB, free: 60.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/1.184, allocations: 189.4 kB / 0.7545 GB, free: 59.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.541/4.725, allocations: 0 / 0.7545 GB, free: 59.79 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat