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.00139/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001088/0.001088, allocations: 193 kB / 16.14 MB, free: 6.66 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.7/1.7, allocations: 205.1 MB / 222 MB, free: 4.762 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.4409/0.4409, allocations: 39.94 MB / 309.3 MB, free: 9.344 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.001422/0.001422, allocations: 74.88 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1527, allocations: 56.88 MB / 433.8 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.3648/0.5176, allocations: 63.15 MB / 497 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04434/0.562, allocations: 13.23 MB / 0.4982 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01984/0.5819, allocations: 274.8 kB / 0.4985 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.5921, allocations: 4.569 MB / 0.503 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.603, allocations: 2.853 MB / 0.5057 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.6074, allocations: 1.381 MB / 0.5071 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0232/0.6306, allocations: 12.02 MB / 0.5188 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.6432, allocations: 6.305 MB / 0.525 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009493/0.6527, allocations: 2.663 MB / 0.5276 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.6635, allocations: 4.498 MB / 0.532 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003886/0.6675, allocations: 456 kB / 0.5324 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007432/0.6749, allocations: 1.72 MB / 0.5341 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007861/0.6828, allocations: 3.561 MB / 0.5376 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01161/0.6945, allocations: 4.019 MB / 0.5415 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0242/0.7187, allocations: 12.97 MB / 0.5542 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.7188, allocations: 4 kB / 0.5542 GB, free: 13.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7188, allocations: 0 / 0.5542 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0009209/0.7197, allocations: 0 / 0.5542 GB, free: 13.8 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.03727/0.757, allocations: 9.034 MB / 0.563 GB, free: 4.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.7571, allocations: 12.03 kB / 0.563 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/0.7755, allocations: 4.1 MB / 0.567 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/0.7909, allocations: 5.303 MB / 0.5722 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005727/0.7915, allocations: 430.9 kB / 0.5726 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003955/0.7955, allocations: 0.601 MB / 0.5732 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05274/0.8482, allocations: 20.63 MB / 0.5933 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004704/0.8487, allocations: 79.3 kB / 0.5934 GB, free: 4.293 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002691/0.8515, allocations: 267.7 kB / 0.5936 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006061/0.8575, allocations: 3.718 MB / 0.5973 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04269/0.9003, allocations: 18.19 MB / 0.615 GB, free: 14.1 MB / 494.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.6523/1.553, allocations: 74.64 MB / 0.6879 GB, free: 89.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/1.575, allocations: 7.464 MB / 0.6952 GB, free: 86.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007438/1.582, allocations: 4.106 MB / 0.6992 GB, free: 84.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03371/1.616, allocations: 18.21 MB / 0.717 GB, free: 75.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/1.616, allocations: 72.8 kB / 0.7171 GB, free: 75.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=335): time 6.232e-06/1.616, allocations: 0 / 0.7171 GB, free: 75.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1134/1.73, allocations: 35.11 MB / 0.7514 GB, free: 47.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/1.73, allocations: 192.9 kB / 0.7516 GB, free: 46.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009723/1.739, allocations: 6.51 MB / 0.7579 GB, free: 40.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.741, allocations: 88.12 kB / 0.758 GB, free: 40.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.744, allocations: 5.369 MB / 0.7632 GB, free: 34.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001994/1.746, allocations: 1.55 MB / 0.7648 GB, free: 33.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/1.748, allocations: 2.131 MB / 0.7668 GB, free: 31.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/1.748, allocations: 301.1 kB / 0.7671 GB, free: 30.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005711/1.754, allocations: 4.335 MB / 0.7714 GB, free: 26.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008969/1.763, allocations: 10.28 MB / 0.7814 GB, free: 13.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01843/1.782, allocations: 15.67 MB / 0.7967 GB, free: 10.87 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002384/1.782, allocations: 63.47 kB / 0.7968 GB, free: 10.81 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03968/1.822, allocations: 16.36 MB / 0.8127 GB, free: 10.41 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003678/1.822, allocations: 96 kB / 0.8128 GB, free: 10.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004956/1.823, allocations: 204 kB / 0.813 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008393/1.831, allocations: 2.369 MB / 0.8153 GB, free: 7.742 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00972/1.841, allocations: 2.464 MB / 0.8177 GB, free: 5.273 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3175/2.158, allocations: 11.89 MB / 0.8294 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009717/2.168, allocations: 0.5856 MB / 0.8299 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00269/2.171, allocations: 0.6032 MB / 0.8305 GB, free: 152.4 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.008528/2.179, allocations: 3.778 MB / 0.8342 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/2.181, allocations: 0.5883 MB / 0.8348 GB, free: 151 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/2.198, allocations: 8.332 MB / 0.8429 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/2.198, allocations: 64.27 kB / 0.843 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/2.198, allocations: 13.19 kB / 0.843 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.079e-05/2.198, allocations: 20.38 kB / 0.843 GB, free: 148 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04941/2.247, allocations: 18.95 MB / 0.8615 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-05/2.247, allocations: 13 kB / 0.8615 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/2.251, allocations: 0.6248 MB / 0.8621 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007124/2.258, allocations: 1.805 MB / 0.8639 GB, free: 140.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009222/2.259, allocations: 85.83 kB / 0.864 GB, free: 140.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/2.276, allocations: 9.996 MB / 0.8737 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-05/2.277, allocations: 23.36 kB / 0.8738 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02284/2.299, allocations: 12.48 MB / 0.886 GB, free: 130.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003679/2.303, allocations: 1.159 MB / 0.8871 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001699/2.305, allocations: 78.7 kB / 0.8872 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/2.308, allocations: 203 kB / 0.8874 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007537/2.309, allocations: 266.5 kB / 0.8876 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/2.309, allocations: 116.3 kB / 0.8877 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006377/2.316, allocations: 4.052 MB / 0.8917 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.91e-07/2.316, allocations: 0 / 0.8917 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01119/2.327, allocations: 1.954 MB / 0.8936 GB, free: 128.4 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.001134/2.328, allocations: 287.2 kB / 0.8939 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01798/2.346, allocations: 10.12 MB / 0.9037 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.465e-05/2.346, allocations: 4 kB / 0.9037 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00814/2.354, allocations: 3.387 MB / 0.9071 GB, free: 115.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008001/2.362, allocations: 0.761 MB / 0.9078 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04128/2.404, allocations: 21.74 MB / 0.929 GB, free: 92.78 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01292/2.417, allocations: 5.61 MB / 0.9345 GB, free: 87.14 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01409/2.431, allocations: 3.315 MB / 0.9377 GB, free: 83.82 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/2.433, allocations: 423.4 kB / 0.9381 GB, free: 83.41 MB / 0.5138 GB Notification: Performance of SimCode: time 1.192e-06/2.433, allocations: 0 / 0.9381 GB, free: 83.41 MB / 0.5138 GB Notification: Performance of Templates: time 0.1134/2.547, allocations: 72.18 MB / 1.009 GB, free: 11.34 MB / 0.5138 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)