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.00182/0.00182, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002153/0.002153, allocations: 205.2 kB / 24.48 MB, free: 3.969 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2325/0.2325, allocations: 46.96 MB / 361.6 MB, free: 4.07 MB / 286.1 MB " [Timeout remaining time 180] 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.00211/0.00211, allocations: 67.89 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01913/0.3451, allocations: 15.31 MB / 0.5768 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.3578, allocations: 5.457 MB / 0.5821 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/0.3607, allocations: 127.4 kB / 0.5822 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009186/0.3699, allocations: 4.474 MB / 0.5866 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00786/0.3777, allocations: 3.082 MB / 0.5896 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.3808, allocations: 1.498 MB / 0.5911 GB, free: 6.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01183/0.3927, allocations: 8.958 MB / 0.5998 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/0.3992, allocations: 5.243 MB / 0.6049 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.4037, allocations: 3.061 MB / 0.6079 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006274/0.4099, allocations: 4.619 MB / 0.6124 GB, free: 148 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.4115, allocations: 0.6602 MB / 0.6131 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.415, allocations: 1.744 MB / 0.6148 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004069/0.4191, allocations: 3.794 MB / 0.6185 GB, free: 9.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005841/0.4249, allocations: 3.115 MB / 0.6215 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.4425, allocations: 13.62 MB / 0.6348 GB, free: 9.121 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4425, allocations: 0 / 0.6348 GB, free: 9.121 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4425, allocations: 0 / 0.6348 GB, free: 9.121 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004115/0.4429, allocations: 0 / 0.6348 GB, free: 9.121 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.02249/0.4654, allocations: 9.124 MB / 0.6437 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4654, allocations: 8.031 kB / 0.6437 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/0.4831, allocations: 4.157 MB / 0.6478 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.4972, allocations: 5.025 MB / 0.6527 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005141/0.4977, allocations: 438.9 kB / 0.6531 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/0.5007, allocations: 0.6011 MB / 0.6537 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04352/0.5443, allocations: 20.7 MB / 0.6739 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.5445, allocations: 83.28 kB / 0.674 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008499/0.5453, allocations: 275.7 kB / 0.6743 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0058/0.5511, allocations: 3.722 MB / 0.6779 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04038/0.5915, allocations: 18.18 MB / 0.6957 GB, free: 9.449 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.6042/1.196, allocations: 69.09 MB / 0.7631 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/1.212, allocations: 6.252 MB / 0.7692 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004631/1.217, allocations: 3.833 MB / 0.773 GB, free: 103.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02764/1.245, allocations: 14.73 MB / 0.7874 GB, free: 97.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.245, allocations: 68.06 kB / 0.7874 GB, free: 97.12 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 8.717e-06/1.245, allocations: 0 / 0.7874 GB, free: 97.12 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1059/1.351, allocations: 34.65 MB / 0.8213 GB, free: 63.09 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/1.351, allocations: 196.4 kB / 0.8215 GB, free: 62.87 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006667/1.357, allocations: 6.194 MB / 0.8275 GB, free: 56.95 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006956/1.358, allocations: 85.3 kB / 0.8276 GB, free: 56.86 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.361, allocations: 5.617 MB / 0.8331 GB, free: 51.47 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.362, allocations: 1.618 MB / 0.8347 GB, free: 49.88 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002957/1.365, allocations: 2.144 MB / 0.8368 GB, free: 47.73 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/1.365, allocations: 305.1 kB / 0.837 GB, free: 47.43 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005742/1.371, allocations: 4.323 MB / 0.8413 GB, free: 43.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009127/1.38, allocations: 10.3 MB / 0.8513 GB, free: 29.98 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02167/1.402, allocations: 15.65 MB / 0.8666 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002928/1.402, allocations: 60 kB / 0.8667 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.0427/1.445, allocations: 16.29 MB / 0.8826 GB, free: 11.08 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.445, allocations: 92 kB / 0.8827 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003292/1.445, allocations: 208 kB / 0.8829 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008848/1.454, allocations: 2.366 MB / 0.8852 GB, free: 8.422 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009524/1.463, allocations: 2.46 MB / 0.8876 GB, free: 5.957 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/1.487, allocations: 12.45 MB / 0.8997 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008336/1.496, allocations: 0.5892 MB / 0.9003 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/1.497, allocations: 0.5961 MB / 0.9009 GB, free: 8.223 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 (1312): * Single equations (assignments): 1305 * 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.007439/1.505, allocations: 3.773 MB / 0.9046 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.506, allocations: 0.5704 MB / 0.9051 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/1.526, allocations: 8.249 MB / 0.9132 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.563e-05/1.526, allocations: 23.86 kB / 0.9132 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.526, allocations: 7.938 kB / 0.9132 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/1.528, allocations: 0.5038 MB / 0.9137 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.529, allocations: 59.94 kB / 0.9138 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/1.532, allocations: 246.2 kB / 0.914 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006832/1.532, allocations: 266.1 kB / 0.9142 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01909/1.552, allocations: 8.409 MB / 0.9225 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01743/1.569, allocations: 11.26 MB / 0.9335 GB, free: 6.777 MB / 0.6232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004558/1.574, allocations: 2.871 MB / 0.9363 GB, free: 3.898 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006377/1.58, allocations: 3.575 MB / 0.9397 GB, free: 360 kB / 0.6232 GB Notification: Performance of Backend: time 6.71e-07/1.58, allocations: 0 / 0.9397 GB, free: 360 kB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01778/1.598, allocations: 7.44 MB / 0.947 GB, free: 8.945 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03314/1.631, allocations: 16.58 MB / 0.9632 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of Templates: time 0.3945/2.025, allocations: 92.69 MB / 1.054 GB, free: 194.1 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: 9.278471628997067] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.0346039869982633 2.043291199 1.5984097910000001 Calling exit ...