Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001891/0.001891, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2672/0.2672, allocations: 46.89 MB / 361.1 MB, free: 4.656 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 83.84 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3973, allocations: 65.98 MB / 0.5612 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02148/0.4188, allocations: 17.77 MB / 0.5785 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.4333, allocations: 5.73 MB / 0.5841 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.4371, allocations: 111.7 kB / 0.5842 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009197/0.4463, allocations: 4.653 MB / 0.5888 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007825/0.4541, allocations: 3.062 MB / 0.5918 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.4576, allocations: 1.494 MB / 0.5932 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.4711, allocations: 8.95 MB / 0.602 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006995/0.4781, allocations: 4.816 MB / 0.6067 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/0.4836, allocations: 3.018 MB / 0.6096 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007875/0.4915, allocations: 4.615 MB / 0.6141 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.494, allocations: 0.664 MB / 0.6148 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004944/0.4989, allocations: 1.873 MB / 0.6166 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005419/0.5043, allocations: 3.794 MB / 0.6203 GB, free: 8.254 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006812/0.5111, allocations: 4.179 MB / 0.6244 GB, free: 4.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01681/0.528, allocations: 13.55 MB / 0.6376 GB, free: 6.449 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.528, allocations: 4 kB / 0.6376 GB, free: 6.445 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.528, allocations: 0 / 0.6376 GB, free: 6.445 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003915/0.5284, allocations: 0 / 0.6376 GB, free: 6.445 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.0226/0.5509, allocations: 9.199 MB / 0.6466 GB, free: 13.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.551, allocations: 15.97 kB / 0.6466 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0183/0.5693, allocations: 4.145 MB / 0.6507 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.5827, allocations: 5.093 MB / 0.6556 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004719/0.5832, allocations: 430.9 kB / 0.6561 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002412/0.5856, allocations: 0.605 MB / 0.6566 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04857/0.6341, allocations: 20.63 MB / 0.6768 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004115/0.6346, allocations: 79.39 kB / 0.6769 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002476/0.637, allocations: 279.7 kB / 0.6771 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006626/0.6437, allocations: 3.71 MB / 0.6808 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04088/0.6845, allocations: 18.2 MB / 0.6985 GB, free: 6.711 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.6578/1.342, allocations: 74.4 MB / 0.7712 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/1.358, allocations: 7.179 MB / 0.7782 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004517/1.363, allocations: 3.826 MB / 0.7819 GB, free: 99.89 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02937/1.392, allocations: 18.31 MB / 0.7998 GB, free: 87.62 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/1.392, allocations: 68.06 kB / 0.7999 GB, free: 87.55 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 6.542e-06/1.392, allocations: 0 / 0.7999 GB, free: 87.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1052/1.498, allocations: 35.07 MB / 0.8341 GB, free: 52.94 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/1.498, allocations: 196.9 kB / 0.8343 GB, free: 52.71 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006953/1.505, allocations: 6.479 MB / 0.8406 GB, free: 46.36 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000723/1.505, allocations: 85.7 kB / 0.8407 GB, free: 46.27 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002385/1.508, allocations: 5.589 MB / 0.8462 GB, free: 41.01 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/1.509, allocations: 1.605 MB / 0.8477 GB, free: 39.42 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002293/1.511, allocations: 2.159 MB / 0.8499 GB, free: 37.26 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/1.511, allocations: 301.1 kB / 0.8501 GB, free: 36.96 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005009/1.516, allocations: 4.331 MB / 0.8544 GB, free: 32.62 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007258/1.524, allocations: 10.28 MB / 0.8644 GB, free: 19.49 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01455/1.538, allocations: 15.68 MB / 0.8797 GB, free: 0.8906 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/1.538, allocations: 60 kB / 0.8798 GB, free: 0.832 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03712/1.576, allocations: 16.36 MB / 0.8958 GB, free: 452 kB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/1.576, allocations: 92 kB / 0.8959 GB, free: 360 kB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003205/1.576, allocations: 208.5 kB / 0.896 GB, free: 152 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008001/1.584, allocations: 2.369 MB / 0.8984 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008565/1.593, allocations: 2.468 MB / 0.9008 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/1.614, allocations: 12.75 MB / 0.9132 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008364/1.623, allocations: 0.5854 MB / 0.9138 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002342/1.625, allocations: 0.6114 MB / 0.9144 GB, free: 13.21 MB / 0.6075 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 (1316): * Single equations (assignments): 1309 * 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.008217/1.633, allocations: 3.767 MB / 0.9181 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/1.635, allocations: 0.6247 MB / 0.9187 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01919/1.654, allocations: 8.298 MB / 0.9268 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.775e-05/1.654, allocations: 61.95 kB / 0.9268 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.654, allocations: 12 kB / 0.9269 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-05/1.654, allocations: 19.92 kB / 0.9269 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0412/1.695, allocations: 18.81 MB / 0.9453 GB, free: 13.19 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/1.695, allocations: 15.94 kB / 0.9453 GB, free: 13.18 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/1.699, allocations: 0.624 MB / 0.9459 GB, free: 12.55 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007275/1.706, allocations: 1.805 MB / 0.9476 GB, free: 10.74 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000821/1.707, allocations: 87.97 kB / 0.9477 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/1.727, allocations: 10.84 MB / 0.9583 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-05/1.727, allocations: 24 kB / 0.9583 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/1.753, allocations: 12.49 MB / 0.9705 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002513/1.755, allocations: 0.6569 MB / 0.9712 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/1.757, allocations: 80.06 kB / 0.9712 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/1.761, allocations: 203.7 kB / 0.9714 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009118/1.762, allocations: 269.6 kB / 0.9717 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003604/1.762, allocations: 120 kB / 0.9718 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008229/1.77, allocations: 4.02 MB / 0.9757 GB, free: 13.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/1.77, allocations: 0 / 0.9757 GB, free: 13.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01168/1.782, allocations: 1.914 MB / 0.9776 GB, free: 11.62 MB / 0.67 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.001008/1.783, allocations: 286.2 kB / 0.9779 GB, free: 11.34 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01871/1.802, allocations: 9.677 MB / 0.9873 GB, free: 1.668 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.802, allocations: 5.75 kB / 0.9873 GB, free: 1.664 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.2981/2.1, allocations: 3.121 MB / 0.9904 GB, free: 243.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/2.105, allocations: 0.798 MB / 0.9912 GB, free: 243.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/2.137, allocations: 18.07 MB / 1.009 GB, free: 237.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00829/2.146, allocations: 5.584 MB / 1.014 GB, free: 235.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007381/2.153, allocations: 3.311 MB / 1.017 GB, free: 235.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/2.155, allocations: 420 kB / 1.018 GB, free: 235.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.613e-06/2.155, allocations: 0 / 1.018 GB, free: 235.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1222/2.277, allocations: 68.58 MB / 1.085 GB, free: 168.6 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.620906505268067] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.285885452758521 2.294638793 1.764143335 Calling exit ...