Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.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.001802/0.001802, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.002311/0.002312, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.566/1.566, allocations: 227.4 MB / 251.7 MB, free: 76 kB / 190.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.3166/0.3166, allocations: 46.14 MB / 351.1 MB, free: 14.31 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.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical",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.002762/0.002762, allocations: 78.56 kB / 489.7 MB, free: 28.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1437, allocations: 62.44 MB / 0.5392 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01739/0.1611, allocations: 13.5 MB / 0.5523 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.1731, allocations: 4.17 MB / 0.5564 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.1762, allocations: 71.81 kB / 0.5565 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004817/0.1811, allocations: 1.818 MB / 0.5583 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.1871, allocations: 1.81 MB / 0.56 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.1892, allocations: 0.5459 MB / 0.5606 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007157/0.1964, allocations: 3.902 MB / 0.5644 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/0.2015, allocations: 2.693 MB / 0.567 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003548/0.2051, allocations: 1.362 MB / 0.5683 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004031/0.2092, allocations: 1.939 MB / 0.5702 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.2108, allocations: 292 kB / 0.5705 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.2145, allocations: 0.9985 MB / 0.5715 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003312/0.2179, allocations: 1.741 MB / 0.5732 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005184/0.2231, allocations: 2.108 MB / 0.5752 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.2355, allocations: 6.92 MB / 0.582 GB, free: 8.703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.2356, allocations: 0 / 0.582 GB, free: 8.703 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2356, allocations: 0 / 0.582 GB, free: 8.703 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003147/0.2359, allocations: 0 / 0.582 GB, free: 8.703 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.0144/0.2503, allocations: 4.653 MB / 0.5865 GB, free: 3.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.2504, allocations: 8.031 kB / 0.5866 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002478/0.2529, allocations: 0.7697 MB / 0.5873 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.2647, allocations: 3.149 MB / 0.5904 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/0.271, allocations: 2.351 MB / 0.5927 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.2714, allocations: 217.6 kB / 0.5929 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.2729, allocations: 291.8 kB / 0.5932 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/0.3018, allocations: 11.11 MB / 0.604 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002119/0.3021, allocations: 31.75 kB / 0.604 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/0.3038, allocations: 131.8 kB / 0.6042 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3467/0.6506, allocations: 2.624 MB / 0.6067 GB, free: 54.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.6754, allocations: 10.38 MB / 0.6169 GB, free: 52.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05406/0.7296, allocations: 36.54 MB / 0.6526 GB, free: 25.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008351/0.738, allocations: 4.571 MB / 0.657 GB, free: 20.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/0.7412, allocations: 2.4 MB / 0.6594 GB, free: 18.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.7422, allocations: 1.314 MB / 0.6606 GB, free: 16.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.7423, allocations: 52.56 kB / 0.6607 GB, free: 16.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 6.773e-06/0.7423, allocations: 0 / 0.6607 GB, free: 16.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04269/0.785, allocations: 17.67 MB / 0.6779 GB, free: 15.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.7851, allocations: 73.41 kB / 0.678 GB, free: 15.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004635/0.7898, allocations: 2.748 MB / 0.6807 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004915/0.7903, allocations: 57.7 kB / 0.6808 GB, free: 12.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00247/0.7928, allocations: 2.885 MB / 0.6836 GB, free: 9.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.7942, allocations: 0.9688 MB / 0.6845 GB, free: 8.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002189/0.7964, allocations: 1.068 MB / 0.6856 GB, free: 7.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7966, allocations: 305.1 kB / 0.6859 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/0.8006, allocations: 2.31 MB / 0.6881 GB, free: 4.957 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006951/0.8076, allocations: 5.212 MB / 0.6932 GB, free: 14.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/0.8193, allocations: 8.253 MB / 0.7013 GB, free: 4.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/0.8194, allocations: 28 kB / 0.7013 GB, free: 4.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01832/0.8377, allocations: 8.282 MB / 0.7094 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.8379, allocations: 53.86 kB / 0.7094 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.8381, allocations: 103.9 kB / 0.7095 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/0.8412, allocations: 0.9513 MB / 0.7105 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004567/0.8458, allocations: 1.213 MB / 0.7116 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008237/0.8541, allocations: 5.137 MB / 0.7167 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.8582, allocations: 295.8 kB / 0.7169 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/0.8594, allocations: 304 kB / 0.7172 GB, free: 4.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 646 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005298/0.8647, allocations: 2.159 MB / 0.7193 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009307/0.8657, allocations: 293.9 kB / 0.7196 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.8773, allocations: 5.13 MB / 0.7246 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/0.8775, allocations: 54.95 kB / 0.7247 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.8775, allocations: 4 kB / 0.7247 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/0.8776, allocations: 11.95 kB / 0.7247 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/0.9056, allocations: 11.86 MB / 0.7363 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-05/0.9057, allocations: 8 kB / 0.7363 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/0.908, allocations: 399.3 kB / 0.7367 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/0.9109, allocations: 0.7778 MB / 0.7374 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005233/0.9114, allocations: 44 kB / 0.7375 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007056/0.9185, allocations: 4.399 MB / 0.7418 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/0.9186, allocations: 14.12 kB / 0.7418 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.9341, allocations: 7.634 MB / 0.7492 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.9353, allocations: 343.2 kB / 0.7496 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/0.9364, allocations: 53.89 kB / 0.7496 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.9385, allocations: 147.8 kB / 0.7498 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007927/0.9393, allocations: 160.9 kB / 0.7499 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004539/0.9398, allocations: 70.42 kB / 0.75 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004085/0.9439, allocations: 1.689 MB / 0.7516 GB, free: 444 kB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9439, allocations: 4 kB / 0.7516 GB, free: 440 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006393/0.9503, allocations: 0.9641 MB / 0.7526 GB, free: 15.46 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01672/0.9671, allocations: 8.304 MB / 0.7607 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01134/0.9785, allocations: 5.666 MB / 0.7662 GB, free: 1.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-05/0.9786, allocations: 8 kB / 0.7662 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004433/0.983, allocations: 2.137 MB / 0.7683 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/0.9869, allocations: 400.2 kB / 0.7687 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09137/1.078, allocations: 42.26 MB / 0.81 GB, free: 28 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007713/1.086, allocations: 3.367 MB / 0.8132 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005627/1.092, allocations: 1.978 MB / 0.8152 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004291/1.096, allocations: 1.835 MB / 0.817 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.304e-06/1.096, allocations: 0 / 0.817 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.514/1.61, allocations: 59.62 MB / 0.8752 GB, free: 206.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/24.51, allocations: 3.438 kB / 0.8752 GB, free: 206.3 MB / 0.6231 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.89017061307095] Failed to read output from testmodel.py, exit status != 0: ['time', 'cylindrical.phi', 'cylindrical.s', 'cylindrical.v', 'cylindrical.w'] 24.629859714070335 24.638693838000002 24.401145246 Calling exit ...