Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 212.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2453/0.2453, allocations: 46.93 MB / 360.8 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.91 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.362, allocations: 66.04 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02279/0.3848, allocations: 17.75 MB / 0.5785 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.3999, allocations: 5.745 MB / 0.5841 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.4039, allocations: 127.4 kB / 0.5842 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009999/0.4139, allocations: 4.664 MB / 0.5887 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009238/0.4231, allocations: 3.07 MB / 0.5917 GB, free: 4.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.4271, allocations: 1.494 MB / 0.5932 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01518/0.4422, allocations: 8.956 MB / 0.602 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008782/0.451, allocations: 5.251 MB / 0.6071 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007288/0.4583, allocations: 3.049 MB / 0.6101 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008917/0.4672, allocations: 4.627 MB / 0.6146 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00286/0.4701, allocations: 0.6602 MB / 0.6152 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005597/0.4757, allocations: 1.881 MB / 0.6171 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006128/0.4818, allocations: 3.787 MB / 0.6208 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008055/0.4899, allocations: 4.183 MB / 0.6248 GB, free: 2.895 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02098/0.5108, allocations: 13.55 MB / 0.6381 GB, free: 5.297 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.5108, allocations: 0 / 0.6381 GB, free: 5.297 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5109, allocations: 4 kB / 0.6381 GB, free: 5.293 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004825/0.5113, allocations: 0 / 0.6381 GB, free: 5.293 MB / 478.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.02715/0.5385, allocations: 9.124 MB / 0.647 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.5385, allocations: 8.031 kB / 0.647 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01809/0.5566, allocations: 4.153 MB / 0.651 GB, free: 7.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01384/0.5705, allocations: 5.006 MB / 0.6559 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/0.571, allocations: 434.9 kB / 0.6563 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00287/0.5739, allocations: 0.6049 MB / 0.6569 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0453/0.6192, allocations: 20.63 MB / 0.6771 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002966/0.6195, allocations: 79.39 kB / 0.6772 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/0.621, allocations: 279.7 kB / 0.6774 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006323/0.6273, allocations: 3.71 MB / 0.6811 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04236/0.6696, allocations: 18.21 MB / 0.6988 GB, free: 5.715 MB / 0.5294 GB 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.7347/1.404, allocations: 74.42 MB / 0.7715 GB, free: 103.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/1.42, allocations: 6.262 MB / 0.7776 GB, free: 101.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004719/1.425, allocations: 3.83 MB / 0.7814 GB, free: 100.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02604/1.451, allocations: 15.6 MB / 0.7966 GB, free: 91.45 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/1.451, allocations: 71.03 kB / 0.7967 GB, free: 91.37 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 5.53e-06/1.451, allocations: 0 / 0.7967 GB, free: 91.37 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1073/1.558, allocations: 34.62 MB / 0.8305 GB, free: 57.32 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/1.558, allocations: 192.9 kB / 0.8307 GB, free: 57.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008582/1.567, allocations: 6.494 MB / 0.837 GB, free: 50.72 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.568, allocations: 81.7 kB / 0.8371 GB, free: 50.64 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00351/1.571, allocations: 5.581 MB / 0.8425 GB, free: 45.38 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001861/1.573, allocations: 1.618 MB / 0.8441 GB, free: 43.78 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00297/1.576, allocations: 2.146 MB / 0.8462 GB, free: 41.63 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.459e-05/1.576, allocations: 305.1 kB / 0.8465 GB, free: 41.33 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005353/1.582, allocations: 4.335 MB / 0.8507 GB, free: 36.99 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00871/1.59, allocations: 10.28 MB / 0.8608 GB, free: 23.85 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/1.605, allocations: 15.68 MB / 0.8761 GB, free: 5.25 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/1.605, allocations: 56 kB / 0.8761 GB, free: 5.195 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03962/1.645, allocations: 16.36 MB / 0.8921 GB, free: 4.801 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003037/1.645, allocations: 98.59 kB / 0.8922 GB, free: 4.707 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004504/1.646, allocations: 208.5 kB / 0.8924 GB, free: 4.504 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008769/1.654, allocations: 2.37 MB / 0.8947 GB, free: 2.133 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009792/1.664, allocations: 2.468 MB / 0.8971 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/1.688, allocations: 12.63 MB / 0.9095 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009407/1.698, allocations: 0.5893 MB / 0.9101 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/1.7, allocations: 0.6118 MB / 0.9106 GB, free: 1.711 MB / 0.5919 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.009402/1.709, allocations: 3.765 MB / 0.9143 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/1.711, allocations: 0.6247 MB / 0.9149 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02221/1.734, allocations: 8.297 MB / 0.923 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002068/1.734, allocations: 66.17 kB / 0.9231 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.29e-05/1.734, allocations: 8 kB / 0.9231 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001647/1.734, allocations: 23.92 kB / 0.9231 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05372/1.788, allocations: 18.8 MB / 0.9415 GB, free: 1.711 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-05/1.788, allocations: 12 kB / 0.9415 GB, free: 1.699 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003268/1.791, allocations: 0.6242 MB / 0.9421 GB, free: 1.074 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007128/1.798, allocations: 1.808 MB / 0.9439 GB, free: 15.26 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006611/1.799, allocations: 83.98 kB / 0.944 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/1.819, allocations: 10.72 MB / 0.9544 GB, free: 4.344 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/1.819, allocations: 23.88 kB / 0.9545 GB, free: 4.32 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02542/1.844, allocations: 12.48 MB / 0.9666 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/1.846, allocations: 0.5894 MB / 0.9672 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/1.848, allocations: 75.98 kB / 0.9673 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/1.851, allocations: 207.7 kB / 0.9675 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/1.851, allocations: 281.5 kB / 0.9678 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003017/1.852, allocations: 119.9 kB / 0.9679 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007607/1.859, allocations: 4.016 MB / 0.9718 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/1.859, allocations: 0 / 0.9718 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01139/1.871, allocations: 1.918 MB / 0.9737 GB, free: 380 kB / 0.6544 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.0009898/1.872, allocations: 286.3 kB / 0.9739 GB, free: 84 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01862/1.89, allocations: 9.679 MB / 0.9834 GB, free: 6.414 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/1.89, allocations: 4.062 kB / 0.9834 GB, free: 6.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006033/1.896, allocations: 3.121 MB / 0.9864 GB, free: 3.266 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/1.902, allocations: 0.7999 MB / 0.9872 GB, free: 2.473 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.321/2.223, allocations: 18.07 MB / 1.005 GB, free: 237.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005252/2.228, allocations: 5.579 MB / 1.01 GB, free: 236.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006095/2.234, allocations: 3.311 MB / 1.014 GB, free: 236.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/2.235, allocations: 425 kB / 1.014 GB, free: 236.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.052e-06/2.235, allocations: 0 / 1.014 GB, free: 236.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1202/2.355, allocations: 72.97 MB / 1.085 GB, free: 167.9 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.310882325982675] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.3664362591225654 2.377212952 1.863557638 Calling exit ...