Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006871/0.006871, allocations: 102 kB / 15.73 MB, free: 6.051 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.001314/0.001314, allocations: 195 kB / 16.68 MB, free: 5.969 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.694/1.694, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.4759/0.4759, allocations: 39.94 MB / 309.8 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.001287/0.001287, allocations: 72.28 kB / 435.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4455, allocations: 56.87 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01882/0.4644, allocations: 14.52 MB / 0.4953 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.4799, allocations: 4.51 MB / 0.4997 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006032/0.4859, allocations: 76.66 kB / 0.4998 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005755/0.4918, allocations: 2.378 MB / 0.5021 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00872/0.5006, allocations: 2.008 MB / 0.5041 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.5029, allocations: 0.5773 MB / 0.5046 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00878/0.5117, allocations: 4.29 MB / 0.5088 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007481/0.5192, allocations: 3.638 MB / 0.5124 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.5242, allocations: 1.655 MB / 0.514 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005824/0.5301, allocations: 2.249 MB / 0.5162 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002236/0.5323, allocations: 372.9 kB / 0.5165 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004573/0.5369, allocations: 1.221 MB / 0.5177 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00372/0.5407, allocations: 2.112 MB / 0.5198 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005519/0.5462, allocations: 2.516 MB / 0.5222 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.5601, allocations: 8.252 MB / 0.5303 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5601, allocations: 0 / 0.5303 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5601, allocations: 3.984 kB / 0.5303 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004057/0.5605, allocations: 0 / 0.5303 GB, free: 13.81 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01832/0.5789, allocations: 5.453 MB / 0.5356 GB, free: 8.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.5789, allocations: 11.89 kB / 0.5356 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.5905, allocations: 3.195 MB / 0.5388 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006891/0.5974, allocations: 2.399 MB / 0.5411 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.5977, allocations: 271.2 kB / 0.5414 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.5991, allocations: 363.6 kB / 0.5417 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/0.6233, allocations: 12.66 MB / 0.5541 GB, free: 4.863 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/0.6236, allocations: 31.66 kB / 0.5541 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006209/0.6242, allocations: 159.8 kB / 0.5543 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005261/0.6295, allocations: 2.77 MB / 0.557 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03099/0.6605, allocations: 11.61 MB / 0.5683 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07805/0.7386, allocations: 40.24 MB / 0.6076 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.7504, allocations: 5.083 MB / 0.6126 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004069/0.7545, allocations: 2.405 MB / 0.6149 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/0.7709, allocations: 6.847 MB / 0.6216 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.165e-05/0.7711, allocations: 56.56 kB / 0.6216 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=235): time 9.568e-06/0.7711, allocations: 3.938 kB / 0.6216 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=244): time 0.4043/1.175, allocations: 16.46 MB / 0.6377 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/1.175, allocations: 75.97 kB / 0.6378 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006468/1.182, allocations: 3.214 MB / 0.6409 GB, free: 123.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000587/1.183, allocations: 60.88 kB / 0.641 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.185, allocations: 3.295 MB / 0.6442 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/1.187, allocations: 0.921 MB / 0.6451 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002222/1.189, allocations: 1.239 MB / 0.6463 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/1.189, allocations: 303.2 kB / 0.6466 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004278/1.193, allocations: 2.43 MB / 0.649 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008481/1.202, allocations: 5.837 MB / 0.6547 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/1.215, allocations: 8.973 MB / 0.6634 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002329/1.215, allocations: 34.31 kB / 0.6635 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02038/1.236, allocations: 9.043 MB / 0.6723 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/1.236, allocations: 56.47 kB / 0.6724 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002377/1.236, allocations: 117.9 kB / 0.6725 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003702/1.24, allocations: 1.131 MB / 0.6736 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/1.245, allocations: 1.394 MB / 0.6749 GB, free: 103 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/1.251, allocations: 4.798 MB / 0.6796 GB, free: 100.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/1.257, allocations: 332.4 kB / 0.6799 GB, free: 100.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/1.258, allocations: 353.5 kB / 0.6803 GB, free: 100.2 MB / 0.4981 GB 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 (756): * Single equations (assignments): 748 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005792/1.264, allocations: 2.436 MB / 0.6827 GB, free: 98.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.265, allocations: 307.9 kB / 0.683 GB, free: 98.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007128/1.272, allocations: 4.502 MB / 0.6874 GB, free: 96.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.831e-05/1.272, allocations: 45.98 kB / 0.6874 GB, free: 96.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.272, allocations: 0 / 0.6874 GB, free: 96.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.272, allocations: 11.95 kB / 0.6874 GB, free: 96.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/1.291, allocations: 10.6 MB / 0.6978 GB, free: 86.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.291, allocations: 8 kB / 0.6978 GB, free: 86.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.292, allocations: 395.4 kB / 0.6981 GB, free: 85.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/1.294, allocations: 0.6774 MB / 0.6988 GB, free: 85.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.295, allocations: 47.98 kB / 0.6989 GB, free: 85.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/1.297, allocations: 2.575 MB / 0.7014 GB, free: 82.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/1.297, allocations: 12.06 kB / 0.7014 GB, free: 82.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00915/1.306, allocations: 6.872 MB / 0.7081 GB, free: 75.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.308, allocations: 345 kB / 0.7084 GB, free: 74.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000593/1.309, allocations: 47.98 kB / 0.7085 GB, free: 74.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.31, allocations: 135.8 kB / 0.7086 GB, free: 74.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.31, allocations: 145.4 kB / 0.7087 GB, free: 74.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.311, allocations: 67.98 kB / 0.7088 GB, free: 74.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003336/1.314, allocations: 1.948 MB / 0.7107 GB, free: 72.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.51e-07/1.314, allocations: 0 / 0.7107 GB, free: 72.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007233/1.321, allocations: 1.079 MB / 0.7118 GB, free: 71.58 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[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 (197): * Single equations (assignments): 188 * 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.000612/1.322, allocations: 196 kB / 0.7119 GB, free: 71.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009425/1.331, allocations: 5.961 MB / 0.7178 GB, free: 65.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.331, allocations: 0 / 0.7178 GB, free: 65.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003826/1.335, allocations: 2.451 MB / 0.7202 GB, free: 62.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.338, allocations: 485.2 kB / 0.7206 GB, free: 62.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.357, allocations: 11.25 MB / 0.7316 GB, free: 51.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00346/1.361, allocations: 3.752 MB / 0.7353 GB, free: 47.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003957/1.365, allocations: 2.072 MB / 0.7373 GB, free: 45.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/1.365, allocations: 235.5 kB / 0.7375 GB, free: 45.06 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/1.365, allocations: 3.938 kB / 0.7375 GB, free: 45.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.06161/1.427, allocations: 34.06 MB / 0.7708 GB, free: 11.13 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)