Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.001179/0.001179, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001244/0.001244, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.269/1.269, allocations: 230.2 MB / 256.1 MB, free: 8.594 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.1969/0.1969, allocations: 46.89 MB / 359.3 MB, free: 4.957 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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.002099/0.002099, allocations: 83.88 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.252, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.0164/0.2684, allocations: 15.99 MB / 0.574 GB, free: 5.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006535/0.275, allocations: 3.889 MB / 0.5778 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.2758, allocations: 91.75 kB / 0.5779 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005245/0.2811, allocations: 3.153 MB / 0.581 GB, free: 14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.2842, allocations: 1.816 MB / 0.5828 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.285, allocations: 471 kB / 0.5832 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00412/0.2891, allocations: 4.006 MB / 0.5871 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/0.2917, allocations: 2.268 MB / 0.5893 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.2936, allocations: 1.908 MB / 0.5912 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003653/0.2972, allocations: 3.174 MB / 0.5943 GB, free: 276 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007207/0.298, allocations: 496 kB / 0.5948 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.2995, allocations: 0.9638 MB / 0.5957 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.3014, allocations: 2.283 MB / 0.5979 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.3039, allocations: 2.774 MB / 0.6006 GB, free: 9.742 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0079/0.3118, allocations: 8.706 MB / 0.6091 GB, free: 1.004 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3118, allocations: 0 / 0.6091 GB, free: 1.004 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3118, allocations: 0 / 0.6091 GB, free: 1.004 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.248e-05/0.3119, allocations: 3.938 kB / 0.6091 GB, free: 1 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.0793/0.3912, allocations: 11.33 MB / 0.6202 GB, free: 5.578 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3912, allocations: 12.03 kB / 0.6202 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001356/0.3926, allocations: 0.8064 MB / 0.621 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/0.3989, allocations: 1.9 MB / 0.6229 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/0.404, allocations: 3.338 MB / 0.6261 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.4042, allocations: 287.6 kB / 0.6264 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.4053, allocations: 411.7 kB / 0.6268 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04647/0.4518, allocations: 19.55 MB / 0.6459 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/0.4519, allocations: 51.58 kB / 0.6459 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008614/0.4528, allocations: 187.8 kB / 0.6461 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005621/0.4584, allocations: 2.342 MB / 0.6484 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05084/0.5092, allocations: 22.39 MB / 0.6703 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06481/0.574, allocations: 52.47 MB / 0.7215 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06565/0.6397, allocations: 9.096 MB / 0.7304 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1949/0.8346, allocations: 2.972 MB / 0.7333 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001711/0.8363, allocations: 355.1 kB / 0.7336 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.8364, allocations: 53 kB / 0.7337 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 4.117e-06/0.8364, allocations: 0 / 0.7337 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.1193/0.9557, allocations: 16.12 MB / 0.7494 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.9557, allocations: 148.9 kB / 0.7496 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/0.9598, allocations: 4.704 MB / 0.7541 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.9599, allocations: 53.7 kB / 0.7542 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.961, allocations: 3.628 MB / 0.7577 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004473/0.9615, allocations: 0.8723 MB / 0.7586 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001315/0.9628, allocations: 1.55 MB / 0.7601 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.185e-05/0.9628, allocations: 305.4 kB / 0.7604 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.9656, allocations: 3.175 MB / 0.7635 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/0.9694, allocations: 7.464 MB / 0.7708 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007261/0.9767, allocations: 11.48 MB / 0.782 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.211e-05/0.9767, allocations: 44 kB / 0.782 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01034/0.9871, allocations: 10.64 MB / 0.7924 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.9871, allocations: 72.03 kB / 0.7925 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.041e-05/0.9872, allocations: 152 kB / 0.7926 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.9873, allocations: 204 kB / 0.7928 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004531/0.9919, allocations: 1.801 MB / 0.7946 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001218/0.992, allocations: 294.9 kB / 0.7949 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/0.996, allocations: 0.9526 MB / 0.7958 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004396/0.9965, allocations: 0.5154 MB / 0.7963 GB, free: 102.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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 (855): * Single equations (assignments): 852 * Array equations: 3 * 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.002403/0.9989, allocations: 2.311 MB / 0.7986 GB, free: 99.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/0.9995, allocations: 429.1 kB / 0.799 GB, free: 99.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/1.004, allocations: 4.861 MB / 0.8037 GB, free: 94.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/1.004, allocations: 24 kB / 0.8037 GB, free: 94.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.004, allocations: 0 / 0.8037 GB, free: 94.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.004, allocations: 7.969 kB / 0.8038 GB, free: 94.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/1.015, allocations: 11.53 MB / 0.815 GB, free: 82.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.015, allocations: 8 kB / 0.815 GB, free: 82.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.017, allocations: 0.5928 MB / 0.8156 GB, free: 82.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/1.017, allocations: 16.78 kB / 0.8156 GB, free: 82.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/1.017, allocations: 151.4 kB / 0.8158 GB, free: 82.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/1.017, allocations: 28.39 kB / 0.8158 GB, free: 82.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.017, allocations: 8 kB / 0.8158 GB, free: 82.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/1.024, allocations: 8.936 MB / 0.8245 GB, free: 73.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/1.024, allocations: 0.5174 MB / 0.825 GB, free: 72.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/1.025, allocations: 51.98 kB / 0.8251 GB, free: 72.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.027, allocations: 83.92 kB / 0.8252 GB, free: 72.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/1.027, allocations: 236.7 kB / 0.8254 GB, free: 72.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.027, allocations: 168.8 kB / 0.8255 GB, free: 72.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002751/1.03, allocations: 2.946 MB / 0.8284 GB, free: 69.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 4 kB / 0.8284 GB, free: 69.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004378/1.034, allocations: 1.368 MB / 0.8298 GB, free: 67.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * 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.007138/1.041, allocations: 9.581 MB / 0.8391 GB, free: 58.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006742/1.048, allocations: 6.977 MB / 0.8459 GB, free: 51.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.048, allocations: 4 kB / 0.8459 GB, free: 51.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001905/1.05, allocations: 2.368 MB / 0.8483 GB, free: 48.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.052, allocations: 0.5653 MB / 0.8488 GB, free: 48.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0547/1.107, allocations: 59.93 MB / 0.9073 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/1.111, allocations: 3.596 MB / 0.9108 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004743/1.116, allocations: 2.302 MB / 0.9131 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003341/1.119, allocations: 2.49 MB / 0.9155 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/1.119, allocations: 0 / 0.9155 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.343/1.462, allocations: 93.99 MB / 1.007 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.09, allocations: 14.16 kB / 1.007 GB, free: 221.5 MB / 0.6544 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_InitializationConversion_Rotor1D_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.623353082002723]