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.0009395/0.0009392, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009545/0.009545, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.68/1.68, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3691/0.3691, allocations: 40 MB / 310.7 MB, free: 9.629 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.0006059/0.0006054, allocations: 24 kB / 379.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.153, allocations: 57.96 MB / 437.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.3489/0.5019, allocations: 33.05 MB / 470.5 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.523, allocations: 7.645 MB / 478.1 MB, free: 29.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009391/0.5325, allocations: 139.7 kB / 478.2 MB, free: 29.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.5338, allocations: 0.5 MB / 478.7 MB, free: 29.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.5386, allocations: 1.752 MB / 480.5 MB, free: 28.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.5397, allocations: 455.6 kB / 480.9 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005301/0.545, allocations: 5.55 MB / 486.5 MB, free: 27.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005418/0.5505, allocations: 3.83 MB / 490.3 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.5525, allocations: 1.055 MB / 491.4 MB, free: 25.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.555, allocations: 1.867 MB / 493.2 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005496/0.5556, allocations: 143.6 kB / 493.4 MB, free: 24.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.558, allocations: 1.041 MB / 494.4 MB, free: 24.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002304/0.5603, allocations: 1.694 MB / 496.1 MB, free: 23.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003122/0.5634, allocations: 2.02 MB / 498.1 MB, free: 22.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.5779, allocations: 6.755 MB / 0.4931 GB, free: 20.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.578, allocations: 0 / 0.4931 GB, free: 20.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.578, allocations: 1.344 kB / 0.4931 GB, free: 20.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004863/0.5785, allocations: 0 / 0.4931 GB, free: 20.47 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.01641/0.5949, allocations: 4.021 MB / 0.497 GB, free: 18.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.595, allocations: 9.375 kB / 0.497 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.6086, allocations: 3.228 MB / 0.5002 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006492/0.6151, allocations: 2.167 MB / 0.5023 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/0.6155, allocations: 225.9 kB / 0.5025 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/0.6175, allocations: 297.8 kB / 0.5028 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02564/0.6431, allocations: 11.47 MB / 0.514 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.6433, allocations: 28.16 kB / 0.514 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005344/0.6439, allocations: 138.5 kB / 0.5141 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00403/0.6479, allocations: 2.627 MB / 0.5167 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.6727, allocations: 10.71 MB / 0.5271 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07221/0.745, allocations: 36.45 MB / 0.5627 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.7556, allocations: 4.415 MB / 0.5671 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003608/0.7593, allocations: 2.162 MB / 0.5692 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.7607, allocations: 1.307 MB / 0.5704 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.7608, allocations: 56.56 kB / 0.5705 GB, free: 13.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 6.282e-06/0.7608, allocations: 0 / 0.5705 GB, free: 13.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.04702/0.8078, allocations: 13.96 MB / 0.5841 GB, free: 15.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.808, allocations: 77.34 kB / 0.5842 GB, free: 15.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00804/0.8161, allocations: 2.836 MB / 0.587 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008648/0.817, allocations: 57.7 kB / 0.587 GB, free: 12.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002787/0.8198, allocations: 2.942 MB / 0.5899 GB, free: 9.457 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001939/0.8218, allocations: 0.9674 MB / 0.5908 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.8225, allocations: 0.5031 MB / 0.5913 GB, free: 7.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8226, allocations: 309.1 kB / 0.5916 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/0.8269, allocations: 2.366 MB / 0.5939 GB, free: 5.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007012/0.8339, allocations: 5.537 MB / 0.5993 GB, free: 14.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/0.8459, allocations: 8.683 MB / 0.6078 GB, free: 3.973 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.8461, allocations: 32 kB / 0.6079 GB, free: 3.941 MB / 478.1 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02247/0.8686, allocations: 8.635 MB / 0.6163 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.8688, allocations: 55.94 kB / 0.6163 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/0.8691, allocations: 108 kB / 0.6164 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/0.8732, allocations: 1.041 MB / 0.6175 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005839/0.8791, allocations: 1.341 MB / 0.6188 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003842/0.883, allocations: 2.463 MB / 0.6212 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006231/0.8893, allocations: 315.8 kB / 0.6215 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/0.8914, allocations: 351.9 kB / 0.6218 GB, free: 5.484 MB / 494.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 (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.008923/0.9004, allocations: 2.266 MB / 0.624 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009764/0.9014, allocations: 284.2 kB / 0.6243 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3505/1.252, allocations: 5.081 MB / 0.6293 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-05/1.252, allocations: 46.19 kB / 0.6293 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.252, allocations: 0 / 0.6293 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/1.252, allocations: 13.08 kB / 0.6293 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.276, allocations: 11.58 MB / 0.6406 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.276, allocations: 6.781 kB / 0.6406 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.278, allocations: 433.7 kB / 0.641 GB, free: 140.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003409/1.282, allocations: 0.9026 MB / 0.6419 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/1.282, allocations: 65.16 kB / 0.642 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/1.284, allocations: 2.27 MB / 0.6442 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.284, allocations: 14.81 kB / 0.6442 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/1.296, allocations: 7.529 MB / 0.6516 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.298, allocations: 336.7 kB / 0.6519 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/1.298, allocations: 50.97 kB / 0.6519 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.3, allocations: 146.9 kB / 0.6521 GB, free: 136.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/1.3, allocations: 157.1 kB / 0.6522 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.3, allocations: 77.61 kB / 0.6523 GB, free: 136.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003544/1.304, allocations: 1.74 MB / 0.654 GB, free: 135.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.304, allocations: 0 / 0.654 GB, free: 135.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008251/1.312, allocations: 1.008 MB / 0.655 GB, free: 135.5 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 (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.0009226/1.313, allocations: 201 kB / 0.6552 GB, free: 135.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01372/1.327, allocations: 6.19 MB / 0.6612 GB, free: 133.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.327, allocations: 1 kB / 0.6612 GB, free: 133.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005076/1.332, allocations: 2.602 MB / 0.6638 GB, free: 132.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005656/1.338, allocations: 431 kB / 0.6642 GB, free: 132.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/1.367, allocations: 13.47 MB / 0.6773 GB, free: 124.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005269/1.373, allocations: 3.507 MB / 0.6808 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005131/1.378, allocations: 2.1 MB / 0.6828 GB, free: 123.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/1.379, allocations: 245.1 kB / 0.683 GB, free: 123.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/1.379, allocations: 4 kB / 0.683 GB, free: 123.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06281/1.441, allocations: 32.39 MB / 0.7147 GB, free: 92.79 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: