Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.0007705/0.0007705, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0007725/0.0007725, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7901/0.7901, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1392/0.1392, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.045e-06/3.045e-06, allocations: 4 kB / 408.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.641e-05, allocations: 9.875 kB / 408.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01139/0.01143, allocations: 14.33 MB / 422.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00989/0.02132, allocations: 4.953 MB / 427.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.02347, allocations: 115.5 kB / 427.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00458/0.02805, allocations: 4.699 MB / 432.3 MB, free: 4.762 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.03303, allocations: 2.791 MB / 435 MB, free: 1.957 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.03471, allocations: 1.243 MB / 436.3 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1964/0.2311, allocations: 7.382 MB / 443.7 MB, free: 16.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007322/0.2384, allocations: 5.165 MB / 448.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008521/0.2469, allocations: 3.837 MB / 452.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00558/0.2525, allocations: 3.681 MB / 456.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.2543, allocations: 0.5751 MB / 456.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.2574, allocations: 1.561 MB / 458.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003217/0.2606, allocations: 3.405 MB / 461.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003468/0.2641, allocations: 2.144 MB / 464 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009477/0.2735, allocations: 11.71 MB / 475.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2735, allocations: 0 / 475.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2736, allocations: 0 / 475.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003717/0.2739, allocations: 6.531 kB / 475.8 MB, free: 2.484 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01514/0.2891, allocations: 7.837 MB / 483.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.2891, allocations: 12.03 kB / 483.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007925/0.297, allocations: 2.964 MB / 486.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007728/0.3048, allocations: 4.245 MB / 490.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/0.305, allocations: 384.6 kB / 491.2 MB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/0.3068, allocations: 0.5043 MB / 491.7 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/0.3313, allocations: 16.56 MB / 0.4963 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.3315, allocations: 74.36 kB / 0.4964 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008269/0.3323, allocations: 242.4 kB / 0.4966 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/0.3356, allocations: 3.156 MB / 0.4997 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.357, allocations: 14.09 MB / 0.5135 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05941/0.4164, allocations: 56.88 MB / 0.569 GB, free: 6.953 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.4284, allocations: 7.407 MB / 0.5763 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00361/0.432, allocations: 3.866 MB / 0.5801 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.4322, allocations: 41.92 kB / 0.5801 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4322, allocations: 64.56 kB / 0.5802 GB, free: 11.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 5.65e-06/0.4322, allocations: 0 / 0.5802 GB, free: 11.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.06056/0.4928, allocations: 36.13 MB / 0.6154 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4929, allocations: 218 kB / 0.6156 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006649/0.4995, allocations: 5.475 MB / 0.621 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008861/0.5004, allocations: 77.7 kB / 0.6211 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.1731/0.6736, allocations: 4.713 MB / 0.6257 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/0.6752, allocations: 1.28 MB / 0.6269 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/0.6776, allocations: 1.806 MB / 0.6287 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.6776, allocations: 304.9 kB / 0.629 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004697/0.6823, allocations: 4.102 MB / 0.633 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007481/0.6898, allocations: 9.012 MB / 0.6418 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.7013, allocations: 13.98 MB / 0.6554 GB, free: 132 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002345/0.7016, allocations: 48.06 kB / 0.6555 GB, free: 132 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02048/0.7221, allocations: 14.86 MB / 0.67 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.903e-05/0.7222, allocations: 78.88 kB / 0.6701 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/0.7223, allocations: 167.7 kB / 0.6702 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.7255, allocations: 2.284 MB / 0.6725 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/0.7301, allocations: 2.094 MB / 0.6745 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/0.7401, allocations: 14.13 MB / 0.6883 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005307/0.7454, allocations: 0.613 MB / 0.6889 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/0.7467, allocations: 0.5144 MB / 0.6894 GB, free: 112 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1084): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004465/0.7511, allocations: 3.158 MB / 0.6925 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000941/0.7521, allocations: 490.2 kB / 0.693 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/0.7604, allocations: 8.344 MB / 0.7011 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/0.7604, allocations: 34.95 kB / 0.7011 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.339e-05/0.7604, allocations: 15.94 kB / 0.7011 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.7605, allocations: 15.94 kB / 0.7012 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.7777, allocations: 15.53 MB / 0.7163 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.7777, allocations: 4.375 kB / 0.7163 GB, free: 85.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.7793, allocations: 0.6059 MB / 0.7169 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00269/0.782, allocations: 2.046 MB / 0.7189 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004006/0.7824, allocations: 56 kB / 0.719 GB, free: 83.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009465/0.7919, allocations: 13.47 MB / 0.7321 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7919, allocations: 4 kB / 0.7321 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.8043, allocations: 13.42 MB / 0.7453 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/0.8061, allocations: 1.12 MB / 0.7463 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/0.8065, allocations: 63.98 kB / 0.7464 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.808, allocations: 347.4 kB / 0.7467 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004094/0.8084, allocations: 213.6 kB / 0.7469 GB, free: 54.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.8086, allocations: 93.16 kB / 0.747 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002931/0.8115, allocations: 3.225 MB / 0.7502 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8115, allocations: 0 / 0.7502 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005009/0.8165, allocations: 1.909 MB / 0.752 GB, free: 48.85 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * 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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004566/0.817, allocations: 231.3 kB / 0.7523 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008268/0.8253, allocations: 9.477 MB / 0.7615 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8253, allocations: 4 kB / 0.7615 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00327/0.8285, allocations: 3.848 MB / 0.7653 GB, free: 35.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.8304, allocations: 0.5836 MB / 0.7659 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.8465, allocations: 16.88 MB / 0.7823 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/0.8497, allocations: 4.344 MB / 0.7866 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/0.8512, allocations: 424.4 kB / 0.787 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/0.8512, allocations: 4 kB / 0.787 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.3096/1.161, allocations: 155.2 MB / 0.9386 GB, free: 77.64 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 11.512299811467528] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w', 'Revolute3.phi', 'Revolute3.w', 'Revolute4.phi', 'Revolute4.w'] 1.1673714276403189 1.172229408 0.897211211 Calling exit ...