Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 100 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.0009187/0.0009188, 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.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4404/0.4404, allocations: 38.03 MB / 308.4 MB, free: 10.45 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.000948/0.0009483, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1599, allocations: 57.51 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.2912/0.4511, allocations: 36.32 MB / 470.2 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02001/0.4712, allocations: 9.039 MB / 479.3 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01025/0.4814, allocations: 174.2 kB / 479.5 MB, free: 28.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008071/0.4895, allocations: 1.841 MB / 481.3 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02089/0.5105, allocations: 5.377 MB / 486.7 MB, free: 26.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.5144, allocations: 492.8 kB / 487.2 MB, free: 26.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006559/0.521, allocations: 2.365 MB / 489.5 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007914/0.5289, allocations: 4.319 MB / 493.8 MB, free: 23.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.5317, allocations: 1.062 MB / 494.9 MB, free: 22.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.5344, allocations: 1.439 MB / 496.3 MB, free: 22.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.5355, allocations: 168.1 kB / 496.5 MB, free: 22.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.5382, allocations: 0.8897 MB / 497.4 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003177/0.5414, allocations: 1.715 MB / 499.1 MB, free: 21.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.5445, allocations: 0.9521 MB / 0.4883 GB, free: 21.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.5568, allocations: 6.361 MB / 0.4946 GB, free: 19.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5569, allocations: 0 / 0.4946 GB, free: 19.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5569, allocations: 1.531 kB / 0.4946 GB, free: 19.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000437/0.5573, allocations: 0 / 0.4946 GB, free: 19.8 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.01749/0.5748, allocations: 4.588 MB / 0.499 GB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5749, allocations: 9.562 kB / 0.499 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.5905, allocations: 3.86 MB / 0.5028 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009547/0.6001, allocations: 2.551 MB / 0.5053 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004991/0.6007, allocations: 277 kB / 0.5056 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/0.6038, allocations: 357.8 kB / 0.5059 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/0.635, allocations: 12.78 MB / 0.5184 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001629/0.6352, allocations: 31.75 kB / 0.5184 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008125/0.636, allocations: 163.8 kB / 0.5186 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004071/0.6401, allocations: 2.766 MB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02908/0.6692, allocations: 11.71 MB / 0.5327 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08021/0.7495, allocations: 40.64 MB / 0.5724 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.7608, allocations: 5.003 MB / 0.5773 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/0.7745, allocations: 6.925 MB / 0.5841 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.7747, allocations: 56.56 kB / 0.5841 GB, free: 176 kB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 7.034e-06/0.7747, allocations: 7.938 kB / 0.5841 GB, free: 168 kB / 446.1 MB Notification: Performance of matching and sorting (n=259): time 0.05489/0.8296, allocations: 19.94 MB / 0.6036 GB, free: 11.97 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.8297, allocations: 77.39 kB / 0.6037 GB, free: 11.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/0.835, allocations: 3.305 MB / 0.6069 GB, free: 8.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005787/0.8356, allocations: 65.64 kB / 0.607 GB, free: 8.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002357/0.838, allocations: 3.317 MB / 0.6102 GB, free: 5.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/0.8396, allocations: 0.9714 MB / 0.6111 GB, free: 4.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.84, allocations: 120 kB / 0.6113 GB, free: 4.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004573/0.8404, allocations: 0.5784 MB / 0.6118 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/0.8445, allocations: 2.48 MB / 0.6142 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006454/0.8509, allocations: 5.867 MB / 0.62 GB, free: 9.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006969/0.8579, allocations: 3.802 MB / 0.6237 GB, free: 5.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.8581, allocations: 36 kB / 0.6237 GB, free: 5.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.2956/1.154, allocations: 10.14 MB / 0.6336 GB, free: 139.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.154, allocations: 57.09 kB / 0.6337 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/1.154, allocations: 116.7 kB / 0.6338 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008464/1.163, allocations: 2.385 MB / 0.6361 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/1.168, allocations: 1.374 MB / 0.6375 GB, free: 139.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.185, allocations: 11.15 MB / 0.6484 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/1.192, allocations: 332.5 kB / 0.6487 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/1.194, allocations: 359.4 kB / 0.649 GB, free: 136.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (743): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.006935/1.2, allocations: 2.452 MB / 0.6514 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/1.201, allocations: 310.1 kB / 0.6517 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007717/1.209, allocations: 4.689 MB / 0.6563 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.576e-05/1.209, allocations: 44.8 kB / 0.6563 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.209, allocations: 12.67 kB / 0.6563 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.209, allocations: 10.53 kB / 0.6563 GB, free: 134.2 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/1.231, allocations: 11.17 MB / 0.6673 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.231, allocations: 3.438 kB / 0.6673 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.233, allocations: 430.2 kB / 0.6677 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/1.235, allocations: 0.6962 MB / 0.6684 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.235, allocations: 52.66 kB / 0.6684 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/1.238, allocations: 2.445 MB / 0.6708 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.238, allocations: 11.84 kB / 0.6708 GB, free: 128.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009706/1.248, allocations: 7.616 MB / 0.6782 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.249, allocations: 368 kB / 0.6786 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/1.25, allocations: 44.64 kB / 0.6786 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.252, allocations: 143 kB / 0.6788 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/1.253, allocations: 151.4 kB / 0.6789 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.253, allocations: 70.59 kB / 0.679 GB, free: 125.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004325/1.257, allocations: 2.025 MB / 0.681 GB, free: 124.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.7e-07/1.257, allocations: 0 / 0.681 GB, free: 124.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009316/1.266, allocations: 1.164 MB / 0.6821 GB, free: 124.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * 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 (212): * Single equations (assignments): 203 * 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.001056/1.268, allocations: 210.2 kB / 0.6823 GB, free: 124.3 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01086/1.278, allocations: 6.205 MB / 0.6884 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.278, allocations: 0 / 0.6884 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004101/1.283, allocations: 2.554 MB / 0.6908 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.285, allocations: 420.5 kB / 0.6912 GB, free: 118.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.305, allocations: 13.62 MB / 0.7045 GB, free: 105.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004213/1.31, allocations: 3.903 MB / 0.7084 GB, free: 101.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004469/1.314, allocations: 2.076 MB / 0.7104 GB, free: 99.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/1.315, allocations: 247.4 kB / 0.7106 GB, free: 99.21 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.315, allocations: 4 kB / 0.7106 GB, free: 99.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06835/1.383, allocations: 40.06 MB / 0.7497 GB, free: 59.24 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) Environment - environmentSimulation: