Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0015/0.0015, allocations: 192.8 kB / 16.14 MB, free: 6.703 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.758 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.3306/0.3306, allocations: 37.98 MB / 307.3 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.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.001406/0.001406, allocations: 66.97 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1514, allocations: 56.46 MB / 431 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3332/0.4846, allocations: 68.46 MB / 499.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03494/0.5196, allocations: 14.26 MB / 0.5017 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01963/0.5393, allocations: 307.2 kB / 0.502 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.5498, allocations: 5.133 MB / 0.507 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00858/0.5585, allocations: 2.486 MB / 0.5094 GB, free: 92 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.5623, allocations: 1.283 MB / 0.5107 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01917/0.5815, allocations: 10.93 MB / 0.5214 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.5931, allocations: 6.868 MB / 0.5281 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009019/0.6022, allocations: 2.457 MB / 0.5305 GB, free: 7.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008309/0.6105, allocations: 3.969 MB / 0.5343 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002631/0.6132, allocations: 428 kB / 0.5347 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005838/0.6191, allocations: 1.658 MB / 0.5364 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006195/0.6253, allocations: 3.175 MB / 0.5395 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009631/0.635, allocations: 3.499 MB / 0.5429 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01677/0.6518, allocations: 11.53 MB / 0.5541 GB, free: 15.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.6518, allocations: 7.922 kB / 0.5542 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6519, allocations: 0 / 0.5542 GB, free: 15.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004276/0.6523, allocations: 0 / 0.5542 GB, free: 15.05 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02454/0.6768, allocations: 7.912 MB / 0.5619 GB, free: 7.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.6769, allocations: 12.03 kB / 0.5619 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.693, allocations: 3.061 MB / 0.5649 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/0.7061, allocations: 5.166 MB / 0.5699 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/0.7065, allocations: 378.4 kB / 0.5703 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.709, allocations: 0.5113 MB / 0.5708 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03275/0.7418, allocations: 15.51 MB / 0.5859 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/0.7421, allocations: 63.44 kB / 0.586 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009476/0.743, allocations: 235.8 kB / 0.5862 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003865/0.7469, allocations: 2.552 MB / 0.5887 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03063/0.7775, allocations: 13.1 MB / 0.6015 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.371/1.149, allocations: 57.61 MB / 0.6578 GB, free: 110.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.165, allocations: 6.376 MB / 0.664 GB, free: 109.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005077/1.171, allocations: 3.442 MB / 0.6674 GB, free: 107.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01912/1.19, allocations: 11.58 MB / 0.6787 GB, free: 101.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.19, allocations: 57.66 kB / 0.6787 GB, free: 101.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.761e-06/1.19, allocations: 0 / 0.6787 GB, free: 101.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1398/1.33, allocations: 39.59 MB / 0.7174 GB, free: 87.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/1.33, allocations: 243.2 kB / 0.7176 GB, free: 87.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007763/1.338, allocations: 5.739 MB / 0.7232 GB, free: 81.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009352/1.339, allocations: 85.53 kB / 0.7233 GB, free: 81.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002588/1.341, allocations: 4.359 MB / 0.7276 GB, free: 77.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001633/1.343, allocations: 1.26 MB / 0.7288 GB, free: 76.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002299/1.345, allocations: 1.749 MB / 0.7305 GB, free: 74.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.91e-05/1.345, allocations: 301.1 kB / 0.7308 GB, free: 74.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/1.35, allocations: 4.081 MB / 0.7348 GB, free: 70.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006514/1.356, allocations: 8.67 MB / 0.7432 GB, free: 59.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.369, allocations: 13.56 MB / 0.7565 GB, free: 43.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.37, allocations: 47.94 kB / 0.7565 GB, free: 43.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03012/1.4, allocations: 16.39 MB / 0.7725 GB, free: 27.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-05/1.4, allocations: 75.98 kB / 0.7726 GB, free: 26.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/1.4, allocations: 160 kB / 0.7728 GB, free: 26.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01228/1.412, allocations: 4.272 MB / 0.7769 GB, free: 22.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006349/1.419, allocations: 1.895 MB / 0.7788 GB, free: 20.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/1.443, allocations: 20.18 MB / 0.7985 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007658/1.451, allocations: 0.5109 MB / 0.799 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002128/1.453, allocations: 487.1 kB / 0.7994 GB, free: 15.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007471/1.461, allocations: 3.141 MB / 0.8025 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/1.462, allocations: 0.5168 MB / 0.803 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/1.484, allocations: 10.1 MB / 0.8129 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001384/1.484, allocations: 36 kB / 0.8129 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-05/1.484, allocations: 12 kB / 0.8129 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.378e-05/1.484, allocations: 19.94 kB / 0.8129 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3196/1.804, allocations: 20.17 MB / 0.8326 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.394e-05/1.804, allocations: 10.81 kB / 0.8327 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.807, allocations: 0.4893 MB / 0.8331 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01209/1.819, allocations: 3.83 MB / 0.8369 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008129/1.82, allocations: 73.02 kB / 0.8369 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02382/1.843, allocations: 17.79 MB / 0.8543 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.843, allocations: 15.53 kB / 0.8543 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03048/1.874, allocations: 14.9 MB / 0.8689 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004027/1.878, allocations: 1.179 MB / 0.87 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001896/1.88, allocations: 65.41 kB / 0.8701 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004244/1.884, allocations: 229.3 kB / 0.8703 GB, free: 144.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/1.885, allocations: 232.1 kB / 0.8705 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003213/1.886, allocations: 92.66 kB / 0.8706 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00815/1.894, allocations: 3.634 MB / 0.8742 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.61e-07/1.894, allocations: 0 / 0.8742 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01158/1.905, allocations: 1.784 MB / 0.8759 GB, free: 143.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * 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 (261): * Single equations (assignments): 257 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/1.907, allocations: 261.2 kB / 0.8762 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01569/1.922, allocations: 9.805 MB / 0.8857 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.922, allocations: 3.906 kB / 0.8857 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005533/1.928, allocations: 3.788 MB / 0.8894 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005621/1.934, allocations: 0.688 MB / 0.8901 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/1.969, allocations: 19.21 MB / 0.9089 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/1.979, allocations: 4.839 MB / 0.9136 GB, free: 122.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007997/1.987, allocations: 2.583 MB / 0.9161 GB, free: 120.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.989, allocations: 347.4 kB / 0.9165 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.623e-06/1.989, allocations: 4 kB / 0.9165 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1143/2.103, allocations: 76.09 MB / 0.9908 GB, free: 43.87 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)