Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001256/0.001256, allocations: 83.83 kB / 20.49 MB, free: 1.387 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.001351/0.001351, allocations: 160.5 kB / 23.74 MB, free: 4.578 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.385/1.385, allocations: 177.2 MB / 204.1 MB, free: 9.305 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.196/0.196, allocations: 32.8 MB / 293.3 MB, free: 192 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.91 kB / 439.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2768, allocations: 65.44 MB / 0.4934 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01838/0.2952, allocations: 15.33 MB / 0.5084 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01239/0.3076, allocations: 5.45 MB / 0.5137 GB, free: 312 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.3104, allocations: 127.4 kB / 0.5138 GB, free: 184 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009388/0.3198, allocations: 4.688 MB / 0.5184 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007763/0.3275, allocations: 3.105 MB / 0.5214 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.331, allocations: 1.661 MB / 0.523 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.3436, allocations: 8.953 MB / 0.5318 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007755/0.3513, allocations: 5.219 MB / 0.5369 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009152/0.3605, allocations: 4.232 MB / 0.541 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007265/0.3677, allocations: 4.377 MB / 0.5453 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.3699, allocations: 0.6602 MB / 0.5459 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.3742, allocations: 1.725 MB / 0.5476 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004957/0.3792, allocations: 3.786 MB / 0.5513 GB, free: 9.613 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005885/0.385, allocations: 3.126 MB / 0.5544 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.402, allocations: 13.62 MB / 0.5677 GB, free: 8.801 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.402, allocations: 7.938 kB / 0.5677 GB, free: 8.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.402, allocations: 3.938 kB / 0.5677 GB, free: 8.789 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003883/0.4024, allocations: 0 / 0.5677 GB, free: 8.789 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.02401/0.4264, allocations: 9.124 MB / 0.5766 GB, free: 15.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4264, allocations: 8.031 kB / 0.5766 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01922/0.4457, allocations: 4.453 MB / 0.5809 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.4596, allocations: 5.037 MB / 0.5859 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/0.4601, allocations: 430.9 kB / 0.5863 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/0.4625, allocations: 0.5972 MB / 0.5869 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04039/0.5029, allocations: 20.76 MB / 0.6071 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/0.5032, allocations: 75.41 kB / 0.6072 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009579/0.5041, allocations: 275.7 kB / 0.6075 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005812/0.5099, allocations: 3.71 MB / 0.6111 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03807/0.548, allocations: 18.23 MB / 0.6289 GB, free: 8.738 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.5179/1.066, allocations: 69.38 MB / 0.6966 GB, free: 66.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01598/1.082, allocations: 6.526 MB / 0.703 GB, free: 59.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004686/1.087, allocations: 3.825 MB / 0.7067 GB, free: 56.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02597/1.113, allocations: 14.84 MB / 0.7212 GB, free: 41.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.113, allocations: 64.59 kB / 0.7213 GB, free: 41.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 8.556e-06/1.113, allocations: 0 / 0.7213 GB, free: 41.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1046/1.217, allocations: 35.9 MB / 0.7564 GB, free: 6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/1.217, allocations: 199.8 kB / 0.7565 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007068/1.224, allocations: 6.185 MB / 0.7626 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007738/1.225, allocations: 89.7 kB / 0.7627 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004243/1.229, allocations: 5.608 MB / 0.7682 GB, free: 10.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002488/1.232, allocations: 1.624 MB / 0.7697 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003656/1.236, allocations: 2.14 MB / 0.7718 GB, free: 6.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.236, allocations: 305.1 kB / 0.7721 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007898/1.244, allocations: 4.343 MB / 0.7764 GB, free: 1.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01405/1.258, allocations: 10.31 MB / 0.7864 GB, free: 4.66 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02267/1.28, allocations: 15.69 MB / 0.8018 GB, free: 2.039 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002183/1.281, allocations: 60 kB / 0.8018 GB, free: 1.98 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03571/1.316, allocations: 16.31 MB / 0.8177 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/1.316, allocations: 96.97 kB / 0.8178 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003366/1.317, allocations: 207.9 kB / 0.818 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008332/1.325, allocations: 2.37 MB / 0.8203 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009/1.334, allocations: 2.472 MB / 0.8228 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/1.356, allocations: 12.46 MB / 0.8349 GB, free: 15.91 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007911/1.363, allocations: 0.6282 MB / 0.8355 GB, free: 15.28 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.365, allocations: 0.6055 MB / 0.8361 GB, free: 14.68 MB / 0.6232 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.006655/1.372, allocations: 3.761 MB / 0.8398 GB, free: 10.9 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.373, allocations: 0.5743 MB / 0.8404 GB, free: 10.32 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/1.391, allocations: 8.251 MB / 0.8484 GB, free: 2.02 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/1.391, allocations: 71.95 kB / 0.8485 GB, free: 1.949 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/1.391, allocations: 15.94 kB / 0.8485 GB, free: 1.934 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.783e-05/1.391, allocations: 19.94 kB / 0.8485 GB, free: 1.914 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04041/1.431, allocations: 16.12 MB / 0.8643 GB, free: 1.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.426e-05/1.432, allocations: 12 kB / 0.8643 GB, free: 1.488 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/1.435, allocations: 0.6208 MB / 0.8649 GB, free: 0.8672 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007344/1.442, allocations: 1.815 MB / 0.8667 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008325/1.443, allocations: 77.39 kB / 0.8667 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01897/1.462, allocations: 10.56 MB / 0.877 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/1.462, allocations: 15.94 kB / 0.8771 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2616/1.724, allocations: 12.43 MB / 0.8892 GB, free: 224.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.725, allocations: 0.519 MB / 0.8897 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008635/1.726, allocations: 78.81 kB / 0.8898 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.729, allocations: 226.2 kB / 0.89 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005735/1.729, allocations: 273.4 kB / 0.8903 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/1.729, allocations: 120.2 kB / 0.8904 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004699/1.734, allocations: 3.568 MB / 0.8939 GB, free: 223.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.734, allocations: 0 / 0.8939 GB, free: 223.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007082/1.741, allocations: 1.912 MB / 0.8957 GB, free: 222.9 MB / 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.000611/1.742, allocations: 283.2 kB / 0.896 GB, free: 222.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.755, allocations: 9.697 MB / 0.9055 GB, free: 219.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/1.755, allocations: 3.938 kB / 0.9055 GB, free: 219.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003992/1.759, allocations: 3.122 MB / 0.9085 GB, free: 218.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/1.762, allocations: 0.6711 MB / 0.9092 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/1.786, allocations: 18.04 MB / 0.9268 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005374/1.791, allocations: 5.119 MB / 0.9318 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006035/1.797, allocations: 3.252 MB / 0.935 GB, free: 196 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.798, allocations: 392.5 kB / 0.9353 GB, free: 195.6 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/1.798, allocations: 0 / 0.9353 GB, free: 195.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.09305/1.892, allocations: 62.66 MB / 0.9965 GB, free: 133.8 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.501122683286667] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.900754913687706 1.9088240330000001 1.504461042 Calling exit ...