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.001107/0.001107, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001152/0.001152, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.659/1.659, allocations: 205.1 MB / 222 MB, free: 4.766 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.3933/0.3933, allocations: 37.98 MB / 307.3 MB, free: 10.06 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.001389/0.001389, allocations: 63.91 kB / 374.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1793, allocations: 56.47 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.4045/0.5839, allocations: 34.07 MB / 465.1 MB, free: 34.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02344/0.6075, allocations: 7.714 MB / 472.8 MB, free: 32.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009763/0.6173, allocations: 144.1 kB / 472.9 MB, free: 32.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003965/0.6214, allocations: 1.827 MB / 474.8 MB, free: 31.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.6268, allocations: 1.753 MB / 476.5 MB, free: 31.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.6285, allocations: 472.9 kB / 477 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006717/0.6352, allocations: 5.59 MB / 482.6 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.6385, allocations: 2.834 MB / 485.4 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.6404, allocations: 1.225 MB / 486.6 MB, free: 27.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.6429, allocations: 2.06 MB / 488.7 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005821/0.6435, allocations: 214.6 kB / 488.9 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.6461, allocations: 1.123 MB / 490 MB, free: 26.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002618/0.6487, allocations: 1.803 MB / 491.8 MB, free: 26.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.652, allocations: 2.127 MB / 494 MB, free: 24.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.6643, allocations: 7.002 MB / 0.4892 GB, free: 22.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.6644, allocations: 0 / 0.4892 GB, free: 22.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6644, allocations: 1.438 kB / 0.4892 GB, free: 22.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003226/0.6647, allocations: 0 / 0.4892 GB, free: 22.29 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: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.01855/0.6833, allocations: 4.927 MB / 0.494 GB, free: 19.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.113e-05/0.6834, allocations: 9.531 kB / 0.494 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.6967, allocations: 3.145 MB / 0.4971 GB, free: 18.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007642/0.7044, allocations: 2.169 MB / 0.4992 GB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/0.7048, allocations: 231.4 kB / 0.4994 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001984/0.7068, allocations: 291.1 kB / 0.4997 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02985/0.7367, allocations: 11.9 MB / 0.5114 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.7369, allocations: 30.41 kB / 0.5114 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001844/0.7388, allocations: 139.7 kB / 0.5115 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004291/0.7431, allocations: 2.71 MB / 0.5142 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/0.7708, allocations: 11.09 MB / 0.525 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0804/0.8513, allocations: 37.14 MB / 0.5613 GB, free: 6.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.8624, allocations: 4.697 MB / 0.5658 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/0.8665, allocations: 2.241 MB / 0.568 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.868, allocations: 1.323 MB / 0.5693 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/0.868, allocations: 52.56 kB / 0.5694 GB, free: 13.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 6.732e-06/0.8681, allocations: 0 / 0.5694 GB, free: 13.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=256): time 0.0437/0.9118, allocations: 13.54 MB / 0.5826 GB, free: 184 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.9119, allocations: 73.41 kB / 0.5827 GB, free: 96 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006934/0.9189, allocations: 2.84 MB / 0.5854 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006816/0.9196, allocations: 57.7 kB / 0.5855 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/0.9224, allocations: 2.972 MB / 0.5884 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001958/0.9243, allocations: 0.9404 MB / 0.5893 GB, free: 9.211 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00444/0.9288, allocations: 1.147 MB / 0.5904 GB, free: 8.051 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.929, allocations: 305.1 kB / 0.5907 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/0.9338, allocations: 2.311 MB / 0.593 GB, free: 5.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/0.9441, allocations: 5.482 MB / 0.5983 GB, free: 14.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/0.9597, allocations: 8.539 MB / 0.6067 GB, free: 4.312 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002768/0.96, allocations: 32 kB / 0.6067 GB, free: 4.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02209/0.9821, allocations: 8.487 MB / 0.615 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.9823, allocations: 52 kB / 0.615 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002425/0.9826, allocations: 116 kB / 0.6152 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/0.9863, allocations: 1.013 MB / 0.6161 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005174/0.9915, allocations: 1.33 MB / 0.6174 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/0.9948, allocations: 2.474 MB / 0.6199 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004983/0.9998, allocations: 327.7 kB / 0.6202 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/1.001, allocations: 332 kB / 0.6205 GB, free: 6.012 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 (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.007059/1.008, allocations: 2.27 MB / 0.6227 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009977/1.009, allocations: 280.3 kB / 0.623 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3321/1.341, allocations: 4.92 MB / 0.6278 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/1.341, allocations: 46.36 kB / 0.6278 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.342, allocations: 3.219 kB / 0.6278 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.584e-05/1.342, allocations: 12.84 kB / 0.6278 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/1.363, allocations: 11.48 MB / 0.639 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-05/1.363, allocations: 9.406 kB / 0.6391 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.365, allocations: 406.7 kB / 0.6394 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002657/1.368, allocations: 0.6153 MB / 0.64 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/1.368, allocations: 56.48 kB / 0.6401 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.37, allocations: 2.066 MB / 0.6421 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.37, allocations: 13.53 kB / 0.6421 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.381, allocations: 6.975 MB / 0.6489 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.382, allocations: 335.5 kB / 0.6493 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.382, allocations: 42.28 kB / 0.6493 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.384, allocations: 134.1 kB / 0.6494 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003669/1.384, allocations: 165.8 kB / 0.6496 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.384, allocations: 78.81 kB / 0.6497 GB, free: 140.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002649/1.387, allocations: 1.741 MB / 0.6514 GB, free: 140.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.387, allocations: 0 / 0.6514 GB, free: 140.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006139/1.393, allocations: 0.9932 MB / 0.6523 GB, free: 140.2 MB / 494.1 MB 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.0005584/1.393, allocations: 194.9 kB / 0.6525 GB, free: 140 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 $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.01168/1.405, allocations: 6.018 MB / 0.6584 GB, free: 138 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.405, allocations: 0.9375 kB / 0.6584 GB, free: 138 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004733/1.41, allocations: 2.395 MB / 0.6607 GB, free: 137 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.413, allocations: 434 kB / 0.6611 GB, free: 136.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/1.44, allocations: 13.22 MB / 0.6741 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004795/1.445, allocations: 3.526 MB / 0.6775 GB, free: 128.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004885/1.45, allocations: 2.077 MB / 0.6795 GB, free: 128.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/1.45, allocations: 236.2 kB / 0.6798 GB, free: 128.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/1.45, allocations: 0 / 0.6798 GB, free: 128.1 MB / 494.1 MB Notification: Performance of Templates: time 0.06823/1.519, allocations: 31.85 MB / 0.7109 GB, free: 99.75 MB / 494.1 MB 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)