Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.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.001166/0.001166, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001268/0.001268, allocations: 221.2 kB / 22.92 MB, free: 5.535 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.278/1.278, allocations: 230.2 MB / 256.1 MB, free: 8.738 MB / 206.1 MB " [Timeout remaining time 179] 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.1969/0.1969, allocations: 46.89 MB / 359.3 MB, free: 4.969 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.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2",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.002165/0.002165, allocations: 79.86 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2653, allocations: 65.98 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01389/0.2791, allocations: 13.34 MB / 0.5714 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2894, allocations: 4.899 MB / 0.5762 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.2913, allocations: 79.81 kB / 0.5763 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007166/0.2985, allocations: 4.034 MB / 0.5802 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00514/0.3036, allocations: 2.233 MB / 0.5824 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.3061, allocations: 1.189 MB / 0.5836 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007433/0.3136, allocations: 5.818 MB / 0.5893 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004805/0.3184, allocations: 3.734 MB / 0.5929 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.3216, allocations: 2.181 MB / 0.595 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004492/0.3261, allocations: 3.182 MB / 0.5982 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.3274, allocations: 0.5 MB / 0.5986 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.3308, allocations: 1.693 MB / 0.6003 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00296/0.3338, allocations: 2.723 MB / 0.603 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.337, allocations: 3.077 MB / 0.606 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.347, allocations: 10.1 MB / 0.6158 GB, free: 10.15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.347, allocations: 0 / 0.6158 GB, free: 10.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.347, allocations: 0 / 0.6158 GB, free: 10.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001726/0.3472, allocations: 3.938 kB / 0.6158 GB, free: 10.14 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01361/0.3608, allocations: 6.806 MB / 0.6225 GB, free: 3.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3608, allocations: 12.02 kB / 0.6225 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001208/0.362, allocations: 0.9216 MB / 0.6234 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08347/0.4455, allocations: 7.444 MB / 0.6307 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00829/0.4538, allocations: 4.144 MB / 0.6347 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.4541, allocations: 369.9 kB / 0.6351 GB, free: 6.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.4553, allocations: 435.7 kB / 0.6355 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/0.4779, allocations: 13.77 MB / 0.6489 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.478, allocations: 55.56 kB / 0.649 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004987/0.4785, allocations: 203.8 kB / 0.6492 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003477/0.482, allocations: 2.406 MB / 0.6515 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.5039, allocations: 11.62 MB / 0.6629 GB, free: 8.926 MB / 0.4981 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.05771/0.5616, allocations: 51.16 MB / 0.7128 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.5733, allocations: 4.505 MB / 0.7172 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003384/0.5767, allocations: 2.587 MB / 0.7197 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/0.5929, allocations: 12.43 MB / 0.7319 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.202/0.795, allocations: 57.31 kB / 0.7319 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 5.491e-06/0.795, allocations: 0 / 0.7319 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.1254/0.9203, allocations: 42.55 MB / 0.7735 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.9204, allocations: 235.6 kB / 0.7737 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/0.9249, allocations: 4.809 MB / 0.7784 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003656/0.9252, allocations: 57.7 kB / 0.7785 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.9265, allocations: 4.053 MB / 0.7824 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006049/0.9271, allocations: 0.9581 MB / 0.7834 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.9285, allocations: 1.465 MB / 0.7848 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.215e-05/0.9286, allocations: 301.1 kB / 0.7851 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/0.9319, allocations: 3.262 MB / 0.7883 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004321/0.9362, allocations: 7.558 MB / 0.7956 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008591/0.9448, allocations: 11.6 MB / 0.807 GB, free: 89.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.685e-05/0.9448, allocations: 47.94 kB / 0.807 GB, free: 89.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02142/0.9663, allocations: 13.84 MB / 0.8205 GB, free: 75.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/0.9663, allocations: 68 kB / 0.8206 GB, free: 75.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.9664, allocations: 160.1 kB / 0.8208 GB, free: 75.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009778/0.9762, allocations: 3.767 MB / 0.8244 GB, free: 71.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/0.9804, allocations: 1.599 MB / 0.826 GB, free: 70.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/1.001, allocations: 19.18 MB / 0.8447 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/1.005, allocations: 443.5 kB / 0.8451 GB, free: 50.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006253/1.006, allocations: 439.8 kB / 0.8456 GB, free: 50.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (857): * Single equations (assignments): 853 * Array equations: 3 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002838/1.009, allocations: 2.657 MB / 0.8482 GB, free: 47.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006216/1.01, allocations: 449 kB / 0.8486 GB, free: 46.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/1.024, allocations: 8.099 MB / 0.8565 GB, free: 38.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-05/1.024, allocations: 24 kB / 0.8565 GB, free: 38.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.024, allocations: 16 kB / 0.8565 GB, free: 38.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/1.024, allocations: 15.95 kB / 0.8565 GB, free: 38.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/1.049, allocations: 17.26 MB / 0.8734 GB, free: 21.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.51e-05/1.049, allocations: 3.938 kB / 0.8734 GB, free: 21.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.051, allocations: 399.4 kB / 0.8738 GB, free: 21.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01006/1.061, allocations: 3.839 MB / 0.8775 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000385/1.061, allocations: 39.98 kB / 0.8776 GB, free: 17.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/1.081, allocations: 17.53 MB / 0.8947 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.081, allocations: 0 / 0.8947 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02278/1.103, allocations: 12.53 MB / 0.9069 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009972/1.104, allocations: 485.9 kB / 0.9074 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/1.105, allocations: 39.2 kB / 0.9074 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.107, allocations: 211.6 kB / 0.9076 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/1.108, allocations: 142.2 kB / 0.9078 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.108, allocations: 60 kB / 0.9078 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004233/1.112, allocations: 3.002 MB / 0.9108 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.112, allocations: 4 kB / 0.9108 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005581/1.118, allocations: 1.426 MB / 0.9122 GB, free: 13.61 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (167): * Single equations (assignments): 163 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.02364/1.141, allocations: 13.23 MB / 0.9251 GB, free: 356 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.153, allocations: 7.582 MB / 0.9325 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.153, allocations: 3.938 kB / 0.9325 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003992/1.157, allocations: 2.736 MB / 0.9351 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.16, allocations: 0.5477 MB / 0.9357 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2882/1.448, allocations: 66.02 MB / 1 GB, free: 219 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/1.451, allocations: 4.092 MB / 1.004 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003588/1.454, allocations: 2.181 MB / 1.006 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/1.457, allocations: 2.471 MB / 1.009 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of SimCode: time 9.21e-07/1.457, allocations: 4 kB / 1.009 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.573, allocations: 104.4 MB / 1.111 GB, free: 108.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.96/30.53, allocations: 3.938 kB / 1.111 GB, free: 108.8 MB / 0.6544 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 33.09672159499314]