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.001363/0.001363, allocations: 85.33 kB / 20.68 MB, free: 1.023 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.001686/0.001686, allocations: 168 kB / 23.96 MB, free: 4.148 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.434/1.434, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.2003/0.2003, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 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.272e-06/1.272e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.577e-05, allocations: 2.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.2203/0.2203, allocations: 15.32 MB / 455.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.2334, allocations: 5.459 MB / 460.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004421/0.2378, allocations: 130.6 kB / 461 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.2481, allocations: 4.69 MB / 465.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009749/0.2578, allocations: 3.168 MB / 468.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.2616, allocations: 1.676 MB / 470.5 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01327/0.2749, allocations: 10.32 MB / 480.8 MB, free: 256 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.286, allocations: 6.239 MB / 487.1 MB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.2989, allocations: 4.682 MB / 491.8 MB, free: 6.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009397/0.3083, allocations: 4.875 MB / 496.6 MB, free: 1.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002871/0.3112, allocations: 0.6797 MB / 497.3 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005989/0.3172, allocations: 1.837 MB / 499.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006277/0.3235, allocations: 3.966 MB / 0.4913 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006912/0.3304, allocations: 2.485 MB / 0.4938 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.3504, allocations: 13.77 MB / 0.5072 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3504, allocations: 0 / 0.5072 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3504, allocations: 0 / 0.5072 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004992/0.3509, allocations: 0 / 0.5072 GB, free: 10.62 MB / 414.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.0266/0.3775, allocations: 9.26 MB / 0.5162 GB, free: 1.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3775, allocations: 12.03 kB / 0.5163 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0197/0.3972, allocations: 4.446 MB / 0.5206 GB, free: 12.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.4094, allocations: 4.986 MB / 0.5255 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/0.4099, allocations: 435.2 kB / 0.5259 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/0.4124, allocations: 0.6011 MB / 0.5265 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/0.4526, allocations: 20.75 MB / 0.5467 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002144/0.4528, allocations: 75.34 kB / 0.5468 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001/0.4538, allocations: 267.7 kB / 0.5471 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005932/0.4598, allocations: 3.722 MB / 0.5507 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03798/0.4977, allocations: 18.22 MB / 0.5685 GB, free: 10.5 MB / 478.1 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.1074/0.6051, allocations: 70 MB / 0.6368 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3753/0.9804, allocations: 6.504 MB / 0.6432 GB, free: 166 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00517/0.9856, allocations: 3.828 MB / 0.6469 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02792/1.014, allocations: 15.09 MB / 0.6617 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.014, allocations: 68.88 kB / 0.6617 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=335): time 7.123e-06/1.014, allocations: 0 / 0.6617 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=419): time 0.1102/1.124, allocations: 36.1 MB / 0.697 GB, free: 138 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.124, allocations: 200.9 kB / 0.6972 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006891/1.131, allocations: 6.493 MB / 0.7035 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007581/1.131, allocations: 85.7 kB / 0.7036 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/1.134, allocations: 5.567 MB / 0.709 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.135, allocations: 1.592 MB / 0.7106 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/1.137, allocations: 2.108 MB / 0.7127 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/1.137, allocations: 305.1 kB / 0.7129 GB, free: 122.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00602/1.143, allocations: 4.354 MB / 0.7172 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009119/1.152, allocations: 10.31 MB / 0.7273 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/1.167, allocations: 15.69 MB / 0.7426 GB, free: 85.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/1.168, allocations: 60 kB / 0.7427 GB, free: 85.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03142/1.199, allocations: 16.32 MB / 0.7586 GB, free: 69.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003446/1.199, allocations: 99.92 kB / 0.7587 GB, free: 69.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004132/1.2, allocations: 208 kB / 0.7589 GB, free: 69.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007444/1.207, allocations: 2.363 MB / 0.7612 GB, free: 66.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007733/1.215, allocations: 2.476 MB / 0.7636 GB, free: 64.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/1.233, allocations: 12.48 MB / 0.7758 GB, free: 51.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/1.244, allocations: 0.7451 MB / 0.7765 GB, free: 51.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.246, allocations: 0.5937 MB / 0.7771 GB, free: 50.43 MB / 0.5294 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.007243/1.253, allocations: 3.776 MB / 0.7808 GB, free: 46.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/1.255, allocations: 0.5704 MB / 0.7814 GB, free: 46.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.272, allocations: 8.251 MB / 0.7894 GB, free: 37.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.027e-05/1.272, allocations: 67.42 kB / 0.7895 GB, free: 37.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.898e-05/1.272, allocations: 11.98 kB / 0.7895 GB, free: 37.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.99e-05/1.272, allocations: 19.88 kB / 0.7895 GB, free: 37.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03565/1.308, allocations: 16.25 MB / 0.8054 GB, free: 21.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.793e-05/1.308, allocations: 15.98 kB / 0.8054 GB, free: 21.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/1.311, allocations: 0.6201 MB / 0.806 GB, free: 20.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006856/1.318, allocations: 1.816 MB / 0.8078 GB, free: 18.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007071/1.319, allocations: 78.72 kB / 0.8078 GB, free: 18.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/1.334, allocations: 10.58 MB / 0.8182 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/1.334, allocations: 15.94 kB / 0.8182 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0247/1.359, allocations: 12.41 MB / 0.8303 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.361, allocations: 0.5897 MB / 0.8309 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/1.363, allocations: 74.11 kB / 0.831 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004564/1.367, allocations: 299.6 kB / 0.8312 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/1.368, allocations: 281.5 kB / 0.8315 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005264/1.369, allocations: 115.7 kB / 0.8316 GB, free: 9.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0097/1.378, allocations: 3.813 MB / 0.8353 GB, free: 6.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.378, allocations: 3.938 kB / 0.8353 GB, free: 6.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01446/1.393, allocations: 2.129 MB / 0.8374 GB, free: 4.055 MB / 0.545 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.00177/1.395, allocations: 299.5 kB / 0.8377 GB, free: 3.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.227/1.622, allocations: 9.692 MB / 0.8472 GB, free: 183 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.577e-05/1.622, allocations: 2.188 kB / 0.8472 GB, free: 183 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006482/1.628, allocations: 3.122 MB / 0.8502 GB, free: 182.8 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/1.634, allocations: 0.684 MB / 0.8509 GB, free: 182.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/1.668, allocations: 17.94 MB / 0.8684 GB, free: 174.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007413/1.675, allocations: 5.119 MB / 0.8734 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.00656/1.682, allocations: 3.263 MB / 0.8766 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.684, allocations: 410.6 kB / 0.877 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.062e-06/1.684, allocations: 0 / 0.877 GB, free: 173.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.1028/1.786, allocations: 65.18 MB / 0.9406 GB, free: 117.3 MB / 0.5607 GB " [Timeout remaining time 658] 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: 8.63203103095293] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 1.7955430299043655 1.803859366 1.450945265 Calling exit ...