Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 181.1 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008519/0.0008518, allocations: 86.61 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2126/0.2126, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.771e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.608, allocations: 107.5 MB / 0.571 GB, free: 3.902 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.6084, allocations: 84.39 kB / 0.571 GB, free: 3.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1875/0.7958, allocations: 74.7 MB / 0.644 GB, free: 1.426 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.7959, allocations: 0 / 0.644 GB, free: 1.426 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001493/0.7961, allocations: 68 kB / 0.6441 GB, free: 1.359 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01248/0.8085, allocations: 3.816 MB / 0.6478 GB, free: 13.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.8086, allocations: 8.031 kB / 0.6478 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.8135, allocations: 0.6738 MB / 0.6484 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006549/0.8201, allocations: 2.224 MB / 0.6506 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.8203, allocations: 131.9 kB / 0.6507 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/0.8217, allocations: 220 kB / 0.651 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01011/0.8318, allocations: 5.465 MB / 0.6563 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.8452, allocations: 7.125 MB / 0.6632 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.023e-05/0.8453, allocations: 19.81 kB / 0.6633 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003653/0.8457, allocations: 15.95 kB / 0.6633 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001682/0.8473, allocations: 0.8427 MB / 0.6641 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04484/0.8922, allocations: 27.78 MB / 0.6912 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.8949, allocations: 1.365 MB / 0.6926 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.8965, allocations: 1.009 MB / 0.6936 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.9078, allocations: 7.33 MB / 0.7007 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/0.908, allocations: 47.06 kB / 0.7008 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=74): time 6.973e-06/0.908, allocations: 0 / 0.7008 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=87): time 0.316/1.224, allocations: 6.167 MB / 0.7068 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.224, allocations: 142.5 kB / 0.7069 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005689/1.23, allocations: 1.987 MB / 0.7089 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000195/1.23, allocations: 26.31 kB / 0.7089 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/1.232, allocations: 2.51 MB / 0.7113 GB, free: 134 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/1.233, allocations: 354.8 kB / 0.7117 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003703/1.233, allocations: 0 / 0.7117 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004007/1.233, allocations: 475.6 kB / 0.7121 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/1.235, allocations: 0.9765 MB / 0.7131 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/1.238, allocations: 3.458 MB / 0.7165 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003865/1.242, allocations: 1.928 MB / 0.7183 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-05/1.242, allocations: 26.12 kB / 0.7184 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=516) (initialization): time 0.008269/1.25, allocations: 4.024 MB / 0.7223 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/1.25, allocations: 43.77 kB / 0.7223 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.251, allocations: 93.84 kB / 0.7224 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/1.251, allocations: 132.1 kB / 0.7225 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/1.254, allocations: 0.9714 MB / 0.7235 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001646/1.254, allocations: 180.7 kB / 0.7237 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/1.256, allocations: 120.4 kB / 0.7238 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000385/1.257, allocations: 245.8 kB / 0.724 GB, free: 129.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 409 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (516): * Single equations (assignments): 516 * 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.0004763/1.257, allocations: 346.1 kB / 0.7243 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002037/1.259, allocations: 1.063 MB / 0.7254 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/1.26, allocations: 204.1 kB / 0.7256 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.261, allocations: 1.12 MB / 0.7267 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.261, allocations: 13.69 kB / 0.7267 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.261, allocations: 3.375 kB / 0.7267 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.261, allocations: 7.844 kB / 0.7267 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/1.267, allocations: 4.614 MB / 0.7312 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/1.267, allocations: 18.53 kB / 0.7312 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/1.268, allocations: 221.5 kB / 0.7314 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/1.268, allocations: 27.44 kB / 0.7315 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/1.268, allocations: 23.25 kB / 0.7315 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-05/1.268, allocations: 39.08 kB / 0.7315 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.595e-05/1.268, allocations: 27.39 kB / 0.7315 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.27, allocations: 2.976 MB / 0.7345 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/1.27, allocations: 287.3 kB / 0.7347 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.271, allocations: 26.98 kB / 0.7347 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/1.271, allocations: 26.73 kB / 0.7348 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.271, allocations: 130 kB / 0.7349 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/1.271, allocations: 50.56 kB / 0.7349 GB, free: 125 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001541/1.273, allocations: 1.306 MB / 0.7362 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/1.273, allocations: 0 / 0.7362 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003584/1.277, allocations: 0.5783 MB / 0.7368 GB, free: 124.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.002881/1.279, allocations: 8.064 MB / 0.7447 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003546/1.283, allocations: 2.251 MB / 0.7469 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.283, allocations: 3.5 kB / 0.7469 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005338/1.284, allocations: 0.5039 MB / 0.7474 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/1.285, allocations: 215.5 kB / 0.7476 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.3, allocations: 6.354 MB / 0.7538 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003416/1.303, allocations: 2.809 MB / 0.7565 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002808/1.306, allocations: 1.024 MB / 0.7575 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/1.307, allocations: 1.47 MB / 0.7589 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/1.307, allocations: 6.812 kB / 0.759 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08758/1.395, allocations: 44.69 MB / 0.8026 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.395, allocations: 127.6 kB / 0.8027 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.595, allocations: 3.938 kB / 0.8027 GB, free: 93.55 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat