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.001058/0.001058, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009488/0.0009488, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9435/0.9435, allocations: 177.1 MB / 205 MB, free: 5.637 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.2753/0.2753, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.743e-06/1.743e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.59e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01276/0.01278, allocations: 16.99 MB / 395 MB, free: 1.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009352/0.02213, allocations: 5.612 MB / 400.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.02422, allocations: 127.4 kB / 400.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004644/0.02886, allocations: 4.921 MB / 405.7 MB, free: 6.891 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.03329, allocations: 3.176 MB / 408.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.03539, allocations: 1.704 MB / 410.6 MB, free: 1.992 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007017/0.04241, allocations: 10.31 MB / 420.9 MB, free: 7.668 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004134/0.04654, allocations: 6.442 MB / 427.3 MB, free: 1.148 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.05019, allocations: 4.705 MB / 432 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004002/0.05419, allocations: 4.981 MB / 437 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.05549, allocations: 0.6758 MB / 437.7 MB, free: 6.766 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.05821, allocations: 1.834 MB / 439.5 MB, free: 4.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.06092, allocations: 3.994 MB / 443.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.186/0.247, allocations: 2.485 MB / 446 MB, free: 62.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.2596, allocations: 8.767 MB / 454.7 MB, free: 62.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2596, allocations: 0 / 454.7 MB, free: 62.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2596, allocations: 0 / 454.7 MB, free: 62.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005558/0.2602, allocations: 3.375 kB / 454.7 MB, free: 62.17 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.01862/0.2788, allocations: 9.873 MB / 464.6 MB, free: 58.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2788, allocations: 9.969 kB / 464.6 MB, free: 58.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.2899, allocations: 5.223 MB / 469.9 MB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00884/0.2987, allocations: 4.528 MB / 474.4 MB, free: 56.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.2991, allocations: 427.7 kB / 474.8 MB, free: 56.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/0.3015, allocations: 0.6038 MB / 475.4 MB, free: 56.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02899/0.3305, allocations: 12.31 MB / 487.7 MB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003521/0.3308, allocations: 74.23 kB / 487.8 MB, free: 50.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.3321, allocations: 272.8 kB / 488.1 MB, free: 50.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/0.3363, allocations: 3.714 MB / 491.8 MB, free: 49.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.3574, allocations: 7.251 MB / 499 MB, free: 48.75 MB / 410.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.07701/0.4344, allocations: 78.29 MB / 0.5638 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.447, allocations: 3.965 MB / 0.5676 GB, free: 7.309 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.4502, allocations: 1.366 MB / 0.569 GB, free: 5.926 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02737/0.4776, allocations: 10.31 MB / 0.5791 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.026e-05/0.4777, allocations: 67.42 kB / 0.5791 GB, free: 11.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=335): time 9.398e-06/0.4777, allocations: 4 kB / 0.5791 GB, free: 11.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=419): time 0.05326/0.531, allocations: 23.8 MB / 0.6024 GB, free: 3.988 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.5311, allocations: 192.9 kB / 0.6025 GB, free: 3.762 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1824/0.7135, allocations: 5.615 MB / 0.608 GB, free: 142.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/0.7145, allocations: 85.3 kB / 0.6081 GB, free: 142.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00442/0.7189, allocations: 5.812 MB / 0.6138 GB, free: 139.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002567/0.7215, allocations: 1.643 MB / 0.6154 GB, free: 138.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005254/0.7267, allocations: 2.248 MB / 0.6176 GB, free: 138.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.7268, allocations: 476.8 kB / 0.618 GB, free: 138.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/0.7301, allocations: 1.456 MB / 0.6195 GB, free: 138 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005806/0.7359, allocations: 10.24 MB / 0.6295 GB, free: 126.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.7462, allocations: 12.89 MB / 0.6421 GB, free: 115 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002007/0.7464, allocations: 59.81 kB / 0.6421 GB, free: 115 MB / 474.7 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.02123/0.7676, allocations: 10.6 MB / 0.6525 GB, free: 112.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.7678, allocations: 96.59 kB / 0.6526 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003338/0.7681, allocations: 206.1 kB / 0.6528 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/0.7733, allocations: 1.878 MB / 0.6546 GB, free: 112 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00584/0.7792, allocations: 2.461 MB / 0.657 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.788, allocations: 6.049 MB / 0.6629 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007066/0.795, allocations: 0.6996 MB / 0.6636 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/0.7966, allocations: 0.6068 MB / 0.6642 GB, free: 107.9 MB / 474.7 MB 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.003632/0.8002, allocations: 0.992 MB / 0.6651 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/0.8014, allocations: 0.6854 MB / 0.6658 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007911/0.8093, allocations: 4.377 MB / 0.6701 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.173e-05/0.8094, allocations: 69.09 kB / 0.6702 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/0.8094, allocations: 11.81 kB / 0.6702 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.803e-05/0.8095, allocations: 21.77 kB / 0.6702 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/0.8309, allocations: 12.38 MB / 0.6823 GB, free: 95.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/0.8309, allocations: 12 kB / 0.6823 GB, free: 95.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/0.8328, allocations: 0.6243 MB / 0.6829 GB, free: 95.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003708/0.8365, allocations: 1.408 MB / 0.6843 GB, free: 94.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000432/0.8369, allocations: 85.41 kB / 0.6844 GB, free: 94.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006402/0.8433, allocations: 5.139 MB / 0.6894 GB, free: 89.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.8433, allocations: 23.88 kB / 0.6894 GB, free: 89.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009533/0.8528, allocations: 6.181 MB / 0.6954 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/0.8549, allocations: 0.5697 MB / 0.696 GB, free: 83.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000957/0.8559, allocations: 80.62 kB / 0.6961 GB, free: 83.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/0.8578, allocations: 277.4 kB / 0.6963 GB, free: 83.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/0.8583, allocations: 279.4 kB / 0.6966 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/0.8585, allocations: 114.5 kB / 0.6967 GB, free: 83.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003354/0.8618, allocations: 2.407 MB / 0.6991 GB, free: 81.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8618, allocations: 0 / 0.6991 GB, free: 81.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007059/0.8689, allocations: 2.123 MB / 0.7011 GB, free: 78.96 MB / 474.7 MB 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.0007853/0.8697, allocations: 305 kB / 0.7014 GB, free: 78.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00831/0.878, allocations: 5.883 MB / 0.7072 GB, free: 73.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.878, allocations: 0 / 0.7072 GB, free: 73.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.8807, allocations: 1.795 MB / 0.7089 GB, free: 71.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/0.885, allocations: 0.7267 MB / 0.7096 GB, free: 70.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/0.9093, allocations: 14.68 MB / 0.724 GB, free: 55.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/0.9122, allocations: 2.349 MB / 0.7263 GB, free: 53.31 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005794/0.918, allocations: 2.734 MB / 0.7289 GB, free: 50.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.9193, allocations: 404.4 kB / 0.7293 GB, free: 50.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.993e-06/0.9193, allocations: 4 kB / 0.7293 GB, free: 50.16 MB / 474.7 MB Notification: Performance of Templates: time 0.2272/1.147, allocations: 65.87 MB / 0.7936 GB, free: 127.7 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.776596340816468]