Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.00097, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001303/0.001303, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.4023/0.4023, allocations: 40 MB / 310.4 MB, free: 9.68 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.0005904/0.0005906, allocations: 20 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1513, allocations: 57.95 MB / 436.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.2389/0.3903, allocations: 29.18 MB / 465.9 MB, free: 33.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.4065, allocations: 7.523 MB / 473.5 MB, free: 31.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005939/0.4125, allocations: 140.3 kB / 473.6 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0034/0.4159, allocations: 1.474 MB / 475.1 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01322/0.4292, allocations: 4.429 MB / 479.5 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.4313, allocations: 410.5 kB / 479.9 MB, free: 29.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003815/0.4351, allocations: 2.133 MB / 482 MB, free: 29.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003832/0.439, allocations: 3.348 MB / 485.4 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.4402, allocations: 0.9361 MB / 486.3 MB, free: 27.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.4416, allocations: 1.301 MB / 487.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.442, allocations: 145.6 kB / 487.8 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.4437, allocations: 0.8492 MB / 488.6 MB, free: 26.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.445, allocations: 1.529 MB / 490.1 MB, free: 26.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.4458, allocations: 0.8476 MB / 491 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007612/0.4534, allocations: 5.59 MB / 496.6 MB, free: 24.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4534, allocations: 3.938 kB / 496.6 MB, free: 24.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4534, allocations: 0 / 496.6 MB, free: 24.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000281/0.4537, allocations: 1.031 kB / 496.6 MB, free: 24.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01191/0.4656, allocations: 4.147 MB / 0.489 GB, free: 22.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4657, allocations: 9.938 kB / 0.489 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.48, allocations: 3.797 MB / 0.4927 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00776/0.4878, allocations: 2.323 MB / 0.495 GB, free: 19.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.4881, allocations: 229.1 kB / 0.4952 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.4899, allocations: 300.1 kB / 0.4955 GB, free: 19.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/0.5123, allocations: 11.49 MB / 0.5067 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/0.5125, allocations: 30.75 kB / 0.5067 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007959/0.5133, allocations: 135.8 kB / 0.5069 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004435/0.5177, allocations: 2.64 MB / 0.5094 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/0.5376, allocations: 10.74 MB / 0.5199 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0624/0.6001, allocations: 36.53 MB / 0.5556 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007871/0.608, allocations: 4.396 MB / 0.5599 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.6092, allocations: 1.311 MB / 0.5612 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.6092, allocations: 68.48 kB / 0.5612 GB, free: 6.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=244): time 6.232e-06/0.6093, allocations: 0 / 0.5612 GB, free: 6.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=265): time 0.03938/0.6486, allocations: 14.51 MB / 0.5754 GB, free: 7.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.6487, allocations: 77.34 kB / 0.5755 GB, free: 7.559 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.6529, allocations: 2.942 MB / 0.5784 GB, free: 4.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/0.6534, allocations: 57.7 kB / 0.5784 GB, free: 4.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.6552, allocations: 2.938 MB / 0.5813 GB, free: 1.551 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.6563, allocations: 0.979 MB / 0.5822 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.6565, allocations: 116 kB / 0.5823 GB, free: 456 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003457/0.6569, allocations: 0.558 MB / 0.5829 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003399/0.6603, allocations: 2.338 MB / 0.5852 GB, free: 13.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/0.6655, allocations: 5.482 MB / 0.5905 GB, free: 6.508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004919/0.6705, allocations: 3.595 MB / 0.594 GB, free: 2.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-05/0.6705, allocations: 39.95 kB / 0.5941 GB, free: 2.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.01611/0.6867, allocations: 8.549 MB / 0.6024 GB, free: 10.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.6868, allocations: 52 kB / 0.6025 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.6869, allocations: 112 kB / 0.6026 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003657/0.6906, allocations: 1.052 MB / 0.6036 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/0.6952, allocations: 1.333 MB / 0.6049 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.6981, allocations: 2.506 MB / 0.6074 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004504/0.7026, allocations: 323.6 kB / 0.6077 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.7038, allocations: 340 kB / 0.608 GB, free: 4.449 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (723): * Single equations (assignments): 714 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004944/0.7088, allocations: 2.274 MB / 0.6102 GB, free: 2.164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/0.7093, allocations: 292.2 kB / 0.6105 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009073/0.7184, allocations: 5.067 MB / 0.6154 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/0.7185, allocations: 47.98 kB / 0.6155 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.7185, allocations: 4 kB / 0.6155 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.7185, allocations: 11.95 kB / 0.6155 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/0.7407, allocations: 11.57 MB / 0.6268 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.7407, allocations: 8 kB / 0.6268 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.7425, allocations: 431.4 kB / 0.6272 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2278/0.9703, allocations: 0.9045 MB / 0.6281 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007941/0.9712, allocations: 57 kB / 0.6282 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.9735, allocations: 2.297 MB / 0.6304 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.9735, allocations: 11.31 kB / 0.6304 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.9849, allocations: 8.158 MB / 0.6384 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009454/0.9859, allocations: 336.7 kB / 0.6387 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004657/0.9864, allocations: 54.55 kB / 0.6387 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.9877, allocations: 141 kB / 0.6389 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/0.988, allocations: 165.6 kB / 0.639 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.9882, allocations: 76.75 kB / 0.6391 GB, free: 138.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002529/0.9907, allocations: 1.809 MB / 0.6409 GB, free: 138.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9907, allocations: 0 / 0.6409 GB, free: 138.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004286/0.995, allocations: 1.025 MB / 0.6419 GB, free: 138 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * 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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005351/0.9956, allocations: 214.6 kB / 0.6421 GB, free: 137.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008909/1.005, allocations: 6.148 MB / 0.6481 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.005, allocations: 0 / 0.6481 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004292/1.009, allocations: 2.6 MB / 0.6506 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.011, allocations: 381.9 kB / 0.651 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.032, allocations: 13 MB / 0.6637 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00423/1.036, allocations: 3.6 MB / 0.6672 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005165/1.041, allocations: 2.094 MB / 0.6692 GB, free: 126.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008844/1.042, allocations: 241.7 kB / 0.6695 GB, free: 126.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/1.042, allocations: 0 / 0.6695 GB, free: 126.4 MB / 494.1 MB Notification: Performance of Templates: time 0.05321/1.096, allocations: 32.23 MB / 0.7009 GB, free: 106.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) Environment - environmentSimulation: