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.001391/0.001391, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00173/0.00173, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2518/0.2518, allocations: 46.94 MB / 360.9 MB, free: 4.031 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.00231/0.00231, allocations: 67.91 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3347, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02042/0.3551, allocations: 15.32 MB / 0.576 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.3683, allocations: 5.453 MB / 0.5814 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.3714, allocations: 127.4 kB / 0.5815 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009867/0.3812, allocations: 4.462 MB / 0.5858 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009062/0.3903, allocations: 3.097 MB / 0.5889 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.3945, allocations: 1.486 MB / 0.5903 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.4097, allocations: 8.95 MB / 0.5991 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.421, allocations: 5.226 MB / 0.6042 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007124/0.4281, allocations: 3.057 MB / 0.6071 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007856/0.436, allocations: 4.365 MB / 0.6114 GB, free: 404 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002472/0.4385, allocations: 0.6641 MB / 0.6121 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.4432, allocations: 1.724 MB / 0.6137 GB, free: 14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007219/0.4504, allocations: 3.794 MB / 0.6174 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.4605, allocations: 3.118 MB / 0.6205 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02074/0.4812, allocations: 13.62 MB / 0.6338 GB, free: 9.391 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4813, allocations: 7.938 kB / 0.6338 GB, free: 9.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4813, allocations: 0 / 0.6338 GB, free: 9.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005232/0.4818, allocations: 0 / 0.6338 GB, free: 9.383 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.02961/0.5114, allocations: 9.12 MB / 0.6427 GB, free: 184 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5114, allocations: 8.031 kB / 0.6427 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01861/0.5301, allocations: 4.151 MB / 0.6468 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.5445, allocations: 5.035 MB / 0.6517 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004927/0.545, allocations: 434.9 kB / 0.6521 GB, free: 6.453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/0.5477, allocations: 0.6088 MB / 0.6527 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04702/0.5947, allocations: 20.71 MB / 0.6729 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003048/0.595, allocations: 75.39 kB / 0.673 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001584/0.5966, allocations: 275.7 kB / 0.6732 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006746/0.6034, allocations: 3.714 MB / 0.6769 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0424/0.6458, allocations: 18.18 MB / 0.6946 GB, free: 9.719 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.7185/1.364, allocations: 69.1 MB / 0.7621 GB, free: 105.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/1.381, allocations: 6.247 MB / 0.7682 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005308/1.387, allocations: 3.826 MB / 0.7719 GB, free: 103.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02703/1.414, allocations: 14.73 MB / 0.7863 GB, free: 97.21 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/1.414, allocations: 68.31 kB / 0.7864 GB, free: 97.13 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.995e-06/1.414, allocations: 0 / 0.7864 GB, free: 97.13 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1065/1.52, allocations: 34.65 MB / 0.8202 GB, free: 63.12 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/1.52, allocations: 207.3 kB / 0.8204 GB, free: 62.89 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008235/1.529, allocations: 6.191 MB / 0.8265 GB, free: 56.96 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/1.53, allocations: 89.38 kB / 0.8266 GB, free: 56.88 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004307/1.534, allocations: 5.616 MB / 0.832 GB, free: 51.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002336/1.537, allocations: 1.615 MB / 0.8336 GB, free: 49.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002934/1.54, allocations: 2.136 MB / 0.8357 GB, free: 47.76 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/1.54, allocations: 301.1 kB / 0.836 GB, free: 47.46 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/1.545, allocations: 4.331 MB / 0.8402 GB, free: 43.12 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008347/1.554, allocations: 10.3 MB / 0.8503 GB, free: 30.02 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.57, allocations: 15.67 MB / 0.8656 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002276/1.57, allocations: 63.94 kB / 0.8656 GB, free: 11.41 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03355/1.603, allocations: 16.28 MB / 0.8815 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004473/1.604, allocations: 96.19 kB / 0.8816 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005546/1.604, allocations: 208 kB / 0.8818 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008591/1.613, allocations: 2.365 MB / 0.8841 GB, free: 8.445 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/1.623, allocations: 2.46 MB / 0.8865 GB, free: 5.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/1.647, allocations: 12.44 MB / 0.8987 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009854/1.657, allocations: 0.5892 MB / 0.8993 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/1.659, allocations: 0.609 MB / 0.8999 GB, free: 8.234 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.01049/1.67, allocations: 3.761 MB / 0.9035 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/1.672, allocations: 0.5743 MB / 0.9041 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/1.694, allocations: 8.25 MB / 0.9122 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001157/1.694, allocations: 60 kB / 0.9122 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.934e-05/1.694, allocations: 19.94 kB / 0.9122 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.671e-05/1.694, allocations: 19.92 kB / 0.9122 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04469/1.739, allocations: 16.07 MB / 0.9279 GB, free: 11.21 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/1.739, allocations: 12.94 kB / 0.928 GB, free: 11.2 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003057/1.742, allocations: 0.6318 MB / 0.9286 GB, free: 10.57 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006858/1.749, allocations: 1.8 MB / 0.9303 GB, free: 8.766 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008334/1.75, allocations: 85.41 kB / 0.9304 GB, free: 8.684 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/1.771, allocations: 10.54 MB / 0.9407 GB, free: 14.04 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.092e-05/1.772, allocations: 23.88 kB / 0.9407 GB, free: 14.01 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03065/1.802, allocations: 12.44 MB / 0.9529 GB, free: 1.301 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.805, allocations: 0.5156 MB / 0.9534 GB, free: 0.7812 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/1.807, allocations: 75.98 kB / 0.9535 GB, free: 0.707 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004193/1.811, allocations: 203.7 kB / 0.9536 GB, free: 0.5078 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.812, allocations: 281.5 kB / 0.9539 GB, free: 236 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006622/1.813, allocations: 119.9 kB / 0.954 GB, free: 116 kB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.008651/1.821, allocations: 3.571 MB / 0.9575 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.821, allocations: 0 / 0.9575 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01151/1.833, allocations: 1.91 MB / 0.9594 GB, free: 10.66 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.001453/1.834, allocations: 286.3 kB / 0.9597 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02036/1.855, allocations: 9.678 MB / 0.9691 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.147e-05/1.855, allocations: 4 kB / 0.9691 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006982/1.862, allocations: 3.122 MB / 0.9722 GB, free: 13.56 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008559/1.87, allocations: 0.6777 MB / 0.9728 GB, free: 12.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3451/2.215, allocations: 18.03 MB / 0.9904 GB, free: 236.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01408/2.23, allocations: 5.105 MB / 0.9954 GB, free: 236.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01251/2.242, allocations: 3.255 MB / 0.9986 GB, free: 236.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/2.245, allocations: 397.3 kB / 0.999 GB, free: 236.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.593e-06/2.245, allocations: 0 / 0.999 GB, free: 236.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1241/2.369, allocations: 70.76 MB / 1.068 GB, free: 177.7 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.725234974175692] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.379023851826787 2.391860516 1.90685552 Calling exit ...