Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002502/0.002502, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.778/1.778, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3845/0.3845, allocations: 39.93 MB / 309.4 MB, free: 8.992 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.00161/0.00161, allocations: 67.91 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1447, allocations: 56.88 MB / 434 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.3361/0.4808, allocations: 34.79 MB / 468.8 MB, free: 33.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02082/0.5017, allocations: 7.416 MB / 476.2 MB, free: 29.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008935/0.5107, allocations: 139.8 kB / 476.3 MB, free: 29.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.5152, allocations: 2.54 MB / 478.9 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.5178, allocations: 0.6077 MB / 479.5 MB, free: 28.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.5197, allocations: 0.6618 MB / 480.1 MB, free: 28.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00251/0.5222, allocations: 1.713 MB / 481.9 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.5257, allocations: 3.506 MB / 485.4 MB, free: 25.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.5273, allocations: 1.065 MB / 486.4 MB, free: 25.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.5291, allocations: 1.465 MB / 487.9 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004129/0.5295, allocations: 284.8 kB / 488.2 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.5312, allocations: 0.9989 MB / 489.2 MB, free: 24.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.5323, allocations: 1.24 MB / 490.4 MB, free: 24.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.5334, allocations: 1.462 MB / 491.9 MB, free: 22.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.5397, allocations: 4.807 MB / 496.7 MB, free: 21.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.5397, allocations: 1.688 kB / 496.7 MB, free: 21.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.5397, allocations: 0 / 496.7 MB, free: 21.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.5399, allocations: 0 / 496.7 MB, free: 21.28 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01375/0.5537, allocations: 3.078 MB / 499.8 MB, free: 19.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.603e-05/0.5538, allocations: 13.52 kB / 499.8 MB, free: 19.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.5567, allocations: 361.7 kB / 0.4884 GB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00443/0.5612, allocations: 1.321 MB / 0.4897 GB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.5614, allocations: 176.2 kB / 0.4899 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007827/0.5622, allocations: 237.1 kB / 0.4901 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.5809, allocations: 6.893 MB / 0.4968 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.862e-05/0.581, allocations: 14.38 kB / 0.4968 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.5813, allocations: 107 kB / 0.4969 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/0.5832, allocations: 0.9897 MB / 0.4979 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.5989, allocations: 5.666 MB / 0.5034 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03147/0.6304, allocations: 20.29 MB / 0.5232 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007651/0.6381, allocations: 1.81 MB / 0.525 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.6393, allocations: 0.6906 MB / 0.5257 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006994/0.6463, allocations: 4.876 MB / 0.5304 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.6464, allocations: 47.05 kB / 0.5305 GB, free: 4.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.755e-06/0.6464, allocations: 0 / 0.5305 GB, free: 4.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.04226/0.6887, allocations: 9.246 MB / 0.5395 GB, free: 11.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.6888, allocations: 94.05 kB / 0.5396 GB, free: 11.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.6915, allocations: 1.974 MB / 0.5415 GB, free: 9.293 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.6916, allocations: 45.7 kB / 0.5416 GB, free: 9.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.693, allocations: 1.671 MB / 0.5432 GB, free: 7.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/0.6935, allocations: 414.5 kB / 0.5436 GB, free: 7.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.6945, allocations: 0.5759 MB / 0.5442 GB, free: 6.551 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6946, allocations: 301.1 kB / 0.5445 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.6964, allocations: 1.036 MB / 0.5455 GB, free: 5.215 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.6994, allocations: 2.664 MB / 0.5481 GB, free: 1.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005757/0.7052, allocations: 3.987 MB / 0.552 GB, free: 12.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/0.7052, allocations: 16 kB / 0.552 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005713/0.711, allocations: 3.683 MB / 0.5556 GB, free: 9.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.7111, allocations: 32 kB / 0.5556 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.546e-05/0.7111, allocations: 56 kB / 0.5557 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.382e-05/0.7112, allocations: 76.78 kB / 0.5557 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.7135, allocations: 0.7174 MB / 0.5564 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002227/0.7137, allocations: 119.5 kB / 0.5565 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.7157, allocations: 151.8 kB / 0.5567 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.7159, allocations: 168 kB / 0.5569 GB, free: 7.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (373): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00202/0.7179, allocations: 1.207 MB / 0.558 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.7183, allocations: 189.6 kB / 0.5582 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.7213, allocations: 1.727 MB / 0.5599 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7213, allocations: 8 kB / 0.5599 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.7214, allocations: 11.92 kB / 0.5599 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.7214, allocations: 3.984 kB / 0.5599 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.7316, allocations: 5.866 MB / 0.5657 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.7317, allocations: 16.03 kB / 0.5657 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/0.7325, allocations: 211.6 kB / 0.5659 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/0.7326, allocations: 16 kB / 0.5659 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.7327, allocations: 39.94 kB / 0.5659 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-05/0.7327, allocations: 23.92 kB / 0.5659 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.7327, allocations: 19.88 kB / 0.566 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.735, allocations: 1.693 MB / 0.5676 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/0.7358, allocations: 258.8 kB / 0.5679 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.736, allocations: 39.94 kB / 0.5679 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/0.7368, allocations: 39.97 kB / 0.5679 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.737, allocations: 104.2 kB / 0.568 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.7371, allocations: 44 kB / 0.5681 GB, free: 11.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002119/0.7392, allocations: 1.288 MB / 0.5693 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7392, allocations: 0 / 0.5693 GB, free: 10.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00254/0.7417, allocations: 0.5351 MB / 0.5699 GB, free: 10.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004087/0.7422, allocations: 198.8 kB / 0.5701 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004557/0.7467, allocations: 2.509 MB / 0.5725 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.7468, allocations: 8.25 kB / 0.5725 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.7477, allocations: 0.5875 MB / 0.5731 GB, free: 6.812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.7496, allocations: 256.7 kB / 0.5733 GB, free: 6.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.7605, allocations: 6.449 MB / 0.5796 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.7635, allocations: 2.176 MB / 0.5818 GB, free: 13.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002623/0.7661, allocations: 0.7664 MB / 0.5825 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.7666, allocations: 151.3 kB / 0.5826 GB, free: 12.79 MB / 462.1 MB Notification: Performance of SimCode: time 1.193e-06/0.7666, allocations: 0 / 0.5826 GB, free: 12.79 MB / 462.1 MB Notification: Performance of Templates: time 0.04342/0.81, allocations: 20.05 MB / 0.6022 GB, free: 8.793 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)