Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001036/0.001036, allocations: 99.16 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.001294/0.001294, allocations: 177.3 kB / 15.95 MB, free: 216 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.856/1.856, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.4358/0.4358, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0006013/0.0006015, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1454, allocations: 57.53 MB / 433.9 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.2994/0.4449, allocations: 36.32 MB / 470.3 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02235/0.4674, allocations: 9.035 MB / 479.3 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01017/0.4776, allocations: 174 kB / 479.5 MB, free: 28.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006812/0.4844, allocations: 1.837 MB / 481.3 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01887/0.5033, allocations: 5.371 MB / 486.7 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.5062, allocations: 496.1 kB / 487.1 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004696/0.511, allocations: 2.352 MB / 489.5 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005626/0.5166, allocations: 4.292 MB / 493.8 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.5184, allocations: 1.054 MB / 494.8 MB, free: 23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.5201, allocations: 1.434 MB / 496.3 MB, free: 22.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.5206, allocations: 166 kB / 496.4 MB, free: 22.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.5223, allocations: 0.8934 MB / 497.3 MB, free: 22.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00229/0.5246, allocations: 1.714 MB / 499.1 MB, free: 21.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.5263, allocations: 0.9451 MB / 500 MB, free: 21.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.5374, allocations: 6.33 MB / 0.4945 GB, free: 19.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5374, allocations: 0.9688 kB / 0.4945 GB, free: 19.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5374, allocations: 0 / 0.4945 GB, free: 19.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003632/0.5378, allocations: 0 / 0.4945 GB, free: 19.73 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01649/0.5543, allocations: 4.576 MB / 0.4989 GB, free: 16.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.5544, allocations: 8.969 kB / 0.4989 GB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/0.5703, allocations: 3.858 MB / 0.5027 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008544/0.5788, allocations: 2.544 MB / 0.5052 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/0.5793, allocations: 266.9 kB / 0.5054 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/0.5824, allocations: 360.5 kB / 0.5058 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/0.6098, allocations: 12.74 MB / 0.5182 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.61, allocations: 27.81 kB / 0.5183 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005887/0.6106, allocations: 167.8 kB / 0.5184 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003981/0.6146, allocations: 2.758 MB / 0.5211 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02776/0.6424, allocations: 11.68 MB / 0.5325 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0793/0.7217, allocations: 40.56 MB / 0.5721 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.7336, allocations: 5.082 MB / 0.5771 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/0.7493, allocations: 6.901 MB / 0.5838 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/0.7494, allocations: 52.56 kB / 0.5839 GB, free: 416 kB / 446.1 MB Notification: Performance of pre-optimization done (n=235): time 6.151e-06/0.7494, allocations: 3.938 kB / 0.5839 GB, free: 412 kB / 446.1 MB Notification: Performance of matching and sorting (n=244): time 0.04055/0.79, allocations: 17.03 MB / 0.6005 GB, free: 15.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.7901, allocations: 77.36 kB / 0.6006 GB, free: 15.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008182/0.7983, allocations: 3.305 MB / 0.6038 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000791/0.7992, allocations: 57.7 kB / 0.6039 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003529/0.8027, allocations: 3.305 MB / 0.6071 GB, free: 8.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002415/0.8052, allocations: 0.9175 MB / 0.608 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.8067, allocations: 120 kB / 0.6081 GB, free: 7.234 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.001274/0.808, allocations: 0.5626 MB / 0.6087 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005761/0.8138, allocations: 2.405 MB / 0.611 GB, free: 4.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008891/0.8227, allocations: 5.78 MB / 0.6167 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007179/0.83, allocations: 3.72 MB / 0.6203 GB, free: 9.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/0.8302, allocations: 36 kB / 0.6203 GB, free: 9.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02109/0.8513, allocations: 8.954 MB / 0.6291 GB, free: 68 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.8515, allocations: 59.95 kB / 0.6291 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3078/1.159, allocations: 117.7 kB / 0.6292 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003824/1.163, allocations: 1.152 MB / 0.6304 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005358/1.169, allocations: 1.388 MB / 0.6317 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005291/1.174, allocations: 4.656 MB / 0.6363 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/1.179, allocations: 325.2 kB / 0.6366 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.18, allocations: 359.6 kB / 0.6369 GB, free: 114.9 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 (752): * Single equations (assignments): 744 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.005569/1.186, allocations: 2.434 MB / 0.6393 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006002/1.187, allocations: 307.7 kB / 0.6396 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007329/1.194, allocations: 4.488 MB / 0.644 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/1.194, allocations: 45.02 kB / 0.644 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.194, allocations: 3.281 kB / 0.644 GB, free: 114.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/1.194, allocations: 13.45 kB / 0.644 GB, free: 114.6 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.02015/1.214, allocations: 10.78 MB / 0.6546 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.214, allocations: 4.969 kB / 0.6546 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/1.216, allocations: 394.1 kB / 0.6549 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/1.218, allocations: 0.6754 MB / 0.6556 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/1.218, allocations: 49.94 kB / 0.6556 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/1.22, allocations: 2.452 MB / 0.658 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.22, allocations: 9.781 kB / 0.658 GB, free: 112.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/1.232, allocations: 7.346 MB / 0.6652 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.233, allocations: 364.5 kB / 0.6656 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004242/1.234, allocations: 41.05 kB / 0.6656 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.235, allocations: 139.5 kB / 0.6657 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003643/1.236, allocations: 138 kB / 0.6659 GB, free: 111.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/1.236, allocations: 73.19 kB / 0.6659 GB, free: 111.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003643/1.239, allocations: 2.023 MB / 0.6679 GB, free: 111.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.239, allocations: 0 / 0.6679 GB, free: 111.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006574/1.246, allocations: 1.103 MB / 0.669 GB, free: 111.1 MB / 494.1 MB 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 (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.001191/1.247, allocations: 216.8 kB / 0.6692 GB, free: 111 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01137/1.259, allocations: 5.881 MB / 0.6749 GB, free: 109.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.259, allocations: 5.359 kB / 0.675 GB, free: 109.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004223/1.263, allocations: 2.426 MB / 0.6773 GB, free: 108.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.266, allocations: 434.6 kB / 0.6777 GB, free: 108.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/1.287, allocations: 13.57 MB / 0.691 GB, free: 99.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00366/1.291, allocations: 3.864 MB / 0.6948 GB, free: 95.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004508/1.295, allocations: 2.066 MB / 0.6968 GB, free: 93.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/1.296, allocations: 243.4 kB / 0.697 GB, free: 93.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.296, allocations: 0 / 0.697 GB, free: 93.34 MB / 494.1 MB Notification: Performance of Templates: time 0.06238/1.358, allocations: 34.95 MB / 0.7311 GB, free: 58.59 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) Environment - environmentSimulation: