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.001245/0.001245, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 93.66 kB / 292.1 MB, free: 10.91 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.3446/0.3446, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003439, allocations: 8 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4045, allocations: 61.9 MB / 0.5096 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5586, allocations: 109.8 MB / 0.6169 GB, free: 1.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.559, allocations: 87.92 kB / 0.617 GB, free: 1.176 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4464/1.005, allocations: 68.96 MB / 0.6843 GB, free: 100.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.005, allocations: 0 / 0.6843 GB, free: 100.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001355/1.006, allocations: 67.5 kB / 0.6844 GB, free: 100.6 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.0147/1.02, allocations: 3.627 MB / 0.6879 GB, free: 99.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/1.02, allocations: 9.75 kB / 0.6879 GB, free: 99.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003532/1.024, allocations: 0.5628 MB / 0.6885 GB, free: 99.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/1.028, allocations: 0.5766 MB / 0.689 GB, free: 99.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005483/1.034, allocations: 2.072 MB / 0.6911 GB, free: 98.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/1.034, allocations: 253.6 kB / 0.6913 GB, free: 98.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008802/1.035, allocations: 325.6 kB / 0.6916 GB, free: 98.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/1.053, allocations: 7.98 MB / 0.6994 GB, free: 97.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/1.053, allocations: 15.12 kB / 0.6994 GB, free: 97.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007143/1.054, allocations: 149.4 kB / 0.6996 GB, free: 97.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000819/1.055, allocations: 0.653 MB / 0.7002 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/1.072, allocations: 6.834 MB / 0.7069 GB, free: 97.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04525/1.118, allocations: 25.71 MB / 0.732 GB, free: 81.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007476/1.125, allocations: 2.235 MB / 0.7341 GB, free: 80.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/1.135, allocations: 7.077 MB / 0.7411 GB, free: 75.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/1.135, allocations: 42.97 kB / 0.7411 GB, free: 75.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=80): time 3.997e-06/1.135, allocations: 0 / 0.7411 GB, free: 75.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01798/1.153, allocations: 5.342 MB / 0.7463 GB, free: 74.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.153, allocations: 67.31 kB / 0.7464 GB, free: 74.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005186/1.159, allocations: 2.135 MB / 0.7485 GB, free: 73.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002296/1.159, allocations: 45.36 kB / 0.7485 GB, free: 73.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.161, allocations: 2.056 MB / 0.7505 GB, free: 71.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/1.161, allocations: 391.1 kB / 0.7509 GB, free: 71.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/1.162, allocations: 73.53 kB / 0.751 GB, free: 71.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/1.162, allocations: 449.5 kB / 0.7514 GB, free: 70.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/1.163, allocations: 1.009 MB / 0.7524 GB, free: 70.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/1.166, allocations: 3.158 MB / 0.7555 GB, free: 67.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/1.168, allocations: 1.719 MB / 0.7571 GB, free: 66.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.021e-05/1.169, allocations: 23 kB / 0.7572 GB, free: 66.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.006439/1.175, allocations: 4.078 MB / 0.7611 GB, free: 64.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.198e-05/1.175, allocations: 47.73 kB / 0.7612 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.175, allocations: 74.56 kB / 0.7613 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001111/1.175, allocations: 114 kB / 0.7614 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/1.178, allocations: 0.8347 MB / 0.7622 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000112/1.178, allocations: 157.6 kB / 0.7623 GB, free: 64.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/1.181, allocations: 187.3 kB / 0.7625 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003729/1.181, allocations: 210.8 kB / 0.7627 GB, free: 64.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (453): * Single equations (assignments): 453 * 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.002668/1.184, allocations: 1.433 MB / 0.7641 GB, free: 63.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/1.184, allocations: 208.2 kB / 0.7643 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/1.187, allocations: 1.408 MB / 0.7657 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.187, allocations: 10.19 kB / 0.7657 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.187, allocations: 0 / 0.7657 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.187, allocations: 2.531 kB / 0.7657 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008339/1.195, allocations: 5.404 MB / 0.771 GB, free: 60.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.195, allocations: 17.31 kB / 0.771 GB, free: 60.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/1.196, allocations: 245.6 kB / 0.7712 GB, free: 60.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.216e-05/1.196, allocations: 24.44 kB / 0.7713 GB, free: 60.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/1.196, allocations: 44 kB / 0.7713 GB, free: 60.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/1.196, allocations: 32.88 kB / 0.7713 GB, free: 60.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/1.196, allocations: 26.09 kB / 0.7713 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.198, allocations: 3.282 MB / 0.7746 GB, free: 57.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/1.199, allocations: 306 kB / 0.7748 GB, free: 57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/1.199, allocations: 43.77 kB / 0.7749 GB, free: 56.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/1.2, allocations: 55.23 kB / 0.7749 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.2, allocations: 127.8 kB / 0.7751 GB, free: 56.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.295e-05/1.2, allocations: 52.06 kB / 0.7751 GB, free: 56.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001992/1.202, allocations: 1.52 MB / 0.7766 GB, free: 56.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.202, allocations: 0 / 0.7766 GB, free: 56.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002851/1.205, allocations: 0.6039 MB / 0.7772 GB, free: 56.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * 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 (129): * Single equations (assignments): 129 * 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.002878/1.208, allocations: 8.139 MB / 0.7851 GB, free: 47.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003417/1.211, allocations: 2.378 MB / 0.7875 GB, free: 45.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.211, allocations: 4 kB / 0.7875 GB, free: 45.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007022/1.212, allocations: 0.6088 MB / 0.7881 GB, free: 44.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.214, allocations: 324.4 kB / 0.7884 GB, free: 44.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03032/1.244, allocations: 63.54 MB / 0.8504 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004232/1.248, allocations: 2.522 MB / 0.8529 GB, free: 10 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003145/1.251, allocations: 0.973 MB / 0.8538 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/1.253, allocations: 1.243 MB / 0.855 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/1.253, allocations: 0 / 0.855 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3429/1.596, allocations: 45.36 MB / 0.8993 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.597, allocations: 171.2 kB / 0.8995 GB, free: 136 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/5.144, allocations: 0 / 0.8995 GB, free: 136 MB / 0.5261 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