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.001158/0.001158, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003457/0.003457, allocations: 163.2 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8764/0.8764, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 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.2575/0.2575, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.333e-05, allocations: 2.281 kB / 440.8 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.187/0.1871, allocations: 15.33 MB / 456.2 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.1937, allocations: 5.464 MB / 461.6 MB, free: 34.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.1948, allocations: 130.6 kB / 461.8 MB, free: 34.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.1982, allocations: 4.682 MB / 466.4 MB, free: 32.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.2016, allocations: 3.175 MB / 469.6 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.2035, allocations: 1.679 MB / 471.3 MB, free: 30.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005475/0.209, allocations: 10.31 MB / 481.6 MB, free: 26.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004605/0.2136, allocations: 6.232 MB / 487.8 MB, free: 23.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.2186, allocations: 4.687 MB / 492.5 MB, free: 21.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006828/0.2254, allocations: 4.872 MB / 497.4 MB, free: 20.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.2268, allocations: 0.6776 MB / 498.1 MB, free: 20.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.2298, allocations: 1.836 MB / 499.9 MB, free: 20.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002643/0.2325, allocations: 3.965 MB / 0.4921 GB, free: 18.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002471/0.2349, allocations: 2.481 MB / 0.4945 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009879/0.2448, allocations: 13.78 MB / 0.5079 GB, free: 5.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2448, allocations: 3.984 kB / 0.5079 GB, free: 5.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2448, allocations: 0 / 0.5079 GB, free: 5.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001953/0.245, allocations: 3.938 kB / 0.508 GB, free: 5.145 MB / 410.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.01145/0.2565, allocations: 9.264 MB / 0.517 GB, free: 11.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2565, allocations: 8.031 kB / 0.517 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009119/0.2656, allocations: 4.262 MB / 0.5212 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007887/0.2735, allocations: 4.983 MB / 0.526 GB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.2738, allocations: 432 kB / 0.5264 GB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009219/0.2747, allocations: 0.6128 MB / 0.527 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02685/0.3015, allocations: 20.72 MB / 0.5473 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/0.3017, allocations: 79.33 kB / 0.5474 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005551/0.3022, allocations: 279.7 kB / 0.5476 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003252/0.3055, allocations: 3.714 MB / 0.5513 GB, free: 7.473 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.3318, allocations: 18.21 MB / 0.569 GB, free: 5.25 MB / 474.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.4521/0.7839, allocations: 69.97 MB / 0.6374 GB, free: 127.1 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009884/0.7938, allocations: 6.514 MB / 0.6437 GB, free: 127 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003155/0.797, allocations: 3.822 MB / 0.6475 GB, free: 126.9 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.8129, allocations: 15.07 MB / 0.6622 GB, free: 122.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.8129, allocations: 70.16 kB / 0.6622 GB, free: 122.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=335): time 6.061e-06/0.8129, allocations: 0 / 0.6622 GB, free: 122.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=419): time 0.06415/0.8771, allocations: 36.11 MB / 0.6975 GB, free: 112.4 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.8772, allocations: 201.8 kB / 0.6977 GB, free: 112.2 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/0.8823, allocations: 6.495 MB / 0.704 GB, free: 110 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.8826, allocations: 96.02 kB / 0.7041 GB, free: 109.9 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.8841, allocations: 5.569 MB / 0.7096 GB, free: 105.8 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.8849, allocations: 1.588 MB / 0.7111 GB, free: 104.6 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/0.8865, allocations: 2.109 MB / 0.7132 GB, free: 103.5 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 2.854e-05/0.8866, allocations: 305.1 kB / 0.7135 GB, free: 103.2 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.8901, allocations: 4.335 MB / 0.7177 GB, free: 101.8 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004983/0.8951, allocations: 10.29 MB / 0.7277 GB, free: 89.52 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009356/0.9044, allocations: 15.66 MB / 0.743 GB, free: 72.07 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.609e-05/0.9045, allocations: 56 kB / 0.7431 GB, free: 72.02 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.01612/0.9206, allocations: 16.29 MB / 0.759 GB, free: 55.95 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.9207, allocations: 92 kB / 0.7591 GB, free: 55.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.9208, allocations: 208 kB / 0.7593 GB, free: 55.66 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/0.9246, allocations: 2.367 MB / 0.7616 GB, free: 53.29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/0.9288, allocations: 2.46 MB / 0.764 GB, free: 50.83 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.9396, allocations: 12.48 MB / 0.7762 GB, free: 38.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005977/0.9456, allocations: 0.7024 MB / 0.7769 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006385/0.9462, allocations: 0.5975 MB / 0.7775 GB, free: 36.95 MB / 0.5262 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.004549/0.9507, allocations: 3.774 MB / 0.7811 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007124/0.9515, allocations: 0.5704 MB / 0.7817 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008762/0.9602, allocations: 8.254 MB / 0.7898 GB, free: 24.29 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/0.9603, allocations: 63.98 kB / 0.7898 GB, free: 24.23 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.9603, allocations: 8 kB / 0.7898 GB, free: 24.22 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.9603, allocations: 19.92 kB / 0.7899 GB, free: 24.2 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.978, allocations: 16.25 MB / 0.8057 GB, free: 7.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.978, allocations: 16.25 kB / 0.8057 GB, free: 7.734 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.9794, allocations: 0.624 MB / 0.8064 GB, free: 7.109 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/0.9826, allocations: 1.804 MB / 0.8081 GB, free: 5.301 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.9828, allocations: 83.98 kB / 0.8082 GB, free: 5.219 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.9933, allocations: 10.58 MB / 0.8185 GB, free: 10.54 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.9933, allocations: 23.88 kB / 0.8186 GB, free: 10.52 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/1.007, allocations: 12.41 MB / 0.8307 GB, free: 13.84 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.008, allocations: 0.5819 MB / 0.8312 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/1.009, allocations: 75.98 kB / 0.8313 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.01, allocations: 283.5 kB / 0.8316 GB, free: 12.9 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/1.011, allocations: 277.5 kB / 0.8318 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.011, allocations: 121.9 kB / 0.832 GB, free: 12.51 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004319/1.015, allocations: 3.813 MB / 0.8357 GB, free: 8.727 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.8e-07/1.015, allocations: 0 / 0.8357 GB, free: 8.727 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.006159/1.022, allocations: 2.129 MB / 0.8378 GB, free: 6.602 MB / 0.5574 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.0005685/1.022, allocations: 299.2 kB / 0.8381 GB, free: 6.301 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.1779/1.2, allocations: 9.676 MB / 0.8475 GB, free: 166.9 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.2, allocations: 3.125 kB / 0.8475 GB, free: 166.9 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.203, allocations: 3.116 MB / 0.8505 GB, free: 165.9 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003115/1.206, allocations: 0.6826 MB / 0.8512 GB, free: 165.6 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.226, allocations: 18.76 MB / 0.8695 GB, free: 157.3 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004553/1.23, allocations: 5.098 MB / 0.8745 GB, free: 155.9 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/1.232, allocations: 487.7 kB / 0.875 GB, free: 155.9 MB / 0.5574 GB Notification: Performance of SimCode: time 1.342e-06/1.232, allocations: 0 / 0.875 GB, free: 155.9 MB / 0.5574 GB Notification: Performance of Templates: time 0.1204/1.352, allocations: 143.9 MB / 1.015 GB, free: 37.54 MB / 0.5574 GB " [Timeout remaining time 659] 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: 12.589361405931413] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.3580730026587844 1.3638016880000001 1.117550934 Calling exit ...