Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 100.5 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2027/0.2027, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.572e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1641, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.6365, allocations: 109.1 MB / 0.6013 GB, free: 3.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.6369, allocations: 79.95 kB / 0.6013 GB, free: 3.195 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1663/0.8031, allocations: 67.36 MB / 0.6671 GB, free: 15.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.8032, allocations: 4 kB / 0.6671 GB, free: 15.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.8033, allocations: 64 kB / 0.6672 GB, free: 15.35 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.008947/0.8123, allocations: 3.464 MB / 0.6706 GB, free: 11.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.8123, allocations: 15.98 kB / 0.6706 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/0.8158, allocations: 0.5692 MB / 0.6711 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/0.8205, allocations: 2.048 MB / 0.6731 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.8207, allocations: 104 kB / 0.6732 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005849/0.8213, allocations: 195.8 kB / 0.6734 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006748/0.828, allocations: 4.884 MB / 0.6782 GB, free: 3.961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008215/0.8363, allocations: 6.28 MB / 0.6843 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.165e-05/0.8363, allocations: 19.81 kB / 0.6843 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/0.8366, allocations: 8 kB / 0.6844 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008453/0.8375, allocations: 0.6538 MB / 0.685 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03057/0.8681, allocations: 24.79 MB / 0.7092 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.87, allocations: 1.303 MB / 0.7105 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.8711, allocations: 0.9911 MB / 0.7114 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3238/1.195, allocations: 6.835 MB / 0.7181 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/1.195, allocations: 41.56 kB / 0.7182 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=73): time 4.088e-06/1.195, allocations: 0.7812 kB / 0.7182 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86): time 0.01175/1.207, allocations: 4.392 MB / 0.7224 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/1.207, allocations: 63.09 kB / 0.7225 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/1.209, allocations: 1.812 MB / 0.7243 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.117e-05/1.21, allocations: 25.7 kB / 0.7243 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/1.211, allocations: 2.114 MB / 0.7264 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/1.211, allocations: 342.5 kB / 0.7267 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.211, allocations: 2.625 kB / 0.7267 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002192/1.212, allocations: 453.2 kB / 0.7271 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.213, allocations: 0.9034 MB / 0.728 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/1.215, allocations: 3.058 MB / 0.731 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003888/1.219, allocations: 1.765 MB / 0.7327 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.932e-05/1.219, allocations: 21.84 kB / 0.7327 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.009251/1.229, allocations: 3.653 MB / 0.7363 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/1.229, allocations: 40.12 kB / 0.7363 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002523/1.229, allocations: 77.41 kB / 0.7364 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/1.229, allocations: 114.6 kB / 0.7365 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/1.233, allocations: 0.8451 MB / 0.7374 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001559/1.233, allocations: 152 kB / 0.7375 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/1.236, allocations: 109.1 kB / 0.7376 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009176/1.237, allocations: 211.2 kB / 0.7378 GB, free: 135.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (454): * Single equations (assignments): 454 * 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.001218/1.239, allocations: 319.2 kB / 0.7381 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002276/1.241, allocations: 1.049 MB / 0.7391 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006137/1.242, allocations: 186.5 kB / 0.7393 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/1.244, allocations: 1.141 MB / 0.7404 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.244, allocations: 11.8 kB / 0.7404 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.244, allocations: 3.562 kB / 0.7404 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.244, allocations: 6.797 kB / 0.7404 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007068/1.251, allocations: 4.058 MB / 0.7444 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/1.251, allocations: 15.69 kB / 0.7444 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/1.252, allocations: 222.2 kB / 0.7446 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/1.252, allocations: 23.03 kB / 0.7447 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/1.252, allocations: 25.69 kB / 0.7447 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.726e-05/1.252, allocations: 31.03 kB / 0.7447 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/1.252, allocations: 31.52 kB / 0.7447 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/1.253, allocations: 2.734 MB / 0.7474 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/1.254, allocations: 275.7 kB / 0.7477 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/1.254, allocations: 28.67 kB / 0.7477 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/1.255, allocations: 21.92 kB / 0.7477 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/1.255, allocations: 125.4 kB / 0.7478 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/1.255, allocations: 48 kB / 0.7479 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001287/1.256, allocations: 1.185 MB / 0.749 GB, free: 130 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.256, allocations: 0 / 0.749 GB, free: 130 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002876/1.259, allocations: 0.5145 MB / 0.7495 GB, free: 130 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 119 * 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.002677/1.262, allocations: 7.53 MB / 0.7569 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003151/1.265, allocations: 2.07 MB / 0.7589 GB, free: 122 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.265, allocations: 3.938 kB / 0.7589 GB, free: 122 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/1.265, allocations: 0.4968 MB / 0.7594 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.267, allocations: 243.4 kB / 0.7596 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.28, allocations: 5.578 MB / 0.7651 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.283, allocations: 2.518 MB / 0.7676 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002648/1.286, allocations: 0.9272 MB / 0.7685 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/1.288, allocations: 1.245 MB / 0.7697 GB, free: 117 MB / 0.5105 GB Notification: Performance of SimCode: time 2.144e-06/1.288, allocations: 4 kB / 0.7697 GB, free: 117 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07562/1.363, allocations: 41.05 MB / 0.8098 GB, free: 97.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.363, allocations: 135.8 kB / 0.8099 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.712, allocations: 4.031 kB / 0.8099 GB, free: 97.33 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat