Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008354/0.0008354, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007708/0.0007708, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8299/0.8299, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1464/0.1464, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 3.938 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.101e-05, allocations: 9.453 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01121/0.01124, allocations: 15.47 MB / 423.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009886/0.02113, allocations: 5.423 MB / 429 MB, free: 8.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.02406, allocations: 131.4 kB / 429.1 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005994/0.03006, allocations: 4.711 MB / 433.8 MB, free: 3.184 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1827/0.2128, allocations: 3.232 MB / 437.1 MB, free: 16.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.216, allocations: 1.671 MB / 438.7 MB, free: 16.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.2267, allocations: 9.858 MB / 448.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009657/0.2363, allocations: 6.259 MB / 454.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01217/0.2485, allocations: 4.724 MB / 459.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006878/0.2554, allocations: 4.902 MB / 464.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002344/0.2577, allocations: 0.6776 MB / 465.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.2615, allocations: 1.837 MB / 467 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003944/0.2655, allocations: 4.026 MB / 471 MB, free: 6.637 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003691/0.2692, allocations: 2.515 MB / 473.5 MB, free: 4.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.2822, allocations: 13.88 MB / 487.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2822, allocations: 4 kB / 487.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2822, allocations: 0 / 487.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004124/0.2826, allocations: 4 kB / 487.4 MB, free: 6.91 MB / 378.7 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.01894/0.3016, allocations: 9.325 MB / 496.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.3016, allocations: 12.03 kB / 496.8 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.3119, allocations: 4.259 MB / 0.4893 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009794/0.3217, allocations: 5.2 MB / 0.4944 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005204/0.3222, allocations: 435.4 kB / 0.4948 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003106/0.3253, allocations: 0.6066 MB / 0.4954 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03081/0.3561, allocations: 20.72 MB / 0.5156 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002094/0.3563, allocations: 83.33 kB / 0.5157 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006796/0.357, allocations: 269.2 kB / 0.5159 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/0.3611, allocations: 3.712 MB / 0.5196 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/0.391, allocations: 18.21 MB / 0.5373 GB, free: 8.199 MB / 442.7 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.08354/0.4745, allocations: 70.04 MB / 0.6057 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.4867, allocations: 6.518 MB / 0.6121 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004917/0.4916, allocations: 3.817 MB / 0.6158 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3296/0.8212, allocations: 15.09 MB / 0.6306 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.8212, allocations: 68.25 kB / 0.6306 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=335): time 5.971e-06/0.8212, allocations: 0 / 0.6306 GB, free: 166.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.06952/0.8907, allocations: 36.61 MB / 0.6664 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.8908, allocations: 196.8 kB / 0.6666 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006994/0.8978, allocations: 6.679 MB / 0.6731 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/0.899, allocations: 89.64 kB / 0.6732 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/0.9018, allocations: 5.574 MB / 0.6786 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001758/0.9035, allocations: 1.59 MB / 0.6802 GB, free: 139 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002228/0.9057, allocations: 2.11 MB / 0.6822 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.9058, allocations: 305.1 kB / 0.6825 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/0.9099, allocations: 4.323 MB / 0.6867 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007778/0.9177, allocations: 10.3 MB / 0.6968 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.93, allocations: 15.65 MB / 0.7121 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002132/0.9302, allocations: 60 kB / 0.7121 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02396/0.9541, allocations: 16.27 MB / 0.728 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.942e-05/0.9542, allocations: 100.2 kB / 0.7281 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.9544, allocations: 208 kB / 0.7283 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/0.9586, allocations: 2.369 MB / 0.7306 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005402/0.964, allocations: 2.453 MB / 0.733 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.9757, allocations: 12.48 MB / 0.7452 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006653/0.9823, allocations: 0.7141 MB / 0.7459 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/0.984, allocations: 0.5976 MB / 0.7465 GB, free: 65.12 MB / 0.5105 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.005796/0.9898, allocations: 3.776 MB / 0.7502 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.9909, allocations: 0.5781 MB / 0.7508 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009414/1, allocations: 8.259 MB / 0.7588 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.842e-05/1, allocations: 67.92 kB / 0.7589 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1, allocations: 12 kB / 0.7589 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.313e-05/1, allocations: 19.92 kB / 0.7589 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02443/1.025, allocations: 16.28 MB / 0.7748 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/1.025, allocations: 16 kB / 0.7748 GB, free: 35.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.027, allocations: 0.6248 MB / 0.7754 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/1.03, allocations: 1.801 MB / 0.7772 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005045/1.03, allocations: 87.58 kB / 0.7773 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009468/1.04, allocations: 10.58 MB / 0.7876 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.04, allocations: 23.88 kB / 0.7876 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.053, allocations: 12.4 MB / 0.7998 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002855/1.056, allocations: 1.144 MB / 0.8009 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.057, allocations: 79.98 kB / 0.8009 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.06, allocations: 299.6 kB / 0.8012 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/1.06, allocations: 281.5 kB / 0.8015 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.061, allocations: 119.8 kB / 0.8016 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004713/1.065, allocations: 3.946 MB / 0.8055 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.065, allocations: 0 / 0.8055 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008235/1.073, allocations: 2.172 MB / 0.8076 GB, free: 1.984 MB / 0.5105 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.0009675/1.074, allocations: 313.8 kB / 0.8079 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1992/1.274, allocations: 9.659 MB / 0.8173 GB, free: 175.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-05/1.274, allocations: 5.562 kB / 0.8173 GB, free: 175.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/1.279, allocations: 3.113 MB / 0.8204 GB, free: 174.9 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.282, allocations: 0.6773 MB / 0.821 GB, free: 174.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.312, allocations: 18.78 MB / 0.8394 GB, free: 167.2 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007528/1.319, allocations: 5.103 MB / 0.8444 GB, free: 165.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/1.322, allocations: 492.7 kB / 0.8448 GB, free: 165.8 MB / 0.5262 GB Notification: Performance of SimCode: time 1.512e-06/1.322, allocations: 0 / 0.8448 GB, free: 165.8 MB / 0.5262 GB Notification: Performance of Templates: time 0.1408/1.463, allocations: 145 MB / 0.9864 GB, free: 28.99 MB / 0.5262 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.441533297300339] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.4700037501752377 1.476187741 1.192465101 Calling exit ...