Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.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.001362/0.001362, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001464/0.001464, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.559/1.559, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2525/0.2525, allocations: 46.93 MB / 357.7 MB, free: 10.2 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-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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [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.002381/0.002381, allocations: 83.84 kB / 0.4916 GB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.143, allocations: 66.04 MB / 0.5561 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01054/0.1536, allocations: 7.513 MB / 0.5635 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00727/0.1609, allocations: 3.372 MB / 0.5668 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009352/0.1618, allocations: 43.81 kB / 0.5668 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.1638, allocations: 0.817 MB / 0.5676 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003588/0.1674, allocations: 1.307 MB / 0.5689 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1689, allocations: 0.5301 MB / 0.5694 GB, free: 7.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004122/0.173, allocations: 2.602 MB / 0.5719 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.1749, allocations: 1.092 MB / 0.573 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.1763, allocations: 0.7823 MB / 0.5738 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.1783, allocations: 1.234 MB / 0.575 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004944/0.1788, allocations: 136 kB / 0.5751 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.1809, allocations: 0.9554 MB / 0.576 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.1822, allocations: 1.036 MB / 0.577 GB, free: 84 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.1839, allocations: 1.219 MB / 0.5782 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.1899, allocations: 4.038 MB / 0.5822 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1899, allocations: 3.984 kB / 0.5822 GB, free: 10.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1899, allocations: 0 / 0.5822 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.19, allocations: 0 / 0.5822 GB, free: 10.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.00723/0.1972, allocations: 3.018 MB / 0.5851 GB, free: 7.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1973, allocations: 16.03 kB / 0.5851 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009176/0.1982, allocations: 462.4 kB / 0.5856 GB, free: 7.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00661/0.2048, allocations: 1.672 MB / 0.5872 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.2082, allocations: 1.555 MB / 0.5887 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.2084, allocations: 131.3 kB / 0.5889 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006073/0.209, allocations: 163.8 kB / 0.589 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3284/0.5374, allocations: 6.453 MB / 0.5953 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.5375, allocations: 29.33 kB / 0.5954 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004258/0.5379, allocations: 89.81 kB / 0.5954 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00335/0.5413, allocations: 1.44 MB / 0.5968 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.555, allocations: 5.721 MB / 0.6024 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.5877, allocations: 26.76 MB / 0.6286 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.5918, allocations: 2.065 MB / 0.6306 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.5931, allocations: 0.9597 MB / 0.6315 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.5933, allocations: 179.1 kB / 0.6317 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5933, allocations: 46.64 kB / 0.6317 GB, free: 7.762 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.817e-06/0.5933, allocations: 2.031 kB / 0.6317 GB, free: 7.762 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.01547/0.6088, allocations: 6.507 MB / 0.6381 GB, free: 4.348 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.6088, allocations: 140.6 kB / 0.6382 GB, free: 4.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/0.6122, allocations: 2.899 MB / 0.6411 GB, free: 1.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002318/0.6125, allocations: 45.22 kB / 0.6411 GB, free: 1.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.6138, allocations: 2.182 MB / 0.6432 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007299/0.6145, allocations: 479.9 kB / 0.6437 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.616, allocations: 0.8973 MB / 0.6446 GB, free: 14.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6162, allocations: 309.1 kB / 0.6449 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/0.6188, allocations: 1.414 MB / 0.6462 GB, free: 12.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005595/0.6244, allocations: 4.295 MB / 0.6504 GB, free: 6.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008677/0.6331, allocations: 6.193 MB / 0.6565 GB, free: 14.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.529e-05/0.6332, allocations: 28 kB / 0.6565 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01145/0.6446, allocations: 5.504 MB / 0.6619 GB, free: 9.406 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.97e-05/0.6447, allocations: 51.94 kB / 0.6619 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/0.6449, allocations: 100 kB / 0.662 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.645, allocations: 143.7 kB / 0.6622 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/0.6498, allocations: 1.217 MB / 0.6633 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002364/0.65, allocations: 207.2 kB / 0.6635 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.6531, allocations: 235.7 kB / 0.6638 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007271/0.6538, allocations: 284 kB / 0.664 GB, free: 7.191 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002643/0.6565, allocations: 1.38 MB / 0.6654 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006156/0.6571, allocations: 254.3 kB / 0.6656 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.6596, allocations: 1.241 MB / 0.6668 GB, free: 4.301 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.6597, allocations: 12 kB / 0.6669 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.6597, allocations: 7.875 kB / 0.6669 GB, free: 4.285 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.6597, allocations: 5.016 kB / 0.6669 GB, free: 4.281 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009243/0.6689, allocations: 4.56 MB / 0.6713 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.669, allocations: 9.125 kB / 0.6713 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.671, allocations: 367.3 kB / 0.6717 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.671, allocations: 8 kB / 0.6717 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.735e-05/0.6711, allocations: 23.98 kB / 0.6717 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.6711, allocations: 11.94 kB / 0.6717 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.6711, allocations: 8 kB / 0.6717 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.6743, allocations: 2.181 MB / 0.6739 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.6749, allocations: 315.2 kB / 0.6742 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.6752, allocations: 25.95 kB / 0.6742 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/0.6762, allocations: 55.92 kB / 0.6742 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.6764, allocations: 71.8 kB / 0.6743 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/0.6765, allocations: 36.5 kB / 0.6743 GB, free: 12.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003161/0.6796, allocations: 1.819 MB / 0.6761 GB, free: 10.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6796, allocations: 0 / 0.6761 GB, free: 10.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003594/0.6832, allocations: 0.619 MB / 0.6767 GB, free: 10.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003823/0.6871, allocations: 2.792 MB / 0.6794 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005838/0.6929, allocations: 3.138 MB / 0.6825 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.6929, allocations: 0 / 0.6825 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.6942, allocations: 0.7473 MB / 0.6832 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.6963, allocations: 284.5 kB / 0.6835 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05088/0.7472, allocations: 29.79 MB / 0.7126 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003035/0.7502, allocations: 2.207 MB / 0.7148 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003682/0.7539, allocations: 1.455 MB / 0.7162 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/0.7562, allocations: 1.081 MB / 0.7172 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.7562, allocations: 0 / 0.7172 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0915/0.8477, allocations: 41.52 MB / 0.7578 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/18.42, allocations: 7.031 kB / 0.7578 GB, free: 3.078 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.661462023854256] Failed to read output from testmodel.py, exit status != 0: ['time', 'ActuatedRevolute1.frame_b.r_0[1]', 'ActuatedRevolute1.frame_b.r_0[2]', 'ActuatedRevolute1.frame_b.r_0[3]', 'ActuatedRevolute1.frame_b.f[1]', 'ActuatedRevolute1.frame_b.f[2]', 'ActuatedRevolute1.frame_b.f[3]', 'ActuatedRevolute1.frame_b.t[1]', 'ActuatedRevolute1.frame_b.t[2]', 'ActuatedRevolute1.frame_b.t[3]', 'Multiplex3_1.y[1]', 'Multiplex3_1.y[2]', 'Multiplex3_1.y[3]', 'Constant1.y', 'Constant2.y'] 18.52167304698378 18.537154387 18.34403909 Calling exit ...