Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",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.001405/0.001405, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.761/1.761, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009326/0.0009326, allocations: 85.19 kB / 267 MB, free: 9.273 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.4668/0.4668, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.645e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5913, allocations: 107.4 MB / 0.5778 GB, free: 14.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.5916, allocations: 81.8 kB / 0.5779 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1885/0.7801, allocations: 75.16 MB / 0.6513 GB, free: 11.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7802, allocations: 0 / 0.6513 GB, free: 11.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001437/0.7803, allocations: 75.94 kB / 0.6514 GB, free: 11.85 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.009525/0.7899, allocations: 3.599 MB / 0.6549 GB, free: 8.195 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7899, allocations: 8.031 kB / 0.6549 GB, free: 8.188 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001817/0.7917, allocations: 0.6632 MB / 0.6556 GB, free: 7.516 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/0.7951, allocations: 0.666 MB / 0.6562 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/0.8001, allocations: 2.208 MB / 0.6584 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.8004, allocations: 299.8 kB / 0.6587 GB, free: 4.293 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007595/0.8012, allocations: 385.3 kB / 0.659 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.8202, allocations: 8.471 MB / 0.6673 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.907e-05/0.8203, allocations: 19.81 kB / 0.6673 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004599/0.8208, allocations: 167.9 kB / 0.6675 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.8223, allocations: 0.7876 MB / 0.6682 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/0.8383, allocations: 6.646 MB / 0.6747 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3527/1.191, allocations: 27.82 MB / 0.7019 GB, free: 97.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006732/1.198, allocations: 1.913 MB / 0.7038 GB, free: 97.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/1.199, allocations: 0.8108 MB / 0.7046 GB, free: 97.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007316/1.206, allocations: 6.355 MB / 0.7108 GB, free: 93.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/1.206, allocations: 48.5 kB / 0.7108 GB, free: 93.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=77): time 2.956e-06/1.206, allocations: 3.031 kB / 0.7108 GB, free: 93.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.01467/1.221, allocations: 5.832 MB / 0.7165 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.221, allocations: 138.5 kB / 0.7166 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/1.224, allocations: 2.204 MB / 0.7188 GB, free: 91.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.224, allocations: 44.8 kB / 0.7188 GB, free: 91.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.226, allocations: 2.403 MB / 0.7212 GB, free: 90.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/1.226, allocations: 385.7 kB / 0.7216 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.226, allocations: 75.22 kB / 0.7216 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.226, allocations: 465.8 kB / 0.7221 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.228, allocations: 0.915 MB / 0.723 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/1.231, allocations: 3.214 MB / 0.7261 GB, free: 86.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/1.233, allocations: 1.687 MB / 0.7277 GB, free: 86.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.281e-05/1.233, allocations: 22.75 kB / 0.7278 GB, free: 86.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007466/1.241, allocations: 4.019 MB / 0.7317 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/1.241, allocations: 42.95 kB / 0.7317 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/1.241, allocations: 84 kB / 0.7318 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/1.241, allocations: 121 kB / 0.7319 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/1.244, allocations: 0.9041 MB / 0.7328 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/1.244, allocations: 162.9 kB / 0.733 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.247, allocations: 171.8 kB / 0.7331 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/1.247, allocations: 232.1 kB / 0.7334 GB, free: 86.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (483): * Single equations (assignments): 483 * 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.0004882/1.248, allocations: 410.6 kB / 0.7337 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/1.248, allocations: 220.1 kB / 0.734 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/1.25, allocations: 1.115 MB / 0.735 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.25, allocations: 9.531 kB / 0.7351 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.25, allocations: 1.734 kB / 0.7351 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.25, allocations: 6.719 kB / 0.7351 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00952/1.26, allocations: 6.143 MB / 0.7411 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/1.26, allocations: 19.47 kB / 0.7411 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/1.26, allocations: 241.2 kB / 0.7413 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.972e-05/1.26, allocations: 29.59 kB / 0.7413 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/1.261, allocations: 49.62 kB / 0.7414 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-05/1.261, allocations: 41.05 kB / 0.7414 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/1.261, allocations: 30.92 kB / 0.7415 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/1.263, allocations: 3.767 MB / 0.7451 GB, free: 81.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/1.264, allocations: 329.1 kB / 0.7454 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/1.264, allocations: 50.17 kB / 0.7455 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008063/1.265, allocations: 43.48 kB / 0.7455 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.265, allocations: 151.4 kB / 0.7457 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/1.265, allocations: 58.28 kB / 0.7457 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00237/1.267, allocations: 1.594 MB / 0.7473 GB, free: 80.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/1.267, allocations: 0 / 0.7473 GB, free: 80.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003861/1.271, allocations: 0.6624 MB / 0.7479 GB, free: 80.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.003629/1.275, allocations: 9.596 MB / 0.7573 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00413/1.279, allocations: 2.269 MB / 0.7595 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/1.279, allocations: 3 kB / 0.7595 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000815/1.28, allocations: 0.5678 MB / 0.7601 GB, free: 71.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.281, allocations: 313.7 kB / 0.7604 GB, free: 71.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/1.301, allocations: 6.669 MB / 0.7669 GB, free: 68.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003598/1.305, allocations: 2.82 MB / 0.7696 GB, free: 67.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002982/1.308, allocations: 1.007 MB / 0.7706 GB, free: 67.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.309, allocations: 1.472 MB / 0.7721 GB, free: 66.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/1.309, allocations: 0 / 0.7721 GB, free: 66.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08015/1.39, allocations: 48.64 MB / 0.8196 GB, free: 54.17 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.39, allocations: 139.6 kB / 0.8197 GB, free: 53.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/4.929, allocations: 0 / 0.8197 GB, free: 53.95 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat