Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001195/0.001196, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.657/1.657, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.4274/0.4274, allocations: 39.93 MB / 309.7 MB, free: 9.281 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.001908/0.001908, allocations: 74.39 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.158, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01984/0.1779, allocations: 17.79 MB / 452.3 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3438/0.5217, allocations: 5.647 MB / 457.9 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004626/0.5265, allocations: 110.2 kB / 458 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008496/0.535, allocations: 4.586 MB / 462.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009519/0.5446, allocations: 3.018 MB / 465.6 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.5489, allocations: 1.505 MB / 467.1 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.5636, allocations: 8.609 MB / 475.8 MB, free: 32.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.5772, allocations: 6.471 MB / 482.2 MB, free: 29.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00987/0.5871, allocations: 3.012 MB / 485.2 MB, free: 28.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/0.5981, allocations: 4.292 MB / 489.5 MB, free: 27.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005579/0.6038, allocations: 0.6627 MB / 490.2 MB, free: 27.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/0.6146, allocations: 1.835 MB / 492 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01413/0.6288, allocations: 3.73 MB / 495.8 MB, free: 25.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01779/0.6467, allocations: 4.22 MB / 500 MB, free: 22.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02964/0.6763, allocations: 13.15 MB / 0.5011 GB, free: 15.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.6764, allocations: 0 / 0.5011 GB, free: 15.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6764, allocations: 3.938 kB / 0.5011 GB, free: 15.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007368/0.6771, allocations: 4 kB / 0.5011 GB, free: 15.23 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03973/0.7169, allocations: 9.039 MB / 0.5099 GB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.717, allocations: 15.89 kB / 0.51 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01812/0.7351, allocations: 4.106 MB / 0.514 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01665/0.7518, allocations: 5.293 MB / 0.5191 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/0.7529, allocations: 443.3 kB / 0.5196 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00614/0.759, allocations: 0.6012 MB / 0.5201 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06121/0.8203, allocations: 20.62 MB / 0.5403 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005745/0.8209, allocations: 75.25 kB / 0.5404 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004283/0.8252, allocations: 268 kB / 0.5406 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007156/0.8324, allocations: 3.717 MB / 0.5442 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04862/0.881, allocations: 18.21 MB / 0.562 GB, free: 2.828 MB / 430.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.4986/1.38, allocations: 74.62 MB / 0.6349 GB, free: 94.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/1.399, allocations: 7.457 MB / 0.6422 GB, free: 93.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00577/1.404, allocations: 4.112 MB / 0.6462 GB, free: 93.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03277/1.437, allocations: 18.22 MB / 0.664 GB, free: 84.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/1.437, allocations: 66.72 kB / 0.664 GB, free: 84.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 6.672e-06/1.437, allocations: 0 / 0.664 GB, free: 84.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1367/1.574, allocations: 35.09 MB / 0.6983 GB, free: 74.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/1.574, allocations: 205.2 kB / 0.6985 GB, free: 74.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01917/1.593, allocations: 6.517 MB / 0.7049 GB, free: 70.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.595, allocations: 89.53 kB / 0.705 GB, free: 70.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003971/1.599, allocations: 5.364 MB / 0.7102 GB, free: 66.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002522/1.601, allocations: 1.547 MB / 0.7117 GB, free: 64.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00518/1.607, allocations: 2.135 MB / 0.7138 GB, free: 62.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.003e-05/1.607, allocations: 305.1 kB / 0.7141 GB, free: 62.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006671/1.613, allocations: 4.33 MB / 0.7183 GB, free: 58.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/1.624, allocations: 10.28 MB / 0.7283 GB, free: 45.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/1.641, allocations: 15.68 MB / 0.7437 GB, free: 27.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001921/1.641, allocations: 60 kB / 0.7437 GB, free: 27.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03809/1.679, allocations: 16.35 MB / 0.7597 GB, free: 10.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003068/1.68, allocations: 92 kB / 0.7598 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004203/1.68, allocations: 208 kB / 0.76 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/1.688, allocations: 2.376 MB / 0.7623 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00914/1.697, allocations: 2.468 MB / 0.7647 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/1.719, allocations: 12.76 MB / 0.7772 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/1.73, allocations: 0.5736 MB / 0.7777 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003225/1.733, allocations: 0.6093 MB / 0.7783 GB, free: 7.516 MB / 0.4981 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.01304/1.746, allocations: 3.777 MB / 0.782 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002561/1.749, allocations: 0.5938 MB / 0.7826 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02246/1.771, allocations: 8.322 MB / 0.7907 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/1.771, allocations: 63.98 kB / 0.7908 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-05/1.771, allocations: 12 kB / 0.7908 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/1.771, allocations: 19.94 kB / 0.7908 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05482/1.826, allocations: 18.98 MB / 0.8093 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.859e-05/1.826, allocations: 12 kB / 0.8093 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/1.83, allocations: 0.624 MB / 0.81 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00725/1.837, allocations: 1.819 MB / 0.8117 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001395/1.839, allocations: 80.45 kB / 0.8118 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/1.859, allocations: 10.83 MB / 0.8224 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-05/1.859, allocations: 19.88 kB / 0.8224 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3327/2.192, allocations: 12.47 MB / 0.8346 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004119/2.196, allocations: 1.168 MB / 0.8357 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/2.198, allocations: 78.48 kB / 0.8358 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003469/2.201, allocations: 202 kB / 0.836 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006786/2.202, allocations: 261.6 kB / 0.8362 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/2.202, allocations: 116.9 kB / 0.8363 GB, free: 181.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008543/2.211, allocations: 4.056 MB / 0.8403 GB, free: 181.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/2.211, allocations: 0.5625 kB / 0.8403 GB, free: 181.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01344/2.224, allocations: 1.962 MB / 0.8422 GB, free: 181 MB / 0.545 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.001271/2.225, allocations: 280.2 kB / 0.8425 GB, free: 180.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03079/2.256, allocations: 15.89 MB / 0.858 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.341e-05/2.256, allocations: 2.75 kB / 0.858 GB, free: 177.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00644/2.263, allocations: 3.385 MB / 0.8613 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007389/2.27, allocations: 0.8016 MB / 0.8621 GB, free: 175.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/2.306, allocations: 17.91 MB / 0.8796 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009723/2.316, allocations: 5.602 MB / 0.8851 GB, free: 166.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009689/2.326, allocations: 3.322 MB / 0.8883 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/2.327, allocations: 411.9 kB / 0.8887 GB, free: 165.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.333e-06/2.327, allocations: 4 kB / 0.8887 GB, free: 165.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1269/2.454, allocations: 75.01 MB / 0.962 GB, free: 101.4 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)