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.0007892/0.0007892, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004191/0.004191, allocations: 162.4 kB / 24.7 MB, free: 9.418 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.8611/0.8611, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2517/0.2517, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 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 1.944e-06/1.944e-06, allocations: 0 / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.103e-05/4.297e-05, allocations: 5.516 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.1864/0.1864, allocations: 15.32 MB / 458.8 MB, free: 35.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.1934, allocations: 5.466 MB / 464.2 MB, free: 31.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.1946, allocations: 125.5 kB / 464.3 MB, free: 31.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.1983, allocations: 4.685 MB / 469 MB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003457/0.2017, allocations: 3.176 MB / 472.2 MB, free: 28.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.2034, allocations: 1.672 MB / 473.9 MB, free: 27.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006/0.2094, allocations: 10.32 MB / 484.2 MB, free: 24.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005364/0.2148, allocations: 6.229 MB / 490.4 MB, free: 21.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.2204, allocations: 4.691 MB / 495.1 MB, free: 19.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006338/0.2268, allocations: 4.875 MB / 500 MB, free: 18.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.2281, allocations: 0.6794 MB / 0.4889 GB, free: 18.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.2311, allocations: 1.824 MB / 0.4907 GB, free: 17.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002603/0.2337, allocations: 3.967 MB / 0.4946 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.236, allocations: 2.481 MB / 0.497 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008815/0.2449, allocations: 13.79 MB / 0.5105 GB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2449, allocations: 4 kB / 0.5105 GB, free: 1.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2449, allocations: 0 / 0.5105 GB, free: 1.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.867e-05/0.245, allocations: 0 / 0.5105 GB, free: 1.254 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.01032/0.2553, allocations: 9.265 MB / 0.5195 GB, free: 7.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.2553, allocations: 8.031 kB / 0.5195 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00835/0.2637, allocations: 4.266 MB / 0.5237 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.2697, allocations: 4.982 MB / 0.5286 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.27, allocations: 439.2 kB / 0.529 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007741/0.2707, allocations: 0.6066 MB / 0.5296 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/0.2931, allocations: 20.73 MB / 0.5498 GB, free: 7.633 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.2932, allocations: 75.41 kB / 0.5499 GB, free: 7.559 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005138/0.2937, allocations: 267.7 kB / 0.5501 GB, free: 7.297 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003185/0.2969, allocations: 3.71 MB / 0.5538 GB, free: 3.586 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02415/0.3211, allocations: 18.21 MB / 0.5716 GB, free: 1.359 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.4308/0.7519, allocations: 69.97 MB / 0.6399 GB, free: 98.41 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009333/0.7612, allocations: 6.507 MB / 0.6462 GB, free: 98.3 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/0.7641, allocations: 3.827 MB / 0.65 GB, free: 98.26 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/0.7793, allocations: 15.08 MB / 0.6647 GB, free: 93.13 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.7793, allocations: 69.97 kB / 0.6648 GB, free: 93.07 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=335): time 6.121e-06/0.7793, allocations: 0 / 0.6648 GB, free: 93.07 MB / 0.5262 GB Notification: Performance of matching and sorting (n=419): time 0.06428/0.8436, allocations: 36.11 MB / 0.7 GB, free: 83.18 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/0.8437, allocations: 194.5 kB / 0.7002 GB, free: 82.99 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00541/0.8491, allocations: 6.497 MB / 0.7066 GB, free: 80.79 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.8494, allocations: 85.2 kB / 0.7066 GB, free: 80.71 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.8511, allocations: 5.569 MB / 0.7121 GB, free: 76.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008789/0.852, allocations: 1.599 MB / 0.7136 GB, free: 75.39 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/0.854, allocations: 2.107 MB / 0.7157 GB, free: 74.36 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.854, allocations: 304.8 kB / 0.716 GB, free: 74.07 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003902/0.8579, allocations: 4.324 MB / 0.7202 GB, free: 71.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/0.8632, allocations: 10.3 MB / 0.7303 GB, free: 59.12 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009979/0.8732, allocations: 15.66 MB / 0.7456 GB, free: 41.73 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.977e-05/0.8733, allocations: 60 kB / 0.7456 GB, free: 41.68 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.01747/0.8908, allocations: 16.29 MB / 0.7615 GB, free: 25.36 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.8908, allocations: 92 kB / 0.7616 GB, free: 25.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.8909, allocations: 208 kB / 0.7618 GB, free: 25.07 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00371/0.8946, allocations: 2.369 MB / 0.7641 GB, free: 22.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.8988, allocations: 2.464 MB / 0.7665 GB, free: 20.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.9091, allocations: 12.47 MB / 0.7787 GB, free: 7.664 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/0.9144, allocations: 0.6984 MB / 0.7794 GB, free: 6.965 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006567/0.9151, allocations: 0.5976 MB / 0.78 GB, free: 6.367 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.003844/0.9189, allocations: 3.774 MB / 0.7837 GB, free: 2.582 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007148/0.9196, allocations: 0.5743 MB / 0.7842 GB, free: 2.004 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.9297, allocations: 8.251 MB / 0.7923 GB, free: 9.703 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.966e-05/0.9297, allocations: 56 kB / 0.7923 GB, free: 9.648 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.9298, allocations: 8 kB / 0.7924 GB, free: 9.641 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.9298, allocations: 27.86 kB / 0.7924 GB, free: 9.613 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/0.9512, allocations: 16.25 MB / 0.8083 GB, free: 9.164 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.9512, allocations: 12 kB / 0.8083 GB, free: 9.152 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.9528, allocations: 0.6249 MB / 0.8089 GB, free: 8.527 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/0.9563, allocations: 1.806 MB / 0.8106 GB, free: 6.719 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/0.9565, allocations: 83.98 kB / 0.8107 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.9675, allocations: 10.59 MB / 0.8211 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.9675, allocations: 19.94 kB / 0.8211 GB, free: 11.94 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.9812, allocations: 12.41 MB / 0.8332 GB, free: 15.25 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.9827, allocations: 0.5819 MB / 0.8338 GB, free: 14.67 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004305/0.9831, allocations: 81.55 kB / 0.8338 GB, free: 14.59 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.9848, allocations: 279.6 kB / 0.8341 GB, free: 14.32 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000429/0.9852, allocations: 281.5 kB / 0.8344 GB, free: 14.04 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.9854, allocations: 116 kB / 0.8345 GB, free: 13.93 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.003886/0.9893, allocations: 3.809 MB / 0.8382 GB, free: 10.14 MB / 0.5887 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9893, allocations: 0 / 0.8382 GB, free: 10.14 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.006113/0.9954, allocations: 2.128 MB / 0.8403 GB, free: 8.02 MB / 0.5887 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.0006757/0.9961, allocations: 299.7 kB / 0.8406 GB, free: 7.719 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.007, allocations: 9.677 MB / 0.85 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.007, allocations: 4 kB / 0.85 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003124/1.01, allocations: 3.123 MB / 0.8531 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.013, allocations: 0.6868 MB / 0.8537 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2008/1.214, allocations: 18.74 MB / 0.8721 GB, free: 203.1 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.218, allocations: 5.092 MB / 0.877 GB, free: 202.7 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/1.219, allocations: 484.1 kB / 0.8775 GB, free: 202.7 MB / 0.6043 GB Notification: Performance of SimCode: time 1.142e-06/1.219, allocations: 0 / 0.8775 GB, free: 202.7 MB / 0.6043 GB Notification: Performance of Templates: time 0.1354/1.355, allocations: 143.9 MB / 1.018 GB, free: 101.2 MB / 0.6043 GB " [Timeout remaining time 659] 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: 11.774951960891485] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.361107423901558 1.3669397380000001 1.120666582 Calling exit ...