Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001747/0.001747, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.002241/0.002241, allocations: 219 kB / 23.72 MB, free: 5.051 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.538/1.538, allocations: 230.2 MB / 257.1 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] 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.2463/0.2463, allocations: 46.89 MB / 360.3 MB, free: 4.637 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.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.00244/0.00244, allocations: 83.86 kB / 0.4955 GB, free: 8.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3633, allocations: 66 MB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01684/0.3802, allocations: 13.11 MB / 0.5728 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3905, allocations: 4.326 MB / 0.577 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.3938, allocations: 79.81 kB / 0.5771 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008098/0.4019, allocations: 3.773 MB / 0.5808 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006318/0.4082, allocations: 2.015 MB / 0.5827 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.411, allocations: 0.8265 MB / 0.5836 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007815/0.4188, allocations: 4.225 MB / 0.5877 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006856/0.4256, allocations: 3.466 MB / 0.5911 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.4297, allocations: 1.854 MB / 0.5929 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/0.4347, allocations: 2.64 MB / 0.5954 GB, free: 432 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.4365, allocations: 416 kB / 0.5958 GB, free: 16 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.4401, allocations: 1.163 MB / 0.597 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003935/0.444, allocations: 2.259 MB / 0.5992 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005854/0.4499, allocations: 2.602 MB / 0.6017 GB, free: 9.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.464, allocations: 8.124 MB / 0.6097 GB, free: 1.812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.464, allocations: 0 / 0.6097 GB, free: 1.812 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.464, allocations: 4 kB / 0.6097 GB, free: 1.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000377/0.4644, allocations: 0 / 0.6097 GB, free: 1.809 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02667/0.4911, allocations: 6.359 MB / 0.6159 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.775e-05/0.4911, allocations: 8.031 kB / 0.6159 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003351/0.4945, allocations: 0.8347 MB / 0.6167 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008941/0.5034, allocations: 2.01 MB / 0.6187 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007992/0.5114, allocations: 2.926 MB / 0.6215 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.5117, allocations: 291.5 kB / 0.6218 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.5134, allocations: 395.8 kB / 0.6222 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02802/0.5414, allocations: 12.2 MB / 0.6341 GB, free: 7.926 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/0.5416, allocations: 51.59 kB / 0.6341 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/0.5429, allocations: 179.8 kB / 0.6343 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004717/0.5476, allocations: 2.198 MB / 0.6365 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02535/0.573, allocations: 11.21 MB / 0.6474 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07719/0.6502, allocations: 45.95 MB / 0.6923 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/0.67, allocations: 5.316 MB / 0.6975 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005261/0.6752, allocations: 3.153 MB / 0.7005 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/0.6767, allocations: 0.7026 MB / 0.7012 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.089e-05/0.6768, allocations: 55.81 kB / 0.7013 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 8.396e-06/0.6768, allocations: 4 kB / 0.7013 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.08783/0.7646, allocations: 27.55 MB / 0.7282 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.7647, allocations: 150.5 kB / 0.7283 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008374/0.7731, allocations: 4.42 MB / 0.7327 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007029/0.7738, allocations: 61.69 kB / 0.7327 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2572/1.031, allocations: 3.51 MB / 0.7361 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.033, allocations: 0.9187 MB / 0.737 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004908/1.038, allocations: 1.427 MB / 0.7384 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.111e-05/1.038, allocations: 307.6 kB / 0.7387 GB, free: 154 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/1.043, allocations: 3.269 MB / 0.7419 GB, free: 153 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007893/1.051, allocations: 7.074 MB / 0.7488 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/1.063, allocations: 11.14 MB / 0.7597 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/1.064, allocations: 41.06 kB / 0.7597 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=851) (initialization): time 0.0199/1.084, allocations: 11.28 MB / 0.7708 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/1.084, allocations: 64 kB / 0.7708 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/1.084, allocations: 136.2 kB / 0.771 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/1.086, allocations: 1.12 MB / 0.7721 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005923/1.092, allocations: 1.684 MB / 0.7737 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/1.099, allocations: 6.34 MB / 0.7799 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005638/1.105, allocations: 400.3 kB / 0.7803 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.106, allocations: 439.8 kB / 0.7807 GB, free: 119.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (812): * Single equations (assignments): 808 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003948/1.11, allocations: 2.3 MB / 0.7829 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/1.111, allocations: 421.1 kB / 0.7833 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009387/1.12, allocations: 6.177 MB / 0.7894 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/1.121, allocations: 27.52 kB / 0.7894 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.121, allocations: 7.875 kB / 0.7894 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/1.121, allocations: 17.83 kB / 0.7894 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/1.142, allocations: 12.88 MB / 0.802 GB, free: 97.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/1.142, allocations: 320 / 0.802 GB, free: 97.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/1.145, allocations: 0.546 MB / 0.8025 GB, free: 97.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002464/1.148, allocations: 0.9547 MB / 0.8035 GB, free: 96.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000662/1.148, allocations: 79.89 kB / 0.8035 GB, free: 96.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/1.155, allocations: 6.099 MB / 0.8095 GB, free: 89.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.155, allocations: 7.938 kB / 0.8095 GB, free: 89.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.169, allocations: 10.48 MB / 0.8197 GB, free: 79.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/1.172, allocations: 0.9049 MB / 0.8206 GB, free: 78.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.173, allocations: 47.98 kB / 0.8207 GB, free: 78.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.176, allocations: 163.8 kB / 0.8208 GB, free: 78.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008083/1.177, allocations: 190.7 kB / 0.821 GB, free: 78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004039/1.177, allocations: 99.89 kB / 0.8211 GB, free: 77.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004468/1.182, allocations: 2.773 MB / 0.8238 GB, free: 75.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/1.182, allocations: 3.938 kB / 0.8238 GB, free: 75.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006534/1.188, allocations: 1.183 MB / 0.825 GB, free: 73.95 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01532/1.204, allocations: 11.15 MB / 0.8359 GB, free: 62.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.011/1.215, allocations: 7.462 MB / 0.8431 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.215, allocations: 4 kB / 0.8432 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004363/1.219, allocations: 2.843 MB / 0.8459 GB, free: 52.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/1.224, allocations: 0.4974 MB / 0.8464 GB, free: 51.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09061/1.314, allocations: 59.09 MB / 0.9041 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007142/1.321, allocations: 3.625 MB / 0.9077 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006923/1.328, allocations: 2.253 MB / 0.9099 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005252/1.334, allocations: 2.323 MB / 0.9121 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of SimCode: time 2.184e-06/1.334, allocations: 0 / 0.9121 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4642/1.798, allocations: 92.44 MB / 1.002 GB, free: 225 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.3/23.1, allocations: 6.875 kB / 1.002 GB, free: 225 MB / 0.6544 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.248956543859094] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1.phi', 'r1.w', 'r2.phi', 'r2.w', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 23.24306169524789 23.259124313 22.791062009 Calling exit ...