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.001214/0.001215, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005232, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1508, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.5381, allocations: 108.2 MB / 0.5845 GB, free: 7.746 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.5384, allocations: 83.58 kB / 0.5846 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1919/0.7303, allocations: 76.45 MB / 0.6593 GB, free: 3.129 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.7303, allocations: 0 / 0.6593 GB, free: 3.129 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001583/0.7305, allocations: 71.94 kB / 0.6593 GB, free: 3.059 MB / 458.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.01228/0.7428, allocations: 3.983 MB / 0.6632 GB, free: 15.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.7429, allocations: 8.031 kB / 0.6632 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002893/0.7458, allocations: 0.6634 MB / 0.6639 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.7503, allocations: 0.6738 MB / 0.6645 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.7572, allocations: 2.232 MB / 0.6667 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.7576, allocations: 291.7 kB / 0.667 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.759, allocations: 383.9 kB / 0.6674 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.7807, allocations: 8.937 MB / 0.6761 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.987e-05/0.7809, allocations: 19.81 kB / 0.6761 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006445/0.7815, allocations: 179.9 kB / 0.6763 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/0.7832, allocations: 0.8349 MB / 0.6771 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.7996, allocations: 7.307 MB / 0.6842 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2689/1.069, allocations: 29.1 MB / 0.7126 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007784/1.076, allocations: 2.287 MB / 0.7149 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/1.089, allocations: 7.59 MB / 0.7223 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/1.089, allocations: 50.86 kB / 0.7223 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=81): time 4.969e-06/1.089, allocations: 0 / 0.7223 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=97): time 0.02224/1.111, allocations: 7.146 MB / 0.7293 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/1.111, allocations: 141.4 kB / 0.7295 GB, free: 111 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/1.115, allocations: 2.359 MB / 0.7318 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/1.115, allocations: 45.92 kB / 0.7318 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001404/1.117, allocations: 2.42 MB / 0.7342 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004459/1.117, allocations: 399 kB / 0.7345 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/1.117, allocations: 78.97 kB / 0.7346 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.118, allocations: 471 kB / 0.7351 GB, free: 109 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/1.119, allocations: 1.068 MB / 0.7361 GB, free: 109 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1.122, allocations: 3.469 MB / 0.7395 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/1.124, allocations: 1.856 MB / 0.7413 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.632e-05/1.124, allocations: 23.38 kB / 0.7413 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=500) (initialization): time 0.006537/1.131, allocations: 4.423 MB / 0.7457 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/1.131, allocations: 42.44 kB / 0.7457 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.111e-05/1.131, allocations: 88.78 kB / 0.7458 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001077/1.131, allocations: 124.6 kB / 0.7459 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.134, allocations: 0.9526 MB / 0.7468 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001126/1.134, allocations: 168.2 kB / 0.747 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/1.137, allocations: 203.2 kB / 0.7472 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003907/1.138, allocations: 235.7 kB / 0.7474 GB, free: 105.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 500 * 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.003047/1.141, allocations: 1.602 MB / 0.749 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/1.141, allocations: 229.5 kB / 0.7492 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/1.143, allocations: 1.375 MB / 0.7505 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/1.143, allocations: 18.53 kB / 0.7506 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.144, allocations: 3.406 kB / 0.7506 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/1.144, allocations: 3.797 kB / 0.7506 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.154, allocations: 6.178 MB / 0.7566 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.154, allocations: 21.78 kB / 0.7566 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/1.155, allocations: 238.4 kB / 0.7568 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/1.155, allocations: 22.84 kB / 0.7569 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/1.155, allocations: 49.28 kB / 0.7569 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.097e-05/1.155, allocations: 37.09 kB / 0.7569 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/1.155, allocations: 29.72 kB / 0.757 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/1.158, allocations: 3.586 MB / 0.7605 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/1.158, allocations: 325.4 kB / 0.7608 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.159, allocations: 48.69 kB / 0.7608 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008518/1.159, allocations: 58.06 kB / 0.7609 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.16, allocations: 139.2 kB / 0.761 GB, free: 99.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/1.16, allocations: 52 kB / 0.7611 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002669/1.162, allocations: 1.682 MB / 0.7627 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.162, allocations: 0 / 0.7627 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004571/1.167, allocations: 0.6829 MB / 0.7634 GB, free: 99.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * 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 (130): * Single equations (assignments): 130 * 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.003531/1.17, allocations: 8.679 MB / 0.7719 GB, free: 90.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00373/1.174, allocations: 2.534 MB / 0.7743 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.174, allocations: 3.469 kB / 0.7743 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006723/1.175, allocations: 0.6116 MB / 0.7749 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.176, allocations: 308.5 kB / 0.7752 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/1.207, allocations: 71.33 MB / 0.8449 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003762/1.211, allocations: 2.822 MB / 0.8476 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003029/1.214, allocations: 1.054 MB / 0.8487 GB, free: 19.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/1.216, allocations: 1.463 MB / 0.8501 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.216, allocations: 0 / 0.8501 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3156/1.531, allocations: 49.56 MB / 0.8985 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.532, allocations: 175 kB / 0.8987 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.952/5.483, allocations: 0 / 0.8987 GB, free: 128.3 MB / 0.5105 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