Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 188.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.411/0.411, allocations: 39.93 MB / 309.4 MB, free: 9.051 MB / 254.1 MB 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 71.91 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1618, allocations: 56.88 MB / 434 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3918/0.5537, allocations: 93.46 MB / 0.5151 GB, free: 8.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06538/0.6191, allocations: 17.88 MB / 0.5325 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03612/0.6553, allocations: 397.5 kB / 0.5329 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.668, allocations: 4.407 MB / 0.5372 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.6798, allocations: 2.427 MB / 0.5396 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.6842, allocations: 1.069 MB / 0.5406 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.6981, allocations: 6.941 MB / 0.5474 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.7087, allocations: 6.079 MB / 0.5534 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007296/0.7161, allocations: 2.523 MB / 0.5558 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009264/0.7254, allocations: 3.817 MB / 0.5595 GB, free: 8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003104/0.7286, allocations: 0.5664 MB / 0.5601 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005824/0.7344, allocations: 1.584 MB / 0.5616 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005322/0.7397, allocations: 3.218 MB / 0.5648 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008395/0.7482, allocations: 3.678 MB / 0.5684 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01743/0.7656, allocations: 11.23 MB / 0.5793 GB, free: 3.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.7657, allocations: 0 / 0.5793 GB, free: 3.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7657, allocations: 0 / 0.5793 GB, free: 3.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005414/0.7663, allocations: 0 / 0.5793 GB, free: 3.652 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02825/0.7945, allocations: 7.684 MB / 0.5869 GB, free: 11.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.263e-05/0.7946, allocations: 19.83 kB / 0.5869 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01612/0.8108, allocations: 2.838 MB / 0.5896 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.8238, allocations: 4.293 MB / 0.5938 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005528/0.8244, allocations: 389.8 kB / 0.5942 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003385/0.8278, allocations: 0.5035 MB / 0.5947 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04501/0.8729, allocations: 16.4 MB / 0.6107 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000246/0.8732, allocations: 67.36 kB / 0.6108 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009078/0.8741, allocations: 239.8 kB / 0.611 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005596/0.8797, allocations: 3.162 MB / 0.6141 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/0.9136, allocations: 14.14 MB / 0.6279 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3958/1.309, allocations: 60.62 MB / 0.6871 GB, free: 101.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02263/1.332, allocations: 8.009 MB / 0.6949 GB, free: 98.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006491/1.339, allocations: 4.208 MB / 0.699 GB, free: 97.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/1.339, allocations: 55.8 kB / 0.6991 GB, free: 97.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.339, allocations: 71.31 kB / 0.6992 GB, free: 97.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.811e-06/1.339, allocations: 0 / 0.6992 GB, free: 97.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.09298/1.432, allocations: 35.39 MB / 0.7337 GB, free: 73.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.432, allocations: 218 kB / 0.7339 GB, free: 72.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.442, allocations: 6.366 MB / 0.7401 GB, free: 66.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001243/1.444, allocations: 77.64 kB / 0.7402 GB, free: 66.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00275/1.447, allocations: 4.539 MB / 0.7446 GB, free: 61.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002234/1.449, allocations: 1.24 MB / 0.7459 GB, free: 60.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00263/1.451, allocations: 1.812 MB / 0.7476 GB, free: 58.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/1.451, allocations: 305.1 kB / 0.7479 GB, free: 58.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005006/1.456, allocations: 4.105 MB / 0.7519 GB, free: 54.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007653/1.464, allocations: 8.96 MB / 0.7607 GB, free: 43.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/1.479, allocations: 13.98 MB / 0.7743 GB, free: 26.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002209/1.48, allocations: 52 kB / 0.7744 GB, free: 26.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03293/1.513, allocations: 14.96 MB / 0.789 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003712/1.513, allocations: 76 kB / 0.7891 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005178/1.513, allocations: 170.7 kB / 0.7892 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005917/1.519, allocations: 2.28 MB / 0.7915 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00784/1.527, allocations: 2.098 MB / 0.7935 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/1.546, allocations: 14.45 MB / 0.8076 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009542/1.555, allocations: 0.5384 MB / 0.8081 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002654/1.558, allocations: 0.5077 MB / 0.8086 GB, free: 7.227 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1084): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01017/1.568, allocations: 3.157 MB / 0.8117 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002789/1.571, allocations: 0.5514 MB / 0.8123 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.347/1.918, allocations: 8.451 MB / 0.8205 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.846e-05/1.918, allocations: 34.56 kB / 0.8206 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/1.918, allocations: 12.94 kB / 0.8206 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-05/1.918, allocations: 19.75 kB / 0.8206 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03167/1.95, allocations: 17.43 MB / 0.8376 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/1.95, allocations: 3.125 kB / 0.8376 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003638/1.953, allocations: 0.6014 MB / 0.8382 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/1.959, allocations: 2.036 MB / 0.8402 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009071/1.96, allocations: 61.88 kB / 0.8402 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01918/1.979, allocations: 13.66 MB / 0.8536 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.979, allocations: 9.578 kB / 0.8536 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02503/2.004, allocations: 13.52 MB / 0.8668 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005199/2.009, allocations: 1.246 MB / 0.868 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002291/2.012, allocations: 55.78 kB / 0.8681 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004138/2.016, allocations: 278.5 kB / 0.8683 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009782/2.017, allocations: 205.4 kB / 0.8685 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/2.017, allocations: 90.91 kB / 0.8686 GB, free: 128.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009843/2.027, allocations: 4.051 MB / 0.8726 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.01e-07/2.027, allocations: 0 / 0.8726 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01089/2.038, allocations: 1.745 MB / 0.8743 GB, free: 127.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/2.039, allocations: 211.4 kB / 0.8745 GB, free: 127.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02433/2.063, allocations: 14.5 MB / 0.8886 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/2.063, allocations: 0 / 0.8886 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006735/2.07, allocations: 4.133 MB / 0.8927 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/2.076, allocations: 0.729 MB / 0.8934 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03247/2.109, allocations: 19.5 MB / 0.9124 GB, free: 91.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007119/2.116, allocations: 4.857 MB / 0.9172 GB, free: 86.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007747/2.124, allocations: 2.913 MB / 0.92 GB, free: 83.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/2.126, allocations: 399.3 kB / 0.9204 GB, free: 83.44 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/2.126, allocations: 0 / 0.9204 GB, free: 83.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.1215/2.247, allocations: 71.85 MB / 0.9906 GB, free: 11.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)