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.001657/0.001657, allocations: 202.6 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.453/1.453, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001152, allocations: 104.3 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3659/0.3659, allocations: 45.23 MB / 394.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003369, allocations: 12.2 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4384, allocations: 63.24 MB / 0.5193 GB, free: 43.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.5936, allocations: 105.7 MB / 0.6225 GB, free: 15.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.594, allocations: 89.67 kB / 0.6226 GB, free: 15.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5911/1.185, allocations: 97.36 MB / 0.7177 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.135e-06/1.185, allocations: 5.469 kB / 0.7177 GB, free: 96.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003835/1.186, allocations: 80.03 kB / 0.7178 GB, free: 96.86 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.01902/1.205, allocations: 4.442 MB / 0.7221 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.205, allocations: 11.75 kB / 0.7221 GB, free: 94.94 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005753/1.211, allocations: 0.8723 MB / 0.723 GB, free: 94.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/1.228, allocations: 3.605 MB / 0.7265 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/1.242, allocations: 3.832 MB / 0.7302 GB, free: 94.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007686/1.243, allocations: 342.9 kB / 0.7306 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003937/1.247, allocations: 446.6 kB / 0.731 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03875/1.286, allocations: 11.77 MB / 0.7425 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005922/1.286, allocations: 35.88 kB / 0.7425 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003248/1.29, allocations: 208.4 kB / 0.7427 GB, free: 92.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002997/1.293, allocations: 1.329 MB / 0.744 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02668/1.319, allocations: 11.43 MB / 0.7552 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06805/1.387, allocations: 41.56 MB / 0.7958 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.399, allocations: 5.958 MB / 0.8016 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/1.401, allocations: 1.889 MB / 0.8034 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/1.401, allocations: 51.59 kB / 0.8035 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 7.654e-06/1.401, allocations: 3.938 kB / 0.8035 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.04954/1.45, allocations: 20.43 MB / 0.8234 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/1.451, allocations: 73.41 kB / 0.8235 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/1.457, allocations: 2.714 MB / 0.8262 GB, free: 42.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006476/1.457, allocations: 61.7 kB / 0.8262 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001953/1.459, allocations: 2.984 MB / 0.8291 GB, free: 39.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.461, allocations: 1.031 MB / 0.8301 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008512/1.462, allocations: 112 kB / 0.8302 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006226/1.462, allocations: 0.5621 MB / 0.8308 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004878/1.467, allocations: 2.834 MB / 0.8336 GB, free: 35.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/1.473, allocations: 5.974 MB / 0.8394 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005961/1.479, allocations: 4.111 MB / 0.8434 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.479, allocations: 32 kB / 0.8434 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.0181/1.497, allocations: 9.996 MB / 0.8532 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.498, allocations: 56.02 kB / 0.8533 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/1.498, allocations: 112 kB / 0.8534 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/1.501, allocations: 1.382 MB / 0.8547 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/1.506, allocations: 1.372 MB / 0.856 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/1.514, allocations: 7.409 MB / 0.8633 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/1.519, allocations: 407.6 kB / 0.8637 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009191/1.52, allocations: 343.9 kB / 0.864 GB, free: 2.926 MB / 0.4948 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 () * Number of clocked 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.004589/1.525, allocations: 2.3 MB / 0.8662 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008534/1.525, allocations: 311.9 kB / 0.8665 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.539, allocations: 6.636 MB / 0.873 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.586e-05/1.539, allocations: 47.98 kB / 0.8731 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/1.539, allocations: 4 kB / 0.8731 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/1.539, allocations: 11.95 kB / 0.8731 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.565, allocations: 14.04 MB / 0.8868 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/1.565, allocations: 12.03 kB / 0.8868 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.567, allocations: 459.3 kB / 0.8872 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/1.571, allocations: 1.214 MB / 0.8884 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003583/1.571, allocations: 52 kB / 0.8885 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00952/1.58, allocations: 6.746 MB / 0.8951 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/1.581, allocations: 15.89 kB / 0.8951 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3056/1.886, allocations: 10.44 MB / 0.9053 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.887, allocations: 360.8 kB / 0.9056 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000796/1.888, allocations: 49.19 kB / 0.9057 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.89, allocations: 201.2 kB / 0.9059 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000506/1.891, allocations: 163.3 kB / 0.906 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/1.891, allocations: 77.84 kB / 0.9061 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003524/1.894, allocations: 1.875 MB / 0.9079 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/1.894, allocations: 0 / 0.9079 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00705/1.901, allocations: 1.139 MB / 0.909 GB, free: 116.2 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 () * Number of clocked 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.01721/1.919, allocations: 12.84 MB / 0.9216 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.933, allocations: 6.909 MB / 0.9283 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/1.933, allocations: 1.375 kB / 0.9283 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005193/1.938, allocations: 2.773 MB / 0.931 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/1.941, allocations: 373.7 kB / 0.9314 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09404/2.035, allocations: 111.3 MB / 1.04 GB, free: 31.89 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00444/2.039, allocations: 3.68 MB / 1.044 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005005/2.044, allocations: 2.2 MB / 1.046 GB, free: 30.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/2.048, allocations: 2.071 MB / 1.048 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.803e-06/2.048, allocations: 0 / 1.048 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3739/2.422, allocations: 79.5 MB / 1.126 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/2.422, allocations: 192.8 kB / 1.126 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.592/7.014, allocations: 3.5 kB / 1.126 GB, free: 127.9 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