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.001904/0.001904, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002367/0.002367, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.425/1.425, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2214/0.2214, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 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 0.001979/0.001979, allocations: 71.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3255, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0188/0.3443, allocations: 15.32 MB / 0.5768 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3564, allocations: 5.465 MB / 0.5821 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.3594, allocations: 127.4 kB / 0.5822 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008976/0.3683, allocations: 4.454 MB / 0.5866 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008695/0.377, allocations: 3.101 MB / 0.5896 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.3805, allocations: 1.494 MB / 0.5911 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01229/0.3928, allocations: 8.944 MB / 0.5998 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007203/0.4, allocations: 5.25 MB / 0.6049 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/0.4057, allocations: 3.053 MB / 0.6079 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009267/0.415, allocations: 4.623 MB / 0.6124 GB, free: 128 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003504/0.4185, allocations: 0.6602 MB / 0.6131 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00583/0.4243, allocations: 1.744 MB / 0.6148 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006246/0.4306, allocations: 3.794 MB / 0.6185 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007364/0.4379, allocations: 3.111 MB / 0.6215 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02029/0.4582, allocations: 13.62 MB / 0.6348 GB, free: 9.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4582, allocations: 0 / 0.6348 GB, free: 9.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4582, allocations: 0 / 0.6348 GB, free: 9.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000488/0.4587, allocations: 4 kB / 0.6348 GB, free: 9.105 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.02726/0.486, allocations: 9.124 MB / 0.6437 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.486, allocations: 8.031 kB / 0.6437 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/0.5045, allocations: 4.157 MB / 0.6478 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.5191, allocations: 5.037 MB / 0.6527 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004912/0.5196, allocations: 434.9 kB / 0.6531 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002887/0.5225, allocations: 0.6011 MB / 0.6537 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04527/0.5678, allocations: 20.7 MB / 0.6739 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/0.5681, allocations: 79.33 kB / 0.674 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/0.5694, allocations: 271.7 kB / 0.6743 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006371/0.5758, allocations: 3.722 MB / 0.6779 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04079/0.6166, allocations: 18.19 MB / 0.6957 GB, free: 9.43 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.6598/1.276, allocations: 69.1 MB / 0.7631 GB, free: 105.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/1.293, allocations: 6.244 MB / 0.7692 GB, free: 104.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004769/1.298, allocations: 3.835 MB / 0.773 GB, free: 103.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02698/1.325, allocations: 14.72 MB / 0.7874 GB, free: 97.12 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/1.325, allocations: 68.31 kB / 0.7874 GB, free: 97.05 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 7.494e-06/1.325, allocations: 0 / 0.7874 GB, free: 97.05 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1056/1.43, allocations: 34.66 MB / 0.8213 GB, free: 63.04 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/1.431, allocations: 192.9 kB / 0.8215 GB, free: 62.81 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008327/1.439, allocations: 6.195 MB / 0.8275 GB, free: 56.88 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.44, allocations: 81.7 kB / 0.8276 GB, free: 56.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003771/1.444, allocations: 5.617 MB / 0.8331 GB, free: 51.42 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.003225/1.447, allocations: 1.619 MB / 0.8346 GB, free: 49.82 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004444/1.451, allocations: 2.14 MB / 0.8367 GB, free: 47.67 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/1.451, allocations: 305.1 kB / 0.837 GB, free: 47.37 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006089/1.458, allocations: 4.323 MB / 0.8412 GB, free: 43.04 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009321/1.467, allocations: 10.31 MB / 0.8513 GB, free: 29.93 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/1.483, allocations: 15.65 MB / 0.8666 GB, free: 11.4 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000215/1.483, allocations: 64 kB / 0.8667 GB, free: 11.34 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03598/1.519, allocations: 16.29 MB / 0.8826 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000336/1.519, allocations: 92 kB / 0.8827 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004571/1.52, allocations: 212.1 kB / 0.8829 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009136/1.529, allocations: 2.361 MB / 0.8852 GB, free: 8.363 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009804/1.539, allocations: 2.46 MB / 0.8876 GB, free: 5.898 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02374/1.563, allocations: 12.45 MB / 0.8997 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009025/1.572, allocations: 0.5893 MB / 0.9003 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002527/1.574, allocations: 0.5972 MB / 0.9009 GB, free: 8.172 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.009188/1.583, allocations: 3.769 MB / 0.9046 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.585, allocations: 0.5704 MB / 0.9051 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/1.604, allocations: 8.251 MB / 0.9132 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00012/1.604, allocations: 67.92 kB / 0.9132 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.604, allocations: 16 kB / 0.9133 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.266e-05/1.604, allocations: 19.92 kB / 0.9133 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04276/1.647, allocations: 16.08 MB / 0.929 GB, free: 11.13 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/1.647, allocations: 12 kB / 0.929 GB, free: 11.12 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003343/1.651, allocations: 0.6343 MB / 0.9296 GB, free: 10.49 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007449/1.658, allocations: 1.804 MB / 0.9314 GB, free: 8.68 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007459/1.659, allocations: 87.94 kB / 0.9314 GB, free: 8.594 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/1.678, allocations: 10.55 MB / 0.9418 GB, free: 13.94 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-05/1.678, allocations: 19.94 kB / 0.9418 GB, free: 13.92 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0247/1.703, allocations: 12.43 MB / 0.9539 GB, free: 1.215 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/1.705, allocations: 0.5195 MB / 0.9544 GB, free: 0.6914 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/1.706, allocations: 75.98 kB / 0.9545 GB, free: 0.6172 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003052/1.709, allocations: 207.7 kB / 0.9547 GB, free: 424 kB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007948/1.71, allocations: 281.5 kB / 0.955 GB, free: 140 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002905/1.71, allocations: 112 kB / 0.9551 GB, free: 28 kB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006492/1.717, allocations: 3.571 MB / 0.9585 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/1.717, allocations: 4 kB / 0.9586 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01021/1.727, allocations: 1.906 MB / 0.9604 GB, free: 10.57 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.001168/1.728, allocations: 286.3 kB / 0.9607 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01852/1.747, allocations: 9.676 MB / 0.9701 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/1.747, allocations: 4 kB / 0.9701 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005988/1.753, allocations: 3.114 MB / 0.9732 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004883/1.758, allocations: 0.6868 MB / 0.9739 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3371/2.095, allocations: 18.03 MB / 0.9915 GB, free: 236.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006885/2.102, allocations: 5.115 MB / 0.9965 GB, free: 236.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006935/2.109, allocations: 3.256 MB / 0.9996 GB, free: 236.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/2.11, allocations: 388.8 kB / 1 GB, free: 236.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.813e-06/2.11, allocations: 0 / 1 GB, free: 236.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1049/2.215, allocations: 70.75 MB / 1.069 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 -s cvode -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.159352846007096] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.224724239000352 2.23389118 1.773110385 Calling exit ...