Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007787/0.0007786, allocations: 88.7 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.267e-05, allocations: 8 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09797, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3675/0.4655, allocations: 105.7 MB / 0.6147 GB, free: 4.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.4657, allocations: 73.91 kB / 0.6147 GB, free: 4.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2238/0.6895, allocations: 97.46 MB / 0.7099 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6896, allocations: 0 / 0.7099 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001196/0.6897, allocations: 84 kB / 0.71 GB, free: 10.63 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.007898/0.6976, allocations: 4.286 MB / 0.7142 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.6977, allocations: 11.97 kB / 0.7142 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001234/0.6989, allocations: 0.882 MB / 0.715 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/0.7121, allocations: 3.609 MB / 0.7186 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0089/0.721, allocations: 3.82 MB / 0.7223 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.7213, allocations: 340.8 kB / 0.7226 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.7231, allocations: 443.6 kB / 0.723 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/0.7408, allocations: 11.66 MB / 0.7344 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.741, allocations: 27.72 kB / 0.7345 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005926/0.7416, allocations: 199.9 kB / 0.7347 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001562/0.7432, allocations: 1.345 MB / 0.736 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.7633, allocations: 11.2 MB / 0.7469 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2896/1.053, allocations: 41.54 MB / 0.7875 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009895/1.063, allocations: 5.933 MB / 0.7933 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003227/1.066, allocations: 2.967 MB / 0.7962 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.067, allocations: 1.888 MB / 0.798 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/1.067, allocations: 51.22 kB / 0.7981 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=262): time 4.909e-06/1.067, allocations: 7.25 kB / 0.7981 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=283): time 0.03379/1.101, allocations: 16.57 MB / 0.8142 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/1.101, allocations: 75.34 kB / 0.8143 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/1.105, allocations: 2.661 MB / 0.8169 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/1.105, allocations: 63.83 kB / 0.817 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001358/1.106, allocations: 2.99 MB / 0.8199 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/1.107, allocations: 1.017 MB / 0.8209 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/1.107, allocations: 114.5 kB / 0.821 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002311/1.107, allocations: 0.5604 MB / 0.8215 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.11, allocations: 2.756 MB / 0.8242 GB, free: 99.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004133/1.115, allocations: 5.905 MB / 0.83 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005175/1.12, allocations: 4.072 MB / 0.834 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.048e-05/1.12, allocations: 29.28 kB / 0.834 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.01415/1.134, allocations: 9.846 MB / 0.8436 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/1.134, allocations: 55.84 kB / 0.8437 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/1.134, allocations: 110.2 kB / 0.8438 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/1.137, allocations: 1.38 MB / 0.8451 GB, free: 90.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/1.142, allocations: 1.373 MB / 0.8465 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/1.149, allocations: 7.177 MB / 0.8535 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/1.154, allocations: 408.4 kB / 0.8539 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007287/1.154, allocations: 338.7 kB / 0.8542 GB, free: 83.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.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 (714): * Single equations (assignments): 707 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009501/1.155, allocations: 0.5392 MB / 0.8547 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005835/1.156, allocations: 300.1 kB / 0.855 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009401/1.165, allocations: 6.569 MB / 0.8614 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-05/1.166, allocations: 55.14 kB / 0.8615 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.166, allocations: 4 kB / 0.8615 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.166, allocations: 13.12 kB / 0.8615 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/1.184, allocations: 14 MB / 0.8752 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.184, allocations: 4 kB / 0.8752 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/1.186, allocations: 456.8 kB / 0.8756 GB, free: 65.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/1.189, allocations: 1.213 MB / 0.8768 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.189, allocations: 51.95 kB / 0.8768 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006709/1.195, allocations: 6.53 MB / 0.8832 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.195, allocations: 16 kB / 0.8832 GB, free: 59.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/1.207, allocations: 10.37 MB / 0.8934 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009305/1.208, allocations: 360.7 kB / 0.8937 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/1.208, allocations: 47.94 kB / 0.8937 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.21, allocations: 210.4 kB / 0.8939 GB, free: 49.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/1.21, allocations: 162.3 kB / 0.8941 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/1.21, allocations: 75.05 kB / 0.8942 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002226/1.213, allocations: 1.82 MB / 0.8959 GB, free: 47.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/1.213, allocations: 0 / 0.8959 GB, free: 47.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003774/1.216, allocations: 1.141 MB / 0.8971 GB, free: 46.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/1.228, allocations: 12.76 MB / 0.9095 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007795/1.236, allocations: 6.815 MB / 0.9162 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.236, allocations: 0 / 0.9162 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002674/1.239, allocations: 2.739 MB / 0.9189 GB, free: 24.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.24, allocations: 367.8 kB / 0.9192 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.255, allocations: 11.15 MB / 0.9301 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002887/1.258, allocations: 3.676 MB / 0.9337 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004255/1.263, allocations: 2.203 MB / 0.9358 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00207/1.265, allocations: 2.073 MB / 0.9379 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.265, allocations: 4 kB / 0.9379 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3226/1.587, allocations: 80.36 MB / 1.016 GB, free: 131.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/1.588, allocations: 175.3 kB / 1.017 GB, free: 131.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.355/4.943, allocations: 0 / 1.017 GB, free: 131.2 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat