Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 92.05 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 177.1 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4161/0.4161, allocations: 43.54 MB / 314.5 MB, free: 8.637 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007449/0.000745, allocations: 12 kB / 384 MB, free: 7.977 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1799, allocations: 58.86 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3205/0.5005, allocations: 41.27 MB / 484.1 MB, free: 25.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02419/0.5248, allocations: 10.52 MB / 494.6 MB, free: 18.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01076/0.5356, allocations: 204 kB / 494.8 MB, free: 18.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008911/0.5445, allocations: 2.022 MB / 496.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02308/0.5676, allocations: 5.903 MB / 0.491 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005225/0.5729, allocations: 0.958 MB / 0.4919 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02972/0.6026, allocations: 14.84 MB / 0.5064 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.6132, allocations: 6.257 MB / 0.5125 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.6165, allocations: 1.396 MB / 0.5139 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003499/0.62, allocations: 1.9 MB / 0.5157 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.6211, allocations: 200 kB / 0.5159 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.6243, allocations: 1.163 MB / 0.5171 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002609/0.627, allocations: 2.112 MB / 0.5191 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.6288, allocations: 1.1 MB / 0.5202 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.6417, allocations: 7.891 MB / 0.5279 GB, free: 8.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6418, allocations: 4 kB / 0.5279 GB, free: 8.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.6418, allocations: 0 / 0.5279 GB, free: 8.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003658/0.6421, allocations: 4 kB / 0.5279 GB, free: 8.836 MB / 398.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.01829/0.6604, allocations: 5.744 MB / 0.5335 GB, free: 3.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.6605, allocations: 12.03 kB / 0.5335 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003541/0.6641, allocations: 0.9214 MB / 0.5344 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08445/0.7485, allocations: 8.661 MB / 0.5429 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.7593, allocations: 4.125 MB / 0.5469 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004141/0.7598, allocations: 357.8 kB / 0.5473 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/0.7618, allocations: 423.7 kB / 0.5477 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/0.7914, allocations: 13.97 MB / 0.5613 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.7917, allocations: 51.53 kB / 0.5614 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006792/0.7924, allocations: 207.7 kB / 0.5616 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003718/0.7961, allocations: 2.406 MB / 0.5639 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02721/0.8233, allocations: 11.82 MB / 0.5754 GB, free: 7.102 MB / 446.1 MB 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.0749/0.8983, allocations: 51.69 MB / 0.6259 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3008/1.199, allocations: 4.677 MB / 0.6305 GB, free: 137.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01927/1.218, allocations: 12.48 MB / 0.6427 GB, free: 132.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.219, allocations: 57.19 kB / 0.6427 GB, free: 132.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 1.002e-05/1.219, allocations: 2.953 kB / 0.6427 GB, free: 132.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.1504/1.369, allocations: 42.69 MB / 0.6844 GB, free: 120.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.369, allocations: 234.2 kB / 0.6847 GB, free: 120.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00741/1.376, allocations: 5.038 MB / 0.6896 GB, free: 116.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007339/1.377, allocations: 64.83 kB / 0.6896 GB, free: 116.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.38, allocations: 3.897 MB / 0.6934 GB, free: 112.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.381, allocations: 0.9175 MB / 0.6943 GB, free: 111.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/1.382, allocations: 147.8 kB / 0.6945 GB, free: 111.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003172/1.382, allocations: 0.6039 MB / 0.6951 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004468/1.387, allocations: 3.231 MB / 0.6982 GB, free: 107.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006552/1.393, allocations: 7.489 MB / 0.7055 GB, free: 98.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006502/1.4, allocations: 4.775 MB / 0.7102 GB, free: 93.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.471e-05/1.4, allocations: 44 kB / 0.7103 GB, free: 93.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02593/1.426, allocations: 13.78 MB / 0.7237 GB, free: 79.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.87e-05/1.426, allocations: 72 kB / 0.7238 GB, free: 79.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/1.426, allocations: 148 kB / 0.7239 GB, free: 79.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/1.437, allocations: 3.811 MB / 0.7276 GB, free: 75.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005285/1.442, allocations: 1.595 MB / 0.7292 GB, free: 73.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/1.464, allocations: 18.59 MB / 0.7473 GB, free: 55.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007077/1.471, allocations: 447.3 kB / 0.7478 GB, free: 54.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.473, allocations: 428 kB / 0.7482 GB, free: 54.39 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005174/1.478, allocations: 2.675 MB / 0.7508 GB, free: 51.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.479, allocations: 430.4 kB / 0.7512 GB, free: 51.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/1.495, allocations: 8.13 MB / 0.7591 GB, free: 43.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/1.495, allocations: 29.86 kB / 0.7592 GB, free: 43.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.911e-05/1.495, allocations: 12 kB / 0.7592 GB, free: 43.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.219e-05/1.495, allocations: 11.95 kB / 0.7592 GB, free: 43.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/1.526, allocations: 17.51 MB / 0.7763 GB, free: 25.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/1.526, allocations: 8 kB / 0.7763 GB, free: 25.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/1.528, allocations: 391.4 kB / 0.7767 GB, free: 25.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/1.539, allocations: 3.835 MB / 0.7804 GB, free: 21.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006188/1.54, allocations: 47.92 kB / 0.7805 GB, free: 21.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/1.561, allocations: 17.02 MB / 0.7971 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.561, allocations: 8.922 kB / 0.7971 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/1.584, allocations: 12.62 MB / 0.8094 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003476/1.587, allocations: 0.9521 MB / 0.8103 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/1.589, allocations: 32 kB / 0.8104 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002681/1.591, allocations: 210.3 kB / 0.8106 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005677/1.592, allocations: 146.3 kB / 0.8107 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/1.592, allocations: 63.92 kB / 0.8108 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3184/1.911, allocations: 3.181 MB / 0.8139 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.12e-07/1.911, allocations: 2.516 kB / 0.8139 GB, free: 137.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01009/1.921, allocations: 1.47 MB / 0.8153 GB, free: 137.4 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02618/1.947, allocations: 13.52 MB / 0.8285 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01282/1.96, allocations: 7.854 MB / 0.8362 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.96, allocations: 0.8438 kB / 0.8362 GB, free: 132.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004752/1.965, allocations: 2.969 MB / 0.8391 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/1.968, allocations: 0.49 MB / 0.8396 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08044/2.048, allocations: 127.8 MB / 0.9644 GB, free: 24.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007867/2.056, allocations: 4.218 MB / 0.9685 GB, free: 23.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007483/2.064, allocations: 2.181 MB / 0.9706 GB, free: 23.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004574/2.068, allocations: 2.494 MB / 0.9731 GB, free: 21.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.114e-06/2.068, allocations: 0 / 0.9731 GB, free: 21.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4339/2.502, allocations: 110.4 MB / 1.081 GB, free: 118.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/2.502, allocations: 187 kB / 1.081 GB, free: 118.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.899/7.401, allocations: 0 / 1.081 GB, free: 118.2 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat