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.001135/0.001135, allocations: 100.9 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.001174/0.001174, 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.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.3515/0.3515, allocations: 40 MB / 310.4 MB, free: 10 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.0005231/0.0005232, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.2496/0.3672, allocations: 36.32 MB / 473.1 MB, free: 32.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02039/0.3876, allocations: 9.039 MB / 482.1 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008007/0.3957, allocations: 174.1 kB / 482.3 MB, free: 26.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005898/0.4016, allocations: 1.831 MB / 484.1 MB, free: 26.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01707/0.4187, allocations: 5.377 MB / 489.5 MB, free: 23.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.4214, allocations: 492.5 kB / 490 MB, free: 23.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004152/0.4256, allocations: 2.348 MB / 492.3 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00569/0.4313, allocations: 4.293 MB / 496.6 MB, free: 20.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.4331, allocations: 1.057 MB / 497.7 MB, free: 20.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.4351, allocations: 1.434 MB / 499.1 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006217/0.4357, allocations: 164.4 kB / 499.3 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.4381, allocations: 0.895 MB / 0.4884 GB, free: 19.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.44, allocations: 1.711 MB / 0.4901 GB, free: 19.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.4415, allocations: 0.9452 MB / 0.491 GB, free: 18.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.4519, allocations: 6.329 MB / 0.4972 GB, free: 16.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.452, allocations: 4 kB / 0.4972 GB, free: 16.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.452, allocations: 1.438 kB / 0.4972 GB, free: 16.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004898/0.4525, allocations: 4 kB / 0.4972 GB, free: 16.82 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.01243/0.4649, allocations: 4.567 MB / 0.5017 GB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.465, allocations: 9.625 kB / 0.5017 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.479, allocations: 3.858 MB / 0.5055 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008263/0.4873, allocations: 2.551 MB / 0.508 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.4876, allocations: 267.2 kB / 0.5082 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.4893, allocations: 356.1 kB / 0.5086 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.5098, allocations: 12.75 MB / 0.521 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.5099, allocations: 31.7 kB / 0.521 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004969/0.5104, allocations: 163.8 kB / 0.5212 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004265/0.5147, allocations: 2.762 MB / 0.5239 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/0.5386, allocations: 11.68 MB / 0.5353 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06742/0.6061, allocations: 40.57 MB / 0.5749 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.6168, allocations: 5.082 MB / 0.5799 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/0.6296, allocations: 6.889 MB / 0.5866 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6297, allocations: 52.56 kB / 0.5867 GB, free: 12.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=235): time 5.49e-06/0.6297, allocations: 0 / 0.5867 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=244): time 0.03882/0.6685, allocations: 17.03 MB / 0.6033 GB, free: 10.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.6686, allocations: 73.41 kB / 0.6034 GB, free: 10.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004672/0.6733, allocations: 3.316 MB / 0.6066 GB, free: 7.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004582/0.6738, allocations: 57.7 kB / 0.6066 GB, free: 7.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.676, allocations: 3.305 MB / 0.6099 GB, free: 4.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.6772, allocations: 0.9136 MB / 0.6108 GB, free: 3.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.6775, allocations: 124 kB / 0.6109 GB, free: 2.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003434/0.6778, allocations: 0.5704 MB / 0.6114 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/0.6813, allocations: 2.397 MB / 0.6138 GB, free: 8 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005512/0.6868, allocations: 5.78 MB / 0.6194 GB, free: 8.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005532/0.6923, allocations: 3.713 MB / 0.6231 GB, free: 4.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.074e-05/0.6924, allocations: 32 kB / 0.6231 GB, free: 4.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.2491/0.9415, allocations: 8.961 MB / 0.6318 GB, free: 138.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.9417, allocations: 58.48 kB / 0.6319 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.9418, allocations: 116 kB / 0.632 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.9448, allocations: 1.142 MB / 0.6331 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/0.9495, allocations: 1.396 MB / 0.6345 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.9546, allocations: 4.664 MB / 0.639 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005176/0.9598, allocations: 336.8 kB / 0.6394 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008573/0.9607, allocations: 356.7 kB / 0.6397 GB, free: 136.4 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.005454/0.9661, allocations: 2.422 MB / 0.6421 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006627/0.9668, allocations: 308.5 kB / 0.6424 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006569/0.9734, allocations: 4.489 MB / 0.6467 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-05/0.9735, allocations: 46.39 kB / 0.6468 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.9735, allocations: 10.95 kB / 0.6468 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.9735, allocations: 10.41 kB / 0.6468 GB, free: 135.3 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.02001/0.9935, allocations: 10.77 MB / 0.6573 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.9936, allocations: 13.67 kB / 0.6573 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/0.9954, allocations: 392.3 kB / 0.6577 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/0.9974, allocations: 0.6796 MB / 0.6584 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/0.9977, allocations: 50.31 kB / 0.6584 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/1, allocations: 2.452 MB / 0.6608 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1, allocations: 10.97 kB / 0.6608 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.011, allocations: 7.341 MB / 0.668 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.012, allocations: 363.1 kB / 0.6683 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/1.013, allocations: 43.12 kB / 0.6684 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1.014, allocations: 140.9 kB / 0.6685 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/1.014, allocations: 141.7 kB / 0.6687 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.015, allocations: 69.97 kB / 0.6687 GB, free: 126.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004175/1.019, allocations: 2.033 MB / 0.6707 GB, free: 125.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.019, allocations: 3.938 kB / 0.6707 GB, free: 125.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006539/1.025, allocations: 1.095 MB / 0.6718 GB, free: 125.6 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.0008181/1.026, allocations: 206.2 kB / 0.672 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009448/1.036, allocations: 5.884 MB / 0.6777 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.036, allocations: 0 / 0.6777 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004384/1.04, allocations: 2.441 MB / 0.6801 GB, free: 122.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.043, allocations: 420.1 kB / 0.6805 GB, free: 122.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.063, allocations: 13.58 MB / 0.6938 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004064/1.068, allocations: 3.858 MB / 0.6975 GB, free: 108.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004447/1.072, allocations: 2.063 MB / 0.6996 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/1.073, allocations: 241.3 kB / 0.6998 GB, free: 106.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/1.073, allocations: 4 kB / 0.6998 GB, free: 106.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05271/1.125, allocations: 34.95 MB / 0.7339 GB, free: 71.79 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: