Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",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.000897/0.0008971, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009011/0.0009011, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.557/1.557, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3687/0.3687, allocations: 43.55 MB / 314.6 MB, free: 8.801 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.0005325/0.0005325, allocations: 12 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1173, allocations: 58.87 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.27/0.3873, allocations: 43.05 MB / 485.9 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.4063, allocations: 8.836 MB / 494.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008901/0.4152, allocations: 196.3 kB / 495 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006303/0.4216, allocations: 2.071 MB / 497 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01399/0.4356, allocations: 5.761 MB / 0.491 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.4384, allocations: 0.5145 MB / 0.4915 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005603/0.444, allocations: 3.021 MB / 0.4945 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009192/0.4532, allocations: 5.19 MB / 0.4995 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.4558, allocations: 0.9428 MB / 0.5005 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/0.4588, allocations: 1.435 MB / 0.5019 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008899/0.4597, allocations: 127.3 kB / 0.502 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.4617, allocations: 0.5628 MB / 0.5025 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.4641, allocations: 1.362 MB / 0.5039 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.4656, allocations: 0.7055 MB / 0.5045 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.4716, allocations: 4.926 MB / 0.5094 GB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4716, allocations: 0 / 0.5094 GB, free: 7.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4716, allocations: 0 / 0.5094 GB, free: 7.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002373/0.4718, allocations: 1.375 kB / 0.5094 GB, free: 7.082 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.007561/0.4794, allocations: 3.464 MB / 0.5127 GB, free: 4.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4795, allocations: 8.781 kB / 0.5127 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001301/0.4808, allocations: 0.6308 MB / 0.5134 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.483, allocations: 0.5788 MB / 0.5139 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.4859, allocations: 1.781 MB / 0.5157 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.486, allocations: 243.5 kB / 0.5159 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004931/0.4865, allocations: 311.5 kB / 0.5162 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.5039, allocations: 8.659 MB / 0.5247 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.631e-05/0.504, allocations: 23.81 kB / 0.5247 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.5044, allocations: 143.9 kB / 0.5248 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/0.5068, allocations: 1.569 MB / 0.5263 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.5215, allocations: 6.657 MB / 0.5328 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03817/0.5597, allocations: 26.39 MB / 0.5586 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005532/0.5652, allocations: 1.944 MB / 0.5605 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.5664, allocations: 0.8458 MB / 0.5613 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007219/0.5736, allocations: 6.314 MB / 0.5675 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.5736, allocations: 47.22 kB / 0.5676 GB, free: 14.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=77): time 2.144e-06/0.5737, allocations: 0 / 0.5676 GB, free: 14.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01593/0.5896, allocations: 6.229 MB / 0.5736 GB, free: 8.395 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/0.5897, allocations: 141.5 kB / 0.5738 GB, free: 8.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.5934, allocations: 2.49 MB / 0.5762 GB, free: 5.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.5935, allocations: 41.7 kB / 0.5762 GB, free: 5.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001858/0.5954, allocations: 2.407 MB / 0.5786 GB, free: 3.223 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.5958, allocations: 391.2 kB / 0.579 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.5959, allocations: 80 kB / 0.579 GB, free: 2.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.5962, allocations: 458 kB / 0.5795 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.5977, allocations: 0.9482 MB / 0.5804 GB, free: 1.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.601, allocations: 3.261 MB / 0.5836 GB, free: 12.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.6033, allocations: 1.685 MB / 0.5852 GB, free: 11.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/0.6033, allocations: 24 kB / 0.5853 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.006206/0.6095, allocations: 4.098 MB / 0.5893 GB, free: 7.129 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.6096, allocations: 40 kB / 0.5893 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.935e-05/0.6097, allocations: 80 kB / 0.5894 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.6098, allocations: 124 kB / 0.5895 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/0.6122, allocations: 0.8855 MB / 0.5904 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/0.6124, allocations: 167.4 kB / 0.5905 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.6144, allocations: 163.9 kB / 0.5907 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/0.6147, allocations: 232 kB / 0.5909 GB, free: 5.453 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (483): * Single equations (assignments): 483 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002929/0.6176, allocations: 1.585 MB / 0.5924 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.618, allocations: 225 kB / 0.5927 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.6198, allocations: 1.134 MB / 0.5938 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.6199, allocations: 12 kB / 0.5938 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.6199, allocations: 0 / 0.5938 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.6199, allocations: 11.92 kB / 0.5938 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008565/0.6285, allocations: 5.966 MB / 0.5996 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.6285, allocations: 19.94 kB / 0.5996 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.6292, allocations: 219.7 kB / 0.5998 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/0.6292, allocations: 27.98 kB / 0.5999 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.6293, allocations: 40 kB / 0.5999 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.659e-05/0.6293, allocations: 43.81 kB / 0.5999 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/0.6293, allocations: 23.94 kB / 0.6 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.6315, allocations: 1.739 MB / 0.6017 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/0.6322, allocations: 314.1 kB / 0.602 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.6324, allocations: 43.98 kB / 0.602 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.6332, allocations: 43.98 kB / 0.6021 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.6333, allocations: 131.5 kB / 0.6022 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.6334, allocations: 52 kB / 0.6022 GB, free: 9.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002429/0.6358, allocations: 1.616 MB / 0.6038 GB, free: 7.605 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6358, allocations: 0 / 0.6038 GB, free: 7.605 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00327/0.6391, allocations: 0.6484 MB / 0.6044 GB, free: 6.957 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (120): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002582/0.6417, allocations: 2.359 MB / 0.6067 GB, free: 4.328 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004021/0.6457, allocations: 2.268 MB / 0.609 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.6458, allocations: 0 / 0.609 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.6466, allocations: 0.5235 MB / 0.6095 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.6488, allocations: 320.7 kB / 0.6098 GB, free: 1.246 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04018/0.689, allocations: 20.61 MB / 0.6299 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/0.692, allocations: 2.749 MB / 0.6326 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00263/0.6947, allocations: 0.9899 MB / 0.6336 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/0.6963, allocations: 1.46 MB / 0.635 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.6963, allocations: 4 kB / 0.635 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2565/0.9529, allocations: 47.8 MB / 0.6817 GB, free: 147.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/0.953, allocations: 185.8 kB / 0.6818 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.917, allocations: 3.938 kB / 0.6818 GB, free: 146.9 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat