Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006253/0.006253, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001248/0.001248, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.691/1.691, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3467/0.3467, allocations: 37.99 MB / 307.9 MB, free: 10.18 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.001577/0.001577, allocations: 68.47 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3726, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01407/0.3867, allocations: 13.17 MB / 0.4909 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01214/0.3989, allocations: 4.163 MB / 0.4949 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/0.4028, allocations: 71.03 kB / 0.495 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.4076, allocations: 1.866 MB / 0.4968 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.4149, allocations: 1.867 MB / 0.4986 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.4169, allocations: 0.5011 MB / 0.4991 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007507/0.4245, allocations: 3.925 MB / 0.503 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00473/0.4292, allocations: 2.907 MB / 0.5058 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.4333, allocations: 1.407 MB / 0.5072 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004141/0.4374, allocations: 1.968 MB / 0.5091 GB, free: 304 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.4389, allocations: 308.7 kB / 0.5094 GB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/0.4427, allocations: 1.145 MB / 0.5105 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002812/0.4455, allocations: 1.869 MB / 0.5123 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.4495, allocations: 2.214 MB / 0.5145 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.4614, allocations: 7.435 MB / 0.5218 GB, free: 6.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4614, allocations: 0 / 0.5218 GB, free: 6.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4614, allocations: 4 kB / 0.5218 GB, free: 6.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002823/0.4617, allocations: 0 / 0.5218 GB, free: 6.566 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: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.01507/0.4768, allocations: 5.047 MB / 0.5267 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.4769, allocations: 15.83 kB / 0.5267 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.4879, allocations: 3.176 MB / 0.5298 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.4931, allocations: 2.189 MB / 0.5319 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.4933, allocations: 226 kB / 0.5322 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.4943, allocations: 299.9 kB / 0.5325 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.516, allocations: 11.9 MB / 0.5441 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.5161, allocations: 27.75 kB / 0.5441 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004681/0.5166, allocations: 139.8 kB / 0.5442 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/0.5214, allocations: 2.703 MB / 0.5469 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/0.5452, allocations: 11.09 MB / 0.5577 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06291/0.6082, allocations: 36.99 MB / 0.5938 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009145/0.6174, allocations: 4.703 MB / 0.5984 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.6207, allocations: 2.252 MB / 0.6006 GB, free: 4.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.6219, allocations: 1.311 MB / 0.6019 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.622, allocations: 52.56 kB / 0.6019 GB, free: 2.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=244): time 4.088e-06/0.622, allocations: 0 / 0.6019 GB, free: 2.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=256): time 0.03718/0.6592, allocations: 13.61 MB / 0.6152 GB, free: 4.883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.6593, allocations: 81.33 kB / 0.6153 GB, free: 4.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/0.6633, allocations: 2.845 MB / 0.6181 GB, free: 1.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002695/0.6636, allocations: 57.7 kB / 0.6182 GB, free: 1.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002095/0.6657, allocations: 3.092 MB / 0.6212 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.6668, allocations: 0.9881 MB / 0.6221 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.6683, allocations: 1.156 MB / 0.6233 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.6684, allocations: 312.8 kB / 0.6236 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003296/0.6717, allocations: 2.307 MB / 0.6258 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005283/0.677, allocations: 5.482 MB / 0.6312 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3303/1.007, allocations: 8.541 MB / 0.6395 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/1.007, allocations: 31.41 kB / 0.6395 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01979/1.027, allocations: 8.491 MB / 0.6478 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/1.027, allocations: 52.19 kB / 0.6479 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002408/1.028, allocations: 110.6 kB / 0.648 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/1.032, allocations: 1.017 MB / 0.649 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/1.037, allocations: 1.324 MB / 0.6503 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/1.041, allocations: 2.623 MB / 0.6528 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/1.046, allocations: 315.6 kB / 0.6531 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/1.048, allocations: 336.2 kB / 0.6535 GB, free: 111.8 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 (718): * Single equations (assignments): 709 * 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 {(3,100.0%), (2,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.006618/1.054, allocations: 2.263 MB / 0.6557 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009377/1.055, allocations: 305.8 kB / 0.656 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.067, allocations: 4.921 MB / 0.6608 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.288e-05/1.067, allocations: 47.33 kB / 0.6608 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/1.067, allocations: 2.156 kB / 0.6608 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/1.067, allocations: 11.58 kB / 0.6608 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/1.093, allocations: 11.44 MB / 0.672 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.093, allocations: 15.5 kB / 0.672 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.095, allocations: 410.5 kB / 0.6724 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/1.097, allocations: 0.6169 MB / 0.673 GB, free: 105.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/1.098, allocations: 59.08 kB / 0.6731 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/1.1, allocations: 2.193 MB / 0.6752 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.1, allocations: 17.77 kB / 0.6752 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.112, allocations: 6.983 MB / 0.682 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.114, allocations: 349.3 kB / 0.6824 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008756/1.115, allocations: 55.67 kB / 0.6824 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/1.117, allocations: 131.1 kB / 0.6826 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004696/1.117, allocations: 153 kB / 0.6827 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.117, allocations: 85.59 kB / 0.6828 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003572/1.121, allocations: 1.74 MB / 0.6845 GB, free: 98.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.121, allocations: 0 / 0.6845 GB, free: 98.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007585/1.128, allocations: 1.004 MB / 0.6855 GB, free: 97.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_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 (207): * Single equations (assignments): 198 * 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.0007263/1.129, allocations: 191.5 kB / 0.6856 GB, free: 97.2 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable $DER.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 $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01475/1.144, allocations: 6.067 MB / 0.6916 GB, free: 91.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.144, allocations: 4.188 kB / 0.6916 GB, free: 91.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006267/1.15, allocations: 2.393 MB / 0.6939 GB, free: 88.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/1.155, allocations: 464.6 kB / 0.6944 GB, free: 88.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/1.177, allocations: 10.93 MB / 0.705 GB, free: 77.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005219/1.183, allocations: 3.516 MB / 0.7085 GB, free: 73.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004411/1.187, allocations: 2.073 MB / 0.7105 GB, free: 71.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009624/1.188, allocations: 231.4 kB / 0.7107 GB, free: 71.31 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/1.188, allocations: 4 kB / 0.7107 GB, free: 71.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.05599/1.244, allocations: 30.57 MB / 0.7406 GB, free: 40.81 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)