Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00142/0.00142, allocations: 109.7 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 223.2 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 230.2 MB / 256.2 MB, free: 8.613 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.198/0.198, allocations: 46.88 MB / 359.3 MB, free: 4.977 MB / 286.1 MB " [Timeout remaining time 180] 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.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002116/0.002116, allocations: 91.84 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2513, allocations: 65.98 MB / 0.5584 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01677/0.268, allocations: 17.01 MB / 0.575 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006855/0.2749, allocations: 3.976 MB / 0.5789 GB, free: 160 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009889/0.2759, allocations: 107.8 kB / 0.579 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003548/0.2794, allocations: 2.234 MB / 0.5812 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.2836, allocations: 2.584 MB / 0.5837 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.2842, allocations: 291.5 kB / 0.584 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007067/0.2912, allocations: 6.556 MB / 0.5904 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002881/0.2941, allocations: 2.729 MB / 0.593 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.2964, allocations: 2.109 MB / 0.5951 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.2999, allocations: 3.102 MB / 0.5981 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.3005, allocations: 396 kB / 0.5985 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.302, allocations: 0.8387 MB / 0.5993 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002321/0.3043, allocations: 2.808 MB / 0.6021 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002763/0.3071, allocations: 3.31 MB / 0.6053 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009676/0.3168, allocations: 10.65 MB / 0.6157 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3168, allocations: 0 / 0.6157 GB, free: 10.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3168, allocations: 4 kB / 0.6157 GB, free: 10.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001273/0.3169, allocations: 0 / 0.6157 GB, free: 10.28 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.009577/0.3265, allocations: 7.176 MB / 0.6227 GB, free: 3.012 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3265, allocations: 8.031 kB / 0.6227 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001399/0.3279, allocations: 1.276 MB / 0.624 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/0.346, allocations: 5.907 MB / 0.6297 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.3512, allocations: 3.308 MB / 0.633 GB, free: 8.422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.3514, allocations: 324 kB / 0.6333 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008222/0.3522, allocations: 419.7 kB / 0.6337 GB, free: 7.691 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/0.378, allocations: 18.88 MB / 0.6521 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.222e-05/0.3781, allocations: 39.62 kB / 0.6522 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005797/0.3787, allocations: 199.7 kB / 0.6523 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00713/0.3858, allocations: 4.754 MB / 0.657 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02905/0.4149, allocations: 17.53 MB / 0.6741 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2759/0.6907, allocations: 60.98 MB / 0.7337 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.7026, allocations: 8.16 MB / 0.7416 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.7051, allocations: 2.392 MB / 0.744 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.014/0.7191, allocations: 11.89 MB / 0.7556 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.7191, allocations: 58.44 kB / 0.7556 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 4.569e-06/0.7191, allocations: 0 / 0.7556 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01337/0.7325, allocations: 7.549 MB / 0.763 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.7325, allocations: 99.05 kB / 0.7631 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005154/0.7377, allocations: 5.683 MB / 0.7686 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.7378, allocations: 61.55 kB / 0.7687 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.7397, allocations: 5.294 MB / 0.7739 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/0.7403, allocations: 1.246 MB / 0.7751 GB, free: 118 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/0.7419, allocations: 1.926 MB / 0.777 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.12e-05/0.7419, allocations: 301.1 kB / 0.7773 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.745, allocations: 3.211 MB / 0.7804 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004523/0.7496, allocations: 8.648 MB / 0.7888 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008483/0.7581, allocations: 12.91 MB / 0.8014 GB, free: 88.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-05/0.7581, allocations: 52 kB / 0.8015 GB, free: 87.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01293/0.7711, allocations: 11.68 MB / 0.8129 GB, free: 76.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.7711, allocations: 87.94 kB / 0.813 GB, free: 76.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.7713, allocations: 192 kB / 0.8132 GB, free: 76.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.7714, allocations: 256 kB / 0.8134 GB, free: 75.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0049/0.7763, allocations: 2.07 MB / 0.8154 GB, free: 73.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/0.7765, allocations: 378.5 kB / 0.8158 GB, free: 73.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004602/0.7811, allocations: 1.361 MB / 0.8171 GB, free: 71.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/0.7816, allocations: 0.5542 MB / 0.8177 GB, free: 71.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003541/0.7851, allocations: 3.698 MB / 0.8213 GB, free: 67.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/0.7855, allocations: 0.5051 MB / 0.8218 GB, free: 67.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.7865, allocations: 0.6488 MB / 0.8224 GB, free: 66.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.642e-05/0.7866, allocations: 59.89 kB / 0.8225 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-05/0.7866, allocations: 0 / 0.8225 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.7866, allocations: 11.97 kB / 0.8225 GB, free: 66.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.7997, allocations: 12.63 MB / 0.8348 GB, free: 53.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.7997, allocations: 12 kB / 0.8348 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.8012, allocations: 427.9 kB / 0.8352 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.8012, allocations: 24 kB / 0.8352 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.8014, allocations: 63.92 kB / 0.8353 GB, free: 53.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.8014, allocations: 35.92 kB / 0.8353 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.8014, allocations: 19.94 kB / 0.8354 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/0.8052, allocations: 4.666 MB / 0.8399 GB, free: 48.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007459/0.806, allocations: 0.5906 MB / 0.8405 GB, free: 47.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000426/0.8064, allocations: 51.98 kB / 0.8405 GB, free: 47.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.8078, allocations: 127.7 kB / 0.8407 GB, free: 47.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.808, allocations: 176.8 kB / 0.8408 GB, free: 47.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.8082, allocations: 103.4 kB / 0.8409 GB, free: 47.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003424/0.8116, allocations: 3.486 MB / 0.8443 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8116, allocations: 0 / 0.8443 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005418/0.817, allocations: 1.97 MB / 0.8463 GB, free: 41.67 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004184/0.8212, allocations: 5.339 MB / 0.8515 GB, free: 36.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007384/0.8286, allocations: 7.005 MB / 0.8583 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.8286, allocations: 8.25 kB / 0.8583 GB, free: 29.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.8303, allocations: 1.868 MB / 0.8602 GB, free: 27.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.8327, allocations: 0.6214 MB / 0.8608 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07709/0.9098, allocations: 68.34 MB / 0.9275 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006685/0.9165, allocations: 5.418 MB / 0.9328 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007074/0.9235, allocations: 3.543 MB / 0.9362 GB, free: 4.586 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004409/0.928, allocations: 3.319 MB / 0.9395 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of SimCode: time 8.42e-07/0.928, allocations: 0 / 0.9395 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/1.261, allocations: 87.61 MB / 1.025 GB, free: 223.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.41/19.67, allocations: 4.094 kB / 1.025 GB, free: 223.3 MB / 0.67 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.2526783170033]