Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",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.001496/0.001496, allocations: 186 kB / 16.4 MB, free: 5.746 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.981/1.981, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001188/0.001188, allocations: 101.6 kB / 270.9 MB, free: 8.371 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.5339/0.5339, allocations: 43.54 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004993, allocations: 15.98 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.6199, allocations: 103.4 MB / 0.5798 GB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6203, allocations: 75.97 kB / 0.5798 GB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7839/1.404, allocations: 95.4 MB / 0.673 GB, free: 91.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.621e-06/1.404, allocations: 4.875 kB / 0.673 GB, free: 91.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004404/1.405, allocations: 81.75 kB / 0.6731 GB, free: 91.66 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.02444/1.429, allocations: 4.397 MB / 0.6774 GB, free: 90.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/1.429, allocations: 9.797 kB / 0.6774 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00502/1.434, allocations: 0.8857 MB / 0.6782 GB, free: 90.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/1.463, allocations: 3.612 MB / 0.6818 GB, free: 90.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/1.481, allocations: 4.504 MB / 0.6862 GB, free: 90.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006772/1.482, allocations: 335.7 kB / 0.6865 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/1.485, allocations: 449 kB / 0.6869 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04035/1.525, allocations: 11.78 MB / 0.6984 GB, free: 88.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002888/1.526, allocations: 33.44 kB / 0.6985 GB, free: 88.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002531/1.528, allocations: 206.4 kB / 0.6987 GB, free: 88.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002846/1.531, allocations: 1.329 MB / 0.6999 GB, free: 88.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03919/1.57, allocations: 11.45 MB / 0.7111 GB, free: 88.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1075/1.678, allocations: 41.47 MB / 0.7516 GB, free: 64.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02532/1.703, allocations: 5.964 MB / 0.7575 GB, free: 61.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003118/1.707, allocations: 1.882 MB / 0.7593 GB, free: 60.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.374e-05/1.707, allocations: 65.8 kB / 0.7594 GB, free: 60 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 9.889e-06/1.707, allocations: 0 / 0.7594 GB, free: 60 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.1127/1.82, allocations: 20.48 MB / 0.7793 GB, free: 52.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/1.82, allocations: 76.84 kB / 0.7794 GB, free: 52.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009421/1.829, allocations: 2.74 MB / 0.7821 GB, free: 51.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009121/1.83, allocations: 68.22 kB / 0.7822 GB, free: 51.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003491/1.834, allocations: 2.985 MB / 0.7851 GB, free: 49.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002239/1.836, allocations: 1.015 MB / 0.7861 GB, free: 48.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/1.837, allocations: 119.3 kB / 0.7862 GB, free: 48.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001354/1.839, allocations: 0.5713 MB / 0.7867 GB, free: 48.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008289/1.847, allocations: 2.843 MB / 0.7895 GB, free: 46.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009912/1.857, allocations: 6.013 MB / 0.7954 GB, free: 39.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009663/1.867, allocations: 4.117 MB / 0.7994 GB, free: 35.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/1.867, allocations: 35.47 kB / 0.7994 GB, free: 35.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.03246/1.899, allocations: 9.967 MB / 0.8092 GB, free: 27.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/1.899, allocations: 54.81 kB / 0.8092 GB, free: 27.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.9, allocations: 112.2 kB / 0.8093 GB, free: 27.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/1.906, allocations: 1.385 MB / 0.8107 GB, free: 26.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009478/1.916, allocations: 1.399 MB / 0.8121 GB, free: 25.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/1.932, allocations: 7.411 MB / 0.8193 GB, free: 18.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007434/1.939, allocations: 400.9 kB / 0.8197 GB, free: 18.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/1.941, allocations: 346.7 kB / 0.82 GB, free: 18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 505 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (720): * Single equations (assignments): 713 * 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.006189/1.947, allocations: 2.301 MB / 0.8222 GB, free: 16.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008266/1.948, allocations: 308 kB / 0.8225 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01978/1.968, allocations: 6.619 MB / 0.829 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/1.968, allocations: 51.84 kB / 0.8291 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.968, allocations: 11.89 kB / 0.8291 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-05/1.968, allocations: 11.06 kB / 0.8291 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04119/2.009, allocations: 14.05 MB / 0.8428 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/2.009, allocations: 12.16 kB / 0.8428 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004514/2.014, allocations: 455.3 kB / 0.8432 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006748/2.02, allocations: 1.211 MB / 0.8444 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007475/2.021, allocations: 50.58 kB / 0.8445 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/2.038, allocations: 6.754 MB / 0.8511 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-05/2.038, allocations: 11.94 kB / 0.8511 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03014/2.068, allocations: 10.45 MB / 0.8613 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003403/2.071, allocations: 0.825 MB / 0.8621 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.073, allocations: 47.98 kB / 0.8621 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/2.077, allocations: 199.7 kB / 0.8623 GB, free: 8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.078, allocations: 172 kB / 0.8625 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004043/2.078, allocations: 75.98 kB / 0.8626 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005774/2.084, allocations: 1.887 MB / 0.8644 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.084, allocations: 0 / 0.8644 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007708/2.092, allocations: 1.14 MB / 0.8655 GB, free: 4.742 MB / 0.5105 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.4318/2.524, allocations: 12.83 MB / 0.8781 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01755/2.541, allocations: 6.938 MB / 0.8848 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.541, allocations: 0 / 0.8848 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006628/2.548, allocations: 2.766 MB / 0.8875 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/2.551, allocations: 368.1 kB / 0.8879 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1109/2.662, allocations: 113 MB / 0.9982 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009525/2.672, allocations: 3.691 MB / 1.002 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00627/2.678, allocations: 2.151 MB / 1.004 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/2.678, allocations: 3.938 kB / 1.004 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.867/7.545, allocations: 107.1 MB / 1.109 GB, free: 126.1 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat