Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.008808/0.008808, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00132/0.00132, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2327/0.2327, allocations: 37.99 MB / 307.9 MB, free: 5.988 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.1. 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.001551/0.001551, allocations: 71.89 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1367, allocations: 56.46 MB / 489.5 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01488/0.1516, allocations: 13.17 MB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1623, allocations: 4.169 MB / 0.4949 GB, free: 4.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002944/0.1652, allocations: 67.81 kB / 0.495 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.1695, allocations: 1.861 MB / 0.4968 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.1752, allocations: 1.911 MB / 0.4987 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1768, allocations: 0.4989 MB / 0.4992 GB, free: 116 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006043/0.1829, allocations: 3.904 MB / 0.503 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004884/0.1878, allocations: 2.923 MB / 0.5058 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.1907, allocations: 1.413 MB / 0.5072 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/0.1944, allocations: 1.97 MB / 0.5091 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.1957, allocations: 304 kB / 0.5094 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.1988, allocations: 1.127 MB / 0.5105 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002817/0.2017, allocations: 1.839 MB / 0.5123 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0045/0.2062, allocations: 2.205 MB / 0.5145 GB, free: 344 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3382/0.5444, allocations: 7.324 MB / 0.5216 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.5445, allocations: 0.5156 kB / 0.5216 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5445, allocations: 0 / 0.5216 GB, free: 9.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002785/0.5448, allocations: 0 / 0.5216 GB, free: 9.949 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01608/0.5609, allocations: 4.887 MB / 0.5264 GB, free: 8.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5609, allocations: 16.11 kB / 0.5264 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.5721, allocations: 3.133 MB / 0.5295 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007221/0.5793, allocations: 2.186 MB / 0.5316 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.5797, allocations: 226.9 kB / 0.5318 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.5819, allocations: 298.9 kB / 0.5321 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.6069, allocations: 11.46 MB / 0.5433 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/0.6071, allocations: 32.12 kB / 0.5433 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005083/0.6076, allocations: 133.4 kB / 0.5435 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003779/0.6114, allocations: 2.637 MB / 0.546 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.6356, allocations: 10.69 MB / 0.5565 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07578/0.7114, allocations: 36.23 MB / 0.5919 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009902/0.7213, allocations: 4.398 MB / 0.5961 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/0.7253, allocations: 2.166 MB / 0.5983 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/0.7269, allocations: 1.319 MB / 0.5996 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.524e-05/0.727, allocations: 60.55 kB / 0.5996 GB, free: 14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 6.723e-06/0.727, allocations: 0 / 0.5996 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04521/0.7722, allocations: 13.89 MB / 0.6132 GB, free: 100 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.7723, allocations: 73.41 kB / 0.6132 GB, free: 16 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006686/0.779, allocations: 2.841 MB / 0.616 GB, free: 13.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006903/0.7798, allocations: 57.7 kB / 0.6161 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003022/0.7828, allocations: 2.941 MB / 0.6189 GB, free: 10.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001862/0.7847, allocations: 0.9716 MB / 0.6199 GB, free: 9.211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004708/0.7894, allocations: 1.163 MB / 0.621 GB, free: 8.039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7896, allocations: 301.1 kB / 0.6213 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004882/0.7945, allocations: 2.38 MB / 0.6236 GB, free: 5.359 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007285/0.8018, allocations: 5.537 MB / 0.6291 GB, free: 14.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/0.814, allocations: 8.682 MB / 0.6375 GB, free: 4.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/0.8142, allocations: 28 kB / 0.6376 GB, free: 4.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02084/0.835, allocations: 8.623 MB / 0.646 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.8352, allocations: 52 kB / 0.646 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00022/0.8354, allocations: 115.9 kB / 0.6461 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.8392, allocations: 1.048 MB / 0.6472 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005129/0.8443, allocations: 1.341 MB / 0.6485 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.8476, allocations: 2.596 MB / 0.651 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/0.8524, allocations: 315.7 kB / 0.6513 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/0.8538, allocations: 332 kB / 0.6516 GB, free: 6.301 MB / 0.4981 GB 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 (727): * Single equations (assignments): 718 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006875/0.8607, allocations: 2.28 MB / 0.6539 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.8618, allocations: 287.1 kB / 0.6541 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.8735, allocations: 5.086 MB / 0.6591 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.292e-05/0.8736, allocations: 47.98 kB / 0.6591 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.8737, allocations: 4 kB / 0.6591 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.82e-05/0.8737, allocations: 7.969 kB / 0.6591 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/0.903, allocations: 11.53 MB / 0.6704 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.9031, allocations: 7.984 kB / 0.6704 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/0.9052, allocations: 427.4 kB / 0.6708 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/0.9087, allocations: 0.9037 MB / 0.6717 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007833/0.9095, allocations: 62.59 kB / 0.6718 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.9129, allocations: 2.409 MB / 0.6741 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.913, allocations: 16 kB / 0.6741 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/0.9265, allocations: 7.538 MB / 0.6815 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.9275, allocations: 333.3 kB / 0.6818 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008561/0.9284, allocations: 48 kB / 0.6819 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.9303, allocations: 139.8 kB / 0.682 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/0.9308, allocations: 161.5 kB / 0.6821 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/0.931, allocations: 79.11 kB / 0.6822 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003954/0.935, allocations: 1.746 MB / 0.6839 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/0.935, allocations: 0 / 0.6839 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006279/0.9413, allocations: 1.004 MB / 0.6849 GB, free: 3.672 MB / 0.5294 GB 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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007701/0.9421, allocations: 191.4 kB / 0.6851 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01186/0.9539, allocations: 6.239 MB / 0.6912 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.954, allocations: 0.9375 kB / 0.6912 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005325/0.9593, allocations: 2.619 MB / 0.6937 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/0.9638, allocations: 465.6 kB / 0.6942 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/0.9905, allocations: 10.86 MB / 0.7048 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008238/0.9987, allocations: 3.5 MB / 0.7082 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005785/1.005, allocations: 2.097 MB / 0.7103 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.006, allocations: 243.3 kB / 0.7105 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of SimCode: time 1.883e-06/1.006, allocations: 0 / 0.7105 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of Templates: time 0.3448/1.351, allocations: 31.58 MB / 0.7413 GB, free: 206 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)