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.001451/0.001451, allocations: 109 kB / 21.23 MB, free: 0.6719 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.001512/0.001512, allocations: 209.9 kB / 24.54 MB, free: 4.035 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.483/1.483, allocations: 230.3 MB / 258 MB, free: 8.215 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.2329/0.2329, allocations: 46.94 MB / 361.4 MB, free: 4.387 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.002405/0.002405, allocations: 75.88 kB / 0.4971 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3704, allocations: 66.05 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02155/0.392, allocations: 17.75 MB / 0.579 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.4058, allocations: 5.749 MB / 0.5846 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/0.4097, allocations: 127.4 kB / 0.5847 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009652/0.4193, allocations: 4.656 MB / 0.5893 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009638/0.429, allocations: 3.078 MB / 0.5923 GB, free: 5.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.4327, allocations: 1.494 MB / 0.5937 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01339/0.446, allocations: 8.966 MB / 0.6025 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007704/0.4538, allocations: 4.806 MB / 0.6072 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005794/0.4595, allocations: 3.061 MB / 0.6102 GB, free: 2.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007206/0.4668, allocations: 4.615 MB / 0.6147 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.4686, allocations: 0.6602 MB / 0.6153 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/0.4731, allocations: 1.888 MB / 0.6172 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00449/0.4775, allocations: 3.79 MB / 0.6209 GB, free: 7.605 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006792/0.4843, allocations: 4.175 MB / 0.6249 GB, free: 3.406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01791/0.5022, allocations: 13.55 MB / 0.6382 GB, free: 5.805 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.5023, allocations: 4 kB / 0.6382 GB, free: 5.801 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5023, allocations: 0 / 0.6382 GB, free: 5.801 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004881/0.5027, allocations: 0 / 0.6382 GB, free: 5.801 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.02444/0.5272, allocations: 9.131 MB / 0.6471 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5272, allocations: 8.031 kB / 0.6471 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/0.5448, allocations: 4.153 MB / 0.6512 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/0.5601, allocations: 5.006 MB / 0.656 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/0.5606, allocations: 430.9 kB / 0.6565 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/0.5639, allocations: 0.6049 MB / 0.657 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04148/0.6053, allocations: 20.63 MB / 0.6772 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/0.6055, allocations: 79.39 kB / 0.6773 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008572/0.6064, allocations: 275.7 kB / 0.6775 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005599/0.612, allocations: 3.71 MB / 0.6812 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04532/0.6573, allocations: 18.23 MB / 0.699 GB, free: 6.215 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.6906/1.348, allocations: 74.42 MB / 0.7716 GB, free: 103.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01626/1.364, allocations: 6.267 MB / 0.7778 GB, free: 102 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00536/1.37, allocations: 3.823 MB / 0.7815 GB, free: 100.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02932/1.399, allocations: 15.6 MB / 0.7967 GB, free: 91.62 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/1.399, allocations: 68.58 kB / 0.7968 GB, free: 91.55 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 8.706e-06/1.399, allocations: 0 / 0.7968 GB, free: 91.55 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1129/1.512, allocations: 34.62 MB / 0.8306 GB, free: 57.49 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.404e-05/1.512, allocations: 192.9 kB / 0.8308 GB, free: 57.27 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008621/1.521, allocations: 6.476 MB / 0.8371 GB, free: 50.92 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009775/1.522, allocations: 85.7 kB / 0.8372 GB, free: 50.83 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003024/1.525, allocations: 5.586 MB / 0.8426 GB, free: 45.54 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.526, allocations: 1.61 MB / 0.8442 GB, free: 43.95 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002372/1.529, allocations: 2.154 MB / 0.8463 GB, free: 41.79 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/1.529, allocations: 301.1 kB / 0.8466 GB, free: 41.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005711/1.534, allocations: 4.335 MB / 0.8508 GB, free: 37.16 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/1.542, allocations: 10.29 MB / 0.8609 GB, free: 24.02 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01454/1.557, allocations: 15.69 MB / 0.8762 GB, free: 5.406 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000173/1.557, allocations: 60 kB / 0.8763 GB, free: 5.348 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03782/1.595, allocations: 16.35 MB / 0.8922 GB, free: 4.965 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003534/1.595, allocations: 92 kB / 0.8923 GB, free: 4.875 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004964/1.595, allocations: 208 kB / 0.8925 GB, free: 4.672 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008505/1.604, allocations: 2.365 MB / 0.8948 GB, free: 2.305 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009596/1.613, allocations: 2.464 MB / 0.8972 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/1.638, allocations: 12.65 MB / 0.9096 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/1.648, allocations: 0.5873 MB / 0.9102 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003071/1.651, allocations: 0.5976 MB / 0.9108 GB, free: 1.883 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 (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.01364/1.665, allocations: 3.764 MB / 0.9144 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00258/1.667, allocations: 0.6247 MB / 0.915 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02307/1.69, allocations: 8.305 MB / 0.9231 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001248/1.69, allocations: 67.92 kB / 0.9232 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.842e-05/1.69, allocations: 11.98 kB / 0.9232 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/1.691, allocations: 15.94 kB / 0.9232 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05492/1.745, allocations: 18.79 MB / 0.9416 GB, free: 1.879 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.478e-05/1.746, allocations: 14.53 kB / 0.9416 GB, free: 1.867 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/1.749, allocations: 0.624 MB / 0.9422 GB, free: 1.242 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007107/1.756, allocations: 1.809 MB / 0.944 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007466/1.757, allocations: 87.92 kB / 0.9441 GB, free: 15.34 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/1.777, allocations: 10.73 MB / 0.9545 GB, free: 4.496 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.46e-05/1.778, allocations: 23.88 kB / 0.9546 GB, free: 4.473 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0284/1.806, allocations: 12.47 MB / 0.9667 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.808, allocations: 0.5856 MB / 0.9673 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002088/1.81, allocations: 83.91 kB / 0.9674 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004115/1.814, allocations: 203.8 kB / 0.9676 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001294/1.816, allocations: 273.5 kB / 0.9679 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006414/1.816, allocations: 116 kB / 0.968 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.009767/1.826, allocations: 4.024 MB / 0.9719 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/1.826, allocations: 0 / 0.9719 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01233/1.838, allocations: 1.929 MB / 0.9738 GB, free: 0.5234 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.001452/1.84, allocations: 278.8 kB / 0.974 GB, free: 248 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02061/1.861, allocations: 9.679 MB / 0.9835 GB, free: 6.57 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/1.861, allocations: 4 kB / 0.9835 GB, free: 6.566 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006931/1.868, allocations: 3.123 MB / 0.9865 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008232/1.876, allocations: 0.7926 MB / 0.9873 GB, free: 2.648 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3268/2.203, allocations: 18.08 MB / 1.005 GB, free: 237.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006276/2.209, allocations: 5.585 MB / 1.01 GB, free: 236.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006428/2.215, allocations: 3.315 MB / 1.014 GB, free: 236.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/2.217, allocations: 416 kB / 1.014 GB, free: 236.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.222e-06/2.217, allocations: 3.969 kB / 1.014 GB, free: 236.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1179/2.335, allocations: 72.96 MB / 1.085 GB, free: 168.1 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 -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.884479072876275] Failed to read output from testmodel.py, exit status != 0: ['time', 'j2.s', 'j2.v'] 2.3443389451131225 2.352398139 1.847651007 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8809db97b0>