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.001736/0.001736, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.00207/0.00207, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.569/1.569, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2439/0.2439, allocations: 46.89 MB / 357.4 MB, free: 10.49 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.002263/0.002263, allocations: 83.86 kB / 0.4912 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1622, allocations: 65.97 MB / 0.5557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0168/0.179, allocations: 13.57 MB / 0.5689 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009671/0.1886, allocations: 4.191 MB / 0.573 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.1909, allocations: 75.75 kB / 0.5731 GB, free: 4.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.1952, allocations: 1.841 MB / 0.5749 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005169/0.2004, allocations: 1.856 MB / 0.5767 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.2021, allocations: 0.5498 MB / 0.5772 GB, free: 232 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.2084, allocations: 3.894 MB / 0.581 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003904/0.2123, allocations: 2.314 MB / 0.5833 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.2149, allocations: 1.374 MB / 0.5846 GB, free: 8.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.2182, allocations: 2.138 MB / 0.5867 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007891/0.219, allocations: 292 kB / 0.587 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.2212, allocations: 1.022 MB / 0.588 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.2234, allocations: 1.792 MB / 0.5897 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.2264, allocations: 2.096 MB / 0.5918 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3569/0.5833, allocations: 6.915 MB / 0.5985 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5833, allocations: 3.188 kB / 0.5985 GB, free: 12.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5833, allocations: 0.8125 kB / 0.5985 GB, free: 12.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003919/0.5837, allocations: 0.9688 kB / 0.5985 GB, free: 12.68 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.0199/0.6036, allocations: 4.655 MB / 0.6031 GB, free: 10.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.6036, allocations: 9.688 kB / 0.6031 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003671/0.6073, allocations: 0.7686 MB / 0.6039 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.6196, allocations: 3.152 MB / 0.6069 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008005/0.6276, allocations: 2.349 MB / 0.6092 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.6279, allocations: 219 kB / 0.6094 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/0.6298, allocations: 291.2 kB / 0.6097 GB, free: 9.773 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/0.6548, allocations: 11.11 MB / 0.6206 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.655, allocations: 27.33 kB / 0.6206 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/0.6562, allocations: 138.4 kB / 0.6207 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004711/0.6609, allocations: 2.619 MB / 0.6233 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/0.6825, allocations: 10.38 MB / 0.6334 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07654/0.7591, allocations: 36.55 MB / 0.6691 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009907/0.769, allocations: 4.398 MB / 0.6734 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/0.7728, allocations: 2.218 MB / 0.6756 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/0.7743, allocations: 1.317 MB / 0.6768 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.224e-05/0.7743, allocations: 56.48 kB / 0.6769 GB, free: 2.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.581e-06/0.7743, allocations: 0 / 0.6769 GB, free: 2.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.04754/0.8219, allocations: 17.65 MB / 0.6941 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.822, allocations: 76.03 kB / 0.6942 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005925/0.8279, allocations: 2.742 MB / 0.6969 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006009/0.8285, allocations: 57.7 kB / 0.6969 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/0.8313, allocations: 2.89 MB / 0.6998 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/0.8331, allocations: 0.9628 MB / 0.7007 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003282/0.8364, allocations: 1.071 MB / 0.7017 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8366, allocations: 305.1 kB / 0.702 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004219/0.8408, allocations: 2.306 MB / 0.7043 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007207/0.848, allocations: 5.213 MB / 0.7094 GB, free: 288 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/0.8608, allocations: 8.258 MB / 0.7174 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/0.861, allocations: 32 kB / 0.7175 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01889/0.8799, allocations: 8.277 MB / 0.7256 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.88, allocations: 48 kB / 0.7256 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.8801, allocations: 100.5 kB / 0.7257 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/0.8831, allocations: 0.9435 MB / 0.7266 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/0.8875, allocations: 1.217 MB / 0.7278 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/0.8952, allocations: 5.144 MB / 0.7328 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.8993, allocations: 297.8 kB / 0.7331 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/0.9005, allocations: 308.7 kB / 0.7334 GB, free: 6.949 MB / 0.545 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.00621/0.9067, allocations: 2.144 MB / 0.7355 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009043/0.9076, allocations: 294 kB / 0.7358 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.9194, allocations: 5.12 MB / 0.7408 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.649e-05/0.9195, allocations: 42.19 kB / 0.7408 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.9195, allocations: 8 kB / 0.7408 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/0.9195, allocations: 11.95 kB / 0.7408 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02774/0.9472, allocations: 11.87 MB / 0.7524 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/0.9473, allocations: 12 kB / 0.7524 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/0.9491, allocations: 395.4 kB / 0.7528 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.9517, allocations: 0.776 MB / 0.7536 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003688/0.9521, allocations: 55.98 kB / 0.7536 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006517/0.9586, allocations: 4.382 MB / 0.7579 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/0.9586, allocations: 15.94 kB / 0.7579 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.9722, allocations: 7.63 MB / 0.7654 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.9733, allocations: 343.2 kB / 0.7657 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/0.9744, allocations: 51.98 kB / 0.7658 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/0.9771, allocations: 143.8 kB / 0.7659 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008585/0.9779, allocations: 156.8 kB / 0.766 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004678/0.9784, allocations: 74.64 kB / 0.7661 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005983/0.9844, allocations: 1.688 MB / 0.7678 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9844, allocations: 0 / 0.7678 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01071/0.9951, allocations: 0.9609 MB / 0.7687 GB, free: 2.32 MB / 0.5762 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.02182/1.017, allocations: 8.295 MB / 0.7768 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.027, allocations: 5.41 MB / 0.7821 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.027, allocations: 4.5 kB / 0.7821 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003767/1.031, allocations: 2.004 MB / 0.784 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.034, allocations: 399.3 kB / 0.7844 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08665/1.121, allocations: 42.25 MB / 0.8257 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006805/1.128, allocations: 3.376 MB / 0.829 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004589/1.132, allocations: 1.978 MB / 0.8309 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003789/1.136, allocations: 1.831 MB / 0.8327 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of SimCode: time 1.553e-06/1.136, allocations: 0 / 0.8327 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4256/1.562, allocations: 60.04 MB / 0.8913 GB, free: 218.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.48/24.04, allocations: 7.922 kB / 0.8913 GB, free: 218.3 MB / 0.6544 GB " [Timeout remaining time 636] (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.188544287811965] Failed to read output from testmodel.py, exit status != 0: ['time', 'cylindrical.phi', 'cylindrical.s', 'cylindrical.v', 'cylindrical.w'] 24.171773258130997 24.182175809 23.596446816 Calling exit ...