Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006177/0.006177, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00111/0.00111, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.45/1.45, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3361/0.3361, allocations: 38 MB / 307.9 MB, free: 10.22 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.001704/0.001704, allocations: 71.91 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3834, allocations: 56.46 MB / 489.5 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01503/0.3985, allocations: 10.33 MB / 499.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009499/0.4081, allocations: 3.405 MB / 0.4914 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.4111, allocations: 51.69 kB / 0.4915 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005889/0.4171, allocations: 2.629 MB / 0.494 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.4204, allocations: 0.7079 MB / 0.4947 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.4233, allocations: 0.7134 MB / 0.4954 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003983/0.4273, allocations: 1.7 MB / 0.4971 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00587/0.4332, allocations: 3.34 MB / 0.5003 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.4359, allocations: 1.043 MB / 0.5014 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002582/0.4385, allocations: 1.363 MB / 0.5027 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.4398, allocations: 286.4 kB / 0.503 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.4428, allocations: 0.9909 MB / 0.5039 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.4449, allocations: 1.239 MB / 0.5051 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003059/0.4479, allocations: 1.456 MB / 0.5066 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006921/0.4549, allocations: 4.881 MB / 0.5113 GB, free: 14.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.4549, allocations: 1.875 kB / 0.5113 GB, free: 14.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4549, allocations: 0 / 0.5113 GB, free: 14.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001921/0.4551, allocations: 0 / 0.5113 GB, free: 14.92 MB / 398.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.008851/0.464, allocations: 3.086 MB / 0.5143 GB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4641, allocations: 12.95 kB / 0.5144 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.4656, allocations: 362.9 kB / 0.5147 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.4684, allocations: 1.337 MB / 0.516 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.4686, allocations: 171.7 kB / 0.5162 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.4691, allocations: 231.3 kB / 0.5164 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.4856, allocations: 6.897 MB / 0.5231 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.833e-05/0.4857, allocations: 11.88 kB / 0.5231 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/0.486, allocations: 107.9 kB / 0.5232 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001494/0.4875, allocations: 0.9925 MB / 0.5242 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.5017, allocations: 5.666 MB / 0.5297 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03363/0.5354, allocations: 20.16 MB / 0.5494 GB, free: 9.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007323/0.5428, allocations: 1.814 MB / 0.5512 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.5441, allocations: 0.6867 MB / 0.5519 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007864/0.552, allocations: 4.891 MB / 0.5567 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.5521, allocations: 47.12 kB / 0.5567 GB, free: 1.434 MB / 430.1 MB Notification: Performance of pre-optimization done (n=70): time 3.627e-06/0.5521, allocations: 0 / 0.5567 GB, free: 1.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.04165/0.5937, allocations: 9.242 MB / 0.5657 GB, free: 8.172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/0.5939, allocations: 94.08 kB / 0.5658 GB, free: 8.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/0.5983, allocations: 1.974 MB / 0.5677 GB, free: 6.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.5985, allocations: 41.7 kB / 0.5678 GB, free: 6.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.6004, allocations: 1.679 MB / 0.5694 GB, free: 4.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006034/0.601, allocations: 410.5 kB / 0.5698 GB, free: 3.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.6023, allocations: 0.5681 MB / 0.5704 GB, free: 3.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6025, allocations: 301.1 kB / 0.5707 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.6046, allocations: 1.048 MB / 0.5717 GB, free: 2.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.6078, allocations: 2.66 MB / 0.5743 GB, free: 14.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005959/0.6137, allocations: 3.987 MB / 0.5782 GB, free: 9.758 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.096e-05/0.6139, allocations: 16 kB / 0.5782 GB, free: 9.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007253/0.6211, allocations: 3.692 MB / 0.5818 GB, free: 6.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.6212, allocations: 28.22 kB / 0.5818 GB, free: 6.012 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/0.6213, allocations: 60 kB / 0.5819 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.848e-05/0.6214, allocations: 76 kB / 0.5819 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.624, allocations: 0.7096 MB / 0.5826 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001377/0.6242, allocations: 111.6 kB / 0.5827 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.6271, allocations: 155.8 kB / 0.5829 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/0.6275, allocations: 172 kB / 0.5831 GB, free: 4.738 MB / 462.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.003199/0.6308, allocations: 1.203 MB / 0.5842 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/0.6313, allocations: 177.7 kB / 0.5844 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.6349, allocations: 1.735 MB / 0.5861 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.6349, allocations: 19.94 kB / 0.5861 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.6349, allocations: 0 / 0.5861 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.635, allocations: 7.969 kB / 0.5861 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/0.6526, allocations: 5.862 MB / 0.5918 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.6527, allocations: 12.22 kB / 0.5919 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.654, allocations: 219.6 kB / 0.5921 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-05/0.6541, allocations: 19.94 kB / 0.5921 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.6542, allocations: 32 kB / 0.5921 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.441e-05/0.6542, allocations: 23.88 kB / 0.5921 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.483e-05/0.6543, allocations: 19.92 kB / 0.5922 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.658, allocations: 1.697 MB / 0.5938 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/0.659, allocations: 258.7 kB / 0.5941 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.6593, allocations: 43.92 kB / 0.5941 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.6606, allocations: 35.98 kB / 0.5941 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.6608, allocations: 104.2 kB / 0.5942 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6609, allocations: 44 kB / 0.5943 GB, free: 8.766 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003063/0.664, allocations: 1.292 MB / 0.5955 GB, free: 7.449 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.664, allocations: 4 kB / 0.5955 GB, free: 7.445 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00497/0.669, allocations: 0.5234 MB / 0.5961 GB, free: 6.922 MB / 478.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.0006666/0.6697, allocations: 210.6 kB / 0.5963 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006084/0.6758, allocations: 2.279 MB / 0.5985 GB, free: 4.441 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/0.6758, allocations: 4.438 kB / 0.5985 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.6773, allocations: 0.5953 MB / 0.5991 GB, free: 3.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.68, allocations: 254.9 kB / 0.5993 GB, free: 3.586 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.6937, allocations: 5.172 MB / 0.6044 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003464/0.6972, allocations: 2.184 MB / 0.6065 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003352/0.7006, allocations: 0.7703 MB / 0.6072 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/0.7013, allocations: 139.4 kB / 0.6074 GB, free: 11.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.7013, allocations: 0 / 0.6074 GB, free: 11.09 MB / 494.1 MB Notification: Performance of Templates: time 0.05667/0.758, allocations: 20.88 MB / 0.6278 GB, free: 6.207 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)