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.001214/0.001214, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001456/0.001456, allocations: 194.4 kB / 16.26 MB, free: 6.633 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.499/1.499, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3266/0.3266, allocations: 37.98 MB / 307.4 MB, free: 10.05 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.001363/0.001363, allocations: 70.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.3093/0.4291, allocations: 68.46 MB / 499.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03695/0.4661, allocations: 14.15 MB / 0.5018 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0204/0.4865, allocations: 305.9 kB / 0.5021 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009242/0.4959, allocations: 4.959 MB / 0.5069 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.5065, allocations: 2.452 MB / 0.5093 GB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.5101, allocations: 1.311 MB / 0.5106 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01549/0.5256, allocations: 7.924 MB / 0.5183 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.538, allocations: 7.385 MB / 0.5255 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007487/0.5456, allocations: 2.851 MB / 0.5283 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007435/0.553, allocations: 4.151 MB / 0.5324 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001981/0.555, allocations: 0.6367 MB / 0.533 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004131/0.5592, allocations: 1.791 MB / 0.5347 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003973/0.5632, allocations: 3.398 MB / 0.5381 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005774/0.569, allocations: 3.745 MB / 0.5417 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.5845, allocations: 11.76 MB / 0.5532 GB, free: 104 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.5845, allocations: 0 / 0.5532 GB, free: 104 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5845, allocations: 0 / 0.5532 GB, free: 104 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003874/0.5849, allocations: 0 / 0.5532 GB, free: 104 kB / 414.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.02118/0.6061, allocations: 7.924 MB / 0.5609 GB, free: 8.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6062, allocations: 15.89 kB / 0.5609 GB, free: 8.078 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.6209, allocations: 3.057 MB / 0.5639 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.6343, allocations: 5.178 MB / 0.569 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.6347, allocations: 382.4 kB / 0.5694 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002418/0.6372, allocations: 0.5074 MB / 0.5698 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03247/0.6696, allocations: 15.51 MB / 0.585 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002373/0.6699, allocations: 71.36 kB / 0.5851 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008305/0.6708, allocations: 235.8 kB / 0.5853 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004046/0.6748, allocations: 2.556 MB / 0.5878 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/0.7028, allocations: 13.09 MB / 0.6006 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3699/1.073, allocations: 57.61 MB / 0.6568 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/1.089, allocations: 6.365 MB / 0.663 GB, free: 109.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/1.093, allocations: 3.451 MB / 0.6664 GB, free: 107.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/1.111, allocations: 11.58 MB / 0.6777 GB, free: 101.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/1.111, allocations: 57.81 kB / 0.6778 GB, free: 101.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=248): time 5.791e-06/1.111, allocations: 3.875 kB / 0.6778 GB, free: 101.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=343): time 0.1378/1.249, allocations: 39.59 MB / 0.7164 GB, free: 88.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.249, allocations: 238.1 kB / 0.7167 GB, free: 88.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009334/1.258, allocations: 5.743 MB / 0.7223 GB, free: 82.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.259, allocations: 77.7 kB / 0.7223 GB, free: 82.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0032/1.263, allocations: 4.361 MB / 0.7266 GB, free: 78.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002004/1.265, allocations: 1.257 MB / 0.7278 GB, free: 77.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002603/1.267, allocations: 1.753 MB / 0.7295 GB, free: 75.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/1.267, allocations: 301.1 kB / 0.7298 GB, free: 75.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/1.272, allocations: 4.089 MB / 0.7338 GB, free: 70.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006715/1.279, allocations: 8.663 MB / 0.7423 GB, free: 60.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01365/1.293, allocations: 13.56 MB / 0.7555 GB, free: 44.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001223/1.293, allocations: 47.75 kB / 0.7556 GB, free: 44.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03155/1.324, allocations: 16.4 MB / 0.7716 GB, free: 27.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/1.324, allocations: 72 kB / 0.7717 GB, free: 27.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/1.325, allocations: 163.9 kB / 0.7718 GB, free: 27.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01246/1.337, allocations: 4.283 MB / 0.776 GB, free: 23.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007112/1.344, allocations: 1.895 MB / 0.7778 GB, free: 21.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02668/1.371, allocations: 21.56 MB / 0.7989 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009361/1.38, allocations: 0.5049 MB / 0.7994 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.382, allocations: 488 kB / 0.7999 GB, free: 14.8 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.006292/1.388, allocations: 3.126 MB / 0.8029 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.39, allocations: 0.5168 MB / 0.8034 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/1.411, allocations: 10.11 MB / 0.8133 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.797e-05/1.411, allocations: 36 kB / 0.8133 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.072e-05/1.411, allocations: 12 kB / 0.8133 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.08e-05/1.411, allocations: 19.94 kB / 0.8133 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3249/1.736, allocations: 20.18 MB / 0.8331 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.707e-05/1.736, allocations: 10.75 kB / 0.8331 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/1.738, allocations: 0.4884 MB / 0.8335 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01189/1.75, allocations: 3.848 MB / 0.8373 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007666/1.751, allocations: 66.17 kB / 0.8374 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02413/1.775, allocations: 19.12 MB / 0.856 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.775, allocations: 9.375 kB / 0.856 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0319/1.807, allocations: 14.9 MB / 0.8706 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004025/1.811, allocations: 1.166 MB / 0.8717 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/1.813, allocations: 61.61 kB / 0.8718 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003736/1.817, allocations: 231.4 kB / 0.872 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/1.818, allocations: 234.8 kB / 0.8722 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/1.818, allocations: 94.19 kB / 0.8723 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007497/1.825, allocations: 3.625 MB / 0.8759 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.51e-07/1.826, allocations: 2.078 kB / 0.8759 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0108/1.836, allocations: 1.784 MB / 0.8776 GB, free: 143 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.001018/1.837, allocations: 259.9 kB / 0.8779 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02298/1.86, allocations: 13.29 MB / 0.8908 GB, free: 139 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.522e-05/1.86, allocations: 0 / 0.8908 GB, free: 139 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005466/1.866, allocations: 3.788 MB / 0.8945 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006174/1.872, allocations: 0.7276 MB / 0.8953 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/1.9, allocations: 19.21 MB / 0.914 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004985/1.905, allocations: 4.836 MB / 0.9187 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005964/1.911, allocations: 2.583 MB / 0.9213 GB, free: 115 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.912, allocations: 347.4 kB / 0.9216 GB, free: 114.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.425e-06/1.912, allocations: 4 kB / 0.9216 GB, free: 114.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1147/2.027, allocations: 79.02 MB / 0.9988 GB, free: 35.7 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)