Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 200.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000929/0.0009291, allocations: 107 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4018/0.4018, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0003001, allocations: 11.98 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4432, allocations: 63.24 MB / 0.5193 GB, free: 43.75 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5951, allocations: 109.9 MB / 0.6266 GB, free: 11.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5954, allocations: 83.92 kB / 0.6267 GB, free: 11.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1438/0.7392, allocations: 54.52 MB / 0.6799 GB, free: 4.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7393, allocations: 0 / 0.6799 GB, free: 4.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001517/0.7395, allocations: 55.98 kB / 0.68 GB, free: 4.766 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009232/0.7487, allocations: 2.598 MB / 0.6825 GB, free: 2.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7488, allocations: 12.03 kB / 0.6825 GB, free: 2.094 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002135/0.7509, allocations: 443 kB / 0.683 GB, free: 1.648 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.754, allocations: 448 kB / 0.6834 GB, free: 1.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00609/0.7601, allocations: 1.489 MB / 0.6849 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.7605, allocations: 197.2 kB / 0.685 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.7622, allocations: 259.9 kB / 0.6853 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.78, allocations: 6.321 MB / 0.6915 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.7802, allocations: 23.81 kB / 0.6915 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009792/0.7812, allocations: 112 kB / 0.6916 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008091/0.782, allocations: 463.9 kB / 0.692 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.7965, allocations: 5.344 MB / 0.6973 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.289/1.086, allocations: 20.14 MB / 0.7169 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006282/1.092, allocations: 1.802 MB / 0.7187 GB, free: 99.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006018/1.098, allocations: 4.728 MB / 0.7233 GB, free: 97.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.098, allocations: 47.02 kB / 0.7233 GB, free: 97.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 3.246e-06/1.098, allocations: 0 / 0.7233 GB, free: 97.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.04113/1.139, allocations: 9.675 MB / 0.7328 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/1.139, allocations: 66 kB / 0.7328 GB, free: 96.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/1.141, allocations: 1.629 MB / 0.7344 GB, free: 96.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/1.141, allocations: 42.27 kB / 0.7345 GB, free: 96.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007692/1.142, allocations: 1.539 MB / 0.736 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/1.142, allocations: 405.5 kB / 0.7364 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/1.143, allocations: 55.66 kB / 0.7364 GB, free: 95.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.143, allocations: 420.4 kB / 0.7368 GB, free: 95.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.144, allocations: 1.004 MB / 0.7378 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/1.146, allocations: 2.506 MB / 0.7403 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/1.148, allocations: 1.531 MB / 0.7417 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-05/1.148, allocations: 19.08 kB / 0.7418 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005311/1.153, allocations: 3.517 MB / 0.7452 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/1.154, allocations: 30.22 kB / 0.7452 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-05/1.154, allocations: 53.34 kB / 0.7453 GB, free: 91.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/1.154, allocations: 83.27 kB / 0.7454 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/1.156, allocations: 0.6824 MB / 0.746 GB, free: 91.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.878e-05/1.156, allocations: 105.7 kB / 0.7461 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.158, allocations: 155.7 kB / 0.7463 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/1.158, allocations: 158.2 kB / 0.7464 GB, free: 91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.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],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (353): * Single equations (assignments): 353 * 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.001746/1.16, allocations: 1.14 MB / 0.7475 GB, free: 90.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.16, allocations: 166.5 kB / 0.7477 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/1.163, allocations: 1.744 MB / 0.7494 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.163, allocations: 18.08 kB / 0.7494 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.163, allocations: 1.531 kB / 0.7494 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.163, allocations: 6 kB / 0.7494 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008186/1.171, allocations: 5.628 MB / 0.7549 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.171, allocations: 19.05 kB / 0.7549 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009658/1.172, allocations: 246.9 kB / 0.7552 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.167e-05/1.172, allocations: 22.09 kB / 0.7552 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/1.172, allocations: 33.06 kB / 0.7552 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/1.172, allocations: 20.31 kB / 0.7552 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.172, allocations: 17.09 kB / 0.7553 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/1.174, allocations: 2.569 MB / 0.7578 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/1.175, allocations: 255.5 kB / 0.758 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/1.175, allocations: 34.36 kB / 0.758 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/1.176, allocations: 61.23 kB / 0.7581 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.176, allocations: 104.4 kB / 0.7582 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/1.176, allocations: 42.31 kB / 0.7582 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001746/1.178, allocations: 1.182 MB / 0.7594 GB, free: 83.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.178, allocations: 0 / 0.7594 GB, free: 83.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003384/1.181, allocations: 0.5208 MB / 0.7599 GB, free: 83.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (110): * Single equations (assignments): 110 * 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.003041/1.184, allocations: 6.371 MB / 0.7661 GB, free: 77.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003617/1.188, allocations: 2.206 MB / 0.7683 GB, free: 76.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.188, allocations: 3.469 kB / 0.7683 GB, free: 76.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008874/1.189, allocations: 0.6128 MB / 0.7689 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.19, allocations: 226.2 kB / 0.7691 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/1.209, allocations: 45.16 MB / 0.8132 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/1.211, allocations: 2.124 MB / 0.8153 GB, free: 32.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002029/1.213, allocations: 0.7449 MB / 0.816 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.214, allocations: 0.9644 MB / 0.8169 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/1.214, allocations: 0 / 0.8169 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/1.27, allocations: 37.94 MB / 0.854 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/1.27, allocations: 171 kB / 0.8542 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/4.626, allocations: 0 / 0.8542 GB, free: 12.27 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat