Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 113.1 kB / 17.08 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 192.7 kB / 20.02 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 227.9 MB, free: 4.363 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3491/0.3491, allocations: 43.51 MB / 320.8 MB, free: 9.008 MB / 254.1 MB " [Timeout remaining time 180] 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.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002127/0.002127, allocations: 75.89 kB / 450 MB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.274, allocations: 57.77 MB / 0.4959 GB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.009594/0.2836, allocations: 10.4 MB / 0.5061 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007948/0.2916, allocations: 3.873 MB / 0.5098 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.2939, allocations: 61.06 kB / 0.5099 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00348/0.2975, allocations: 2.071 MB / 0.5119 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.3018, allocations: 1.697 MB / 0.5136 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.3033, allocations: 0.7056 MB / 0.5143 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004841/0.3081, allocations: 3.805 MB / 0.518 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/0.3105, allocations: 2.606 MB / 0.5205 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.3122, allocations: 1.331 MB / 0.5218 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.3148, allocations: 1.838 MB / 0.5236 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006107/0.3155, allocations: 268 kB / 0.5239 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/0.3183, allocations: 1.178 MB / 0.525 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002009/0.3204, allocations: 1.667 MB / 0.5267 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002546/0.3229, allocations: 1.977 MB / 0.5286 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008236/0.3312, allocations: 6.399 MB / 0.5348 GB, free: 2.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.3312, allocations: 4 kB / 0.5348 GB, free: 2.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3312, allocations: 0 / 0.5348 GB, free: 2.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001733/0.3314, allocations: 0 / 0.5348 GB, free: 2.215 MB / 398.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.01121/0.3426, allocations: 4.476 MB / 0.5392 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.3427, allocations: 15.89 kB / 0.5392 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001153/0.3439, allocations: 0.6288 MB / 0.5398 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09147/0.4354, allocations: 7.052 MB / 0.5467 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006747/0.4422, allocations: 2.895 MB / 0.5496 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.4424, allocations: 193.3 kB / 0.5497 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007501/0.4431, allocations: 283.7 kB / 0.55 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/0.457, allocations: 8.509 MB / 0.5583 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/0.4572, allocations: 47.62 kB / 0.5584 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.4575, allocations: 127.9 kB / 0.5585 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00298/0.4605, allocations: 1.735 MB / 0.5602 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.4746, allocations: 7.163 MB / 0.5672 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04205/0.5166, allocations: 33.89 MB / 0.6003 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008846/0.5255, allocations: 3.4 MB / 0.6036 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.5279, allocations: 1.662 MB / 0.6052 GB, free: 8.117 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5392, allocations: 7.242 MB / 0.6123 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.5393, allocations: 51.56 kB / 0.6123 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 4.248e-06/0.5393, allocations: 0 / 0.6123 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06397/0.6033, allocations: 19.28 MB / 0.6312 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.6035, allocations: 201.2 kB / 0.6314 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/0.6093, allocations: 3.773 MB / 0.635 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003951/0.6097, allocations: 49.7 kB / 0.6351 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.6123, allocations: 2.941 MB / 0.638 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009084/0.6132, allocations: 0.7442 MB / 0.6387 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00159/0.6148, allocations: 1.179 MB / 0.6398 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6149, allocations: 309.1 kB / 0.6401 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.6181, allocations: 2.088 MB / 0.6422 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2263/0.8444, allocations: 5.641 MB / 0.6477 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.8548, allocations: 8.399 MB / 0.6559 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002718/0.8552, allocations: 37 kB / 0.6559 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01836/0.8735, allocations: 8.706 MB / 0.6644 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.8737, allocations: 57.75 kB / 0.6645 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/0.8739, allocations: 124.8 kB / 0.6646 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005185/0.8791, allocations: 1.391 MB / 0.666 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/0.8834, allocations: 1.287 MB / 0.6672 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.8945, allocations: 9.205 MB / 0.6762 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004273/0.8988, allocations: 309.2 kB / 0.6765 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008049/0.8996, allocations: 355.4 kB / 0.6768 GB, free: 108.1 MB / 0.4981 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.002588/0.9022, allocations: 1.892 MB / 0.6787 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000539/0.9028, allocations: 353 kB / 0.679 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007204/0.91, allocations: 3.761 MB / 0.6827 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.315e-05/0.91, allocations: 26.22 kB / 0.6827 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.9101, allocations: 7.562 kB / 0.6827 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.9101, allocations: 19.69 kB / 0.6827 GB, free: 105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.9233, allocations: 8.133 MB / 0.6907 GB, free: 97.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.9233, allocations: 3.938 kB / 0.6907 GB, free: 97.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.9245, allocations: 255.6 kB / 0.6909 GB, free: 96.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004164/0.9287, allocations: 1.18 MB / 0.6921 GB, free: 95.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.9289, allocations: 28 kB / 0.6921 GB, free: 95.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00974/0.9386, allocations: 8.486 MB / 0.7004 GB, free: 87.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9387, allocations: 1.078 kB / 0.7004 GB, free: 87.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009483/0.9482, allocations: 6.291 MB / 0.7065 GB, free: 80.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.9495, allocations: 0.6237 MB / 0.7072 GB, free: 80.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004145/0.9499, allocations: 31.98 kB / 0.7072 GB, free: 80.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.9512, allocations: 79.97 kB / 0.7073 GB, free: 79.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.9515, allocations: 112.5 kB / 0.7074 GB, free: 79.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.9516, allocations: 55.98 kB / 0.7074 GB, free: 79.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002582/0.9542, allocations: 2.34 MB / 0.7097 GB, free: 77.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9542, allocations: 0 / 0.7097 GB, free: 77.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004207/0.9584, allocations: 0.9699 MB / 0.7107 GB, free: 76.52 MB / 0.4981 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.009476/0.9679, allocations: 6.989 MB / 0.7175 GB, free: 69.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007638/0.9756, allocations: 5.212 MB / 0.7226 GB, free: 64.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.9757, allocations: 4.562 kB / 0.7226 GB, free: 64.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.9777, allocations: 1.749 MB / 0.7243 GB, free: 62.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.98, allocations: 401.1 kB / 0.7247 GB, free: 62.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05059/1.031, allocations: 44.39 MB / 0.768 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/1.033, allocations: 2.965 MB / 0.7709 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003218/1.036, allocations: 1.813 MB / 0.7727 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.038, allocations: 1.655 MB / 0.7743 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of SimCode: time 9.61e-07/1.038, allocations: 4 kB / 0.7743 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/1.164, allocations: 67.2 MB / 0.8399 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.07/27.23, allocations: 7.922 kB / 0.8399 GB, free: 2.492 MB / 0.5606 GB " [Timeout remaining time 633] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.12999347690493] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 27.358398935990408 27.374471212 27.040277306 Calling exit ...