Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001496/0.001496, allocations: 192.8 kB / 16.25 MB, free: 6.617 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.476/1.476, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.3425/0.3425, allocations: 37.99 MB / 307.4 MB, free: 10.06 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.001418/0.001418, allocations: 70.39 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 56.46 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3199/0.4387, allocations: 63.16 MB / 494.3 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03739/0.4761, allocations: 13.11 MB / 0.4956 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02102/0.4974, allocations: 275.4 kB / 0.4958 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009/0.5064, allocations: 4.399 MB / 0.5001 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.5173, allocations: 2.835 MB / 0.5029 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00496/0.5223, allocations: 1.412 MB / 0.5043 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02071/0.543, allocations: 8.718 MB / 0.5128 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01737/0.5605, allocations: 6.797 MB / 0.5194 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0107/0.5712, allocations: 3.084 MB / 0.5224 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009492/0.5807, allocations: 4.706 MB / 0.527 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003889/0.5847, allocations: 0.6623 MB / 0.5277 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006884/0.5916, allocations: 1.861 MB / 0.5295 GB, free: 8.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007129/0.5988, allocations: 3.78 MB / 0.5332 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01108/0.6099, allocations: 4.257 MB / 0.5373 GB, free: 396 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0202/0.6301, allocations: 13.22 MB / 0.5503 GB, free: 3.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.6302, allocations: 0 / 0.5503 GB, free: 3.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.6302, allocations: 4 kB / 0.5503 GB, free: 3.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006394/0.6308, allocations: 3.938 kB / 0.5503 GB, free: 3.113 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.0285/0.6593, allocations: 9.035 MB / 0.5591 GB, free: 9.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6594, allocations: 11.89 kB / 0.5591 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/0.6773, allocations: 4.108 MB / 0.5631 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.6908, allocations: 5.295 MB / 0.5683 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005244/0.6914, allocations: 434.9 kB / 0.5687 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003588/0.695, allocations: 0.6048 MB / 0.5693 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04931/0.7443, allocations: 20.62 MB / 0.5894 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005243/0.7449, allocations: 79.23 kB / 0.5895 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002853/0.7478, allocations: 271.7 kB / 0.5898 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006067/0.7538, allocations: 3.714 MB / 0.5934 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03915/0.793, allocations: 18.19 MB / 0.6111 GB, free: 3.414 MB / 478.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 preOpt removeSimpleEquations (simulation): time 0.5357/1.329, allocations: 74.64 MB / 0.684 GB, free: 91.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01953/1.348, allocations: 7.456 MB / 0.6913 GB, free: 88.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006906/1.355, allocations: 4.114 MB / 0.6953 GB, free: 86.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03128/1.387, allocations: 18.22 MB / 0.7131 GB, free: 77.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/1.387, allocations: 68 kB / 0.7132 GB, free: 77.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 6.202e-06/1.387, allocations: 3.969 kB / 0.7132 GB, free: 77.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1079/1.495, allocations: 35.09 MB / 0.7475 GB, free: 54.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/1.495, allocations: 196.9 kB / 0.7477 GB, free: 54.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00879/1.504, allocations: 6.518 MB / 0.754 GB, free: 47.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009725/1.505, allocations: 85.53 kB / 0.7541 GB, free: 47.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003113/1.508, allocations: 5.364 MB / 0.7593 GB, free: 42.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.51, allocations: 1.548 MB / 0.7609 GB, free: 40.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00279/1.513, allocations: 2.137 MB / 0.7629 GB, free: 38.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.792e-05/1.513, allocations: 309.1 kB / 0.7632 GB, free: 38.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005372/1.518, allocations: 4.335 MB / 0.7675 GB, free: 33.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007752/1.526, allocations: 10.28 MB / 0.7775 GB, free: 20.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/1.541, allocations: 15.67 MB / 0.7928 GB, free: 2.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/1.541, allocations: 60 kB / 0.7929 GB, free: 1.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03606/1.577, allocations: 16.35 MB / 0.8088 GB, free: 1.598 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/1.578, allocations: 92 kB / 0.8089 GB, free: 1.508 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002659/1.578, allocations: 208 kB / 0.8091 GB, free: 1.305 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007856/1.586, allocations: 2.378 MB / 0.8114 GB, free: 14.93 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008772/1.595, allocations: 2.464 MB / 0.8138 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3192/1.914, allocations: 12.76 MB / 0.8263 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/1.924, allocations: 0.5837 MB / 0.8269 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/1.927, allocations: 0.6068 MB / 0.8275 GB, free: 153.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1316): * Single equations (assignments): 1309 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01258/1.939, allocations: 3.77 MB / 0.8311 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002385/1.942, allocations: 0.5887 MB / 0.8317 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/1.958, allocations: 8.329 MB / 0.8399 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.452e-05/1.958, allocations: 63.64 kB / 0.8399 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/1.958, allocations: 12.19 kB / 0.8399 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.496e-05/1.958, allocations: 19.77 kB / 0.8399 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03928/1.998, allocations: 18.97 MB / 0.8585 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.311e-05/1.998, allocations: 12.91 kB / 0.8585 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/2.001, allocations: 0.6238 MB / 0.8591 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007437/2.008, allocations: 1.809 MB / 0.8609 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009502/2.009, allocations: 84.83 kB / 0.8609 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02199/2.031, allocations: 10.83 MB / 0.8715 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-05/2.031, allocations: 21.22 kB / 0.8715 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02282/2.054, allocations: 12.47 MB / 0.8837 GB, free: 133.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/2.058, allocations: 1.163 MB / 0.8849 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/2.059, allocations: 85.78 kB / 0.8849 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003109/2.062, allocations: 198.1 kB / 0.8851 GB, free: 132.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008237/2.063, allocations: 267.2 kB / 0.8854 GB, free: 132.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/2.063, allocations: 116.1 kB / 0.8855 GB, free: 132.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007607/2.071, allocations: 4.051 MB / 0.8894 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.41e-07/2.071, allocations: 0 / 0.8894 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01347/2.084, allocations: 1.957 MB / 0.8914 GB, free: 131.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.v) * 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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/2.086, allocations: 281.5 kB / 0.8916 GB, free: 130.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02765/2.114, allocations: 15.89 MB / 0.9071 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.197e-05/2.114, allocations: 4 kB / 0.9071 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005657/2.119, allocations: 3.393 MB / 0.9105 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006337/2.126, allocations: 0.8009 MB / 0.9112 GB, free: 115.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03479/2.161, allocations: 21.74 MB / 0.9325 GB, free: 94.61 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007324/2.168, allocations: 5.599 MB / 0.9379 GB, free: 88.98 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008442/2.176, allocations: 3.319 MB / 0.9412 GB, free: 85.66 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/2.178, allocations: 419.4 kB / 0.9416 GB, free: 85.25 MB / 0.5138 GB Notification: Performance of SimCode: time 8.71e-07/2.178, allocations: 0 / 0.9416 GB, free: 85.25 MB / 0.5138 GB Notification: Performance of Templates: time 0.1265/2.305, allocations: 74.99 MB / 1.015 GB, free: 10.36 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)