Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.00204/0.00204, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002519/0.002519, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.525/1.525, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2483/0.2483, allocations: 46.94 MB / 361.6 MB, free: 4.219 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.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.003344/0.003344, allocations: 75.88 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3465, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01351/0.36, allocations: 10.42 MB / 0.5717 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009021/0.3691, allocations: 3.946 MB / 0.5755 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.3714, allocations: 75.62 kB / 0.5756 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004925/0.3763, allocations: 2.106 MB / 0.5777 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.3814, allocations: 1.716 MB / 0.5793 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.3834, allocations: 0.6979 MB / 0.58 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006708/0.3901, allocations: 4.005 MB / 0.5839 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/0.3937, allocations: 2.155 MB / 0.586 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.3964, allocations: 1.328 MB / 0.5873 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.3999, allocations: 2.005 MB / 0.5893 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009783/0.4009, allocations: 264 kB / 0.5895 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.4036, allocations: 1.221 MB / 0.5907 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.4058, allocations: 1.714 MB / 0.5924 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003028/0.4088, allocations: 1.949 MB / 0.5943 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009085/0.4179, allocations: 6.346 MB / 0.6005 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.4179, allocations: 0 / 0.6005 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4179, allocations: 0 / 0.6005 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002113/0.4181, allocations: 0 / 0.6005 GB, free: 12.18 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.0116/0.4297, allocations: 4.37 MB / 0.6048 GB, free: 7.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4298, allocations: 8.031 kB / 0.6048 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00141/0.4312, allocations: 0.6327 MB / 0.6054 GB, free: 7.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07341/0.5046, allocations: 7.052 MB / 0.6123 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/0.5111, allocations: 2.561 MB / 0.6148 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.5113, allocations: 193.3 kB / 0.615 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.5123, allocations: 275.7 kB / 0.6152 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.5283, allocations: 8.525 MB / 0.6236 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.5284, allocations: 47.62 kB / 0.6236 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005634/0.529, allocations: 119.9 kB / 0.6237 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00299/0.532, allocations: 1.739 MB / 0.6254 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.5471, allocations: 7.174 MB / 0.6324 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04549/0.5926, allocations: 33.75 MB / 0.6654 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008721/0.6013, allocations: 2.848 MB / 0.6682 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/0.6039, allocations: 1.514 MB / 0.6697 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.6166, allocations: 6.293 MB / 0.6758 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.599e-05/0.6166, allocations: 55.5 kB / 0.6758 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=151): time 4.789e-06/0.6166, allocations: 0 / 0.6758 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=188): time 0.06578/0.6824, allocations: 18.91 MB / 0.6943 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.6826, allocations: 201.2 kB / 0.6945 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/0.6893, allocations: 3.745 MB / 0.6982 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003838/0.6896, allocations: 53.7 kB / 0.6982 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002801/0.6924, allocations: 2.933 MB / 0.7011 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.6935, allocations: 0.7481 MB / 0.7018 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002243/0.6958, allocations: 1.175 MB / 0.703 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6959, allocations: 305.1 kB / 0.7032 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/0.6998, allocations: 2.104 MB / 0.7053 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007551/0.7073, allocations: 5.656 MB / 0.7108 GB, free: 7.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.719, allocations: 8.429 MB / 0.7191 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/0.7192, allocations: 36 kB / 0.7191 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01992/0.7391, allocations: 8.692 MB / 0.7276 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.7392, allocations: 60 kB / 0.7276 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/0.7394, allocations: 124 kB / 0.7278 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005417/0.7448, allocations: 1.388 MB / 0.7291 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/0.7494, allocations: 1.302 MB / 0.7304 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2737/1.023, allocations: 9.096 MB / 0.7393 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/1.027, allocations: 304.2 kB / 0.7396 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008133/1.028, allocations: 353.9 kB / 0.7399 GB, free: 147.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (695): * Single equations (assignments): 691 * 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,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002781/1.031, allocations: 1.896 MB / 0.7417 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/1.032, allocations: 354.8 kB / 0.7421 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007553/1.039, allocations: 3.748 MB / 0.7457 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/1.039, allocations: 26.73 kB / 0.7458 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.039, allocations: 7.812 kB / 0.7458 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/1.039, allocations: 7.219 kB / 0.7458 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/1.054, allocations: 8.103 MB / 0.7537 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.054, allocations: 0 / 0.7537 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.055, allocations: 252.7 kB / 0.7539 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004205/1.06, allocations: 1.178 MB / 0.7551 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/1.06, allocations: 35.36 kB / 0.7551 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.07, allocations: 8.375 MB / 0.7633 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.07, allocations: 7.031 kB / 0.7633 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.08, allocations: 6.285 MB / 0.7694 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009533/1.081, allocations: 324 kB / 0.7698 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007208/1.082, allocations: 27.44 kB / 0.7698 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.084, allocations: 83.03 kB / 0.7699 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/1.084, allocations: 117 kB / 0.77 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.084, allocations: 55.98 kB / 0.77 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003372/1.088, allocations: 2.328 MB / 0.7723 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.088, allocations: 0 / 0.7723 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004829/1.092, allocations: 0.9516 MB / 0.7732 GB, free: 123.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/1.103, allocations: 6.986 MB / 0.78 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007563/1.111, allocations: 5.019 MB / 0.785 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.111, allocations: 0 / 0.785 GB, free: 112 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/1.113, allocations: 1.631 MB / 0.7865 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.116, allocations: 396.4 kB / 0.7869 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06176/1.177, allocations: 44.34 MB / 0.8302 GB, free: 60.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003415/1.181, allocations: 2.965 MB / 0.8331 GB, free: 57.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003748/1.185, allocations: 1.811 MB / 0.8349 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/1.187, allocations: 1.647 MB / 0.8365 GB, free: 53.66 MB / 0.5606 GB Notification: Performance of SimCode: time 1.984e-06/1.187, allocations: 0 / 0.8365 GB, free: 53.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.306, allocations: 72.11 MB / 0.9069 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.99/27.29, allocations: 7.969 kB / 0.9069 GB, free: 13.87 MB / 0.5919 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.386196260340512] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 27.43046098900959 27.452801848 27.030006155 Calling exit ...