Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001611, allocations: 199.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007433/0.0007432, allocations: 106.4 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2981/0.2981, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3183, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4437, allocations: 105.7 MB / 0.6197 GB, free: 15.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.444, allocations: 83.95 kB / 0.6198 GB, free: 15.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4415/0.8855, allocations: 95.7 MB / 0.7132 GB, free: 99.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8855, allocations: 0 / 0.7132 GB, free: 99.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004426/0.886, allocations: 82.94 kB / 0.7133 GB, free: 99.04 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01632/0.9023, allocations: 4.257 MB / 0.7175 GB, free: 97.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.9024, allocations: 11.19 kB / 0.7175 GB, free: 97.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.918, allocations: 3.579 MB / 0.721 GB, free: 96.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/0.9264, allocations: 3.167 MB / 0.7241 GB, free: 96.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.9268, allocations: 343.7 kB / 0.7244 GB, free: 95.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002652/0.9294, allocations: 447.5 kB / 0.7248 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/0.9565, allocations: 11.7 MB / 0.7362 GB, free: 90.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002606/0.9568, allocations: 31.03 kB / 0.7363 GB, free: 90.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002246/0.959, allocations: 209.3 kB / 0.7365 GB, free: 90.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/0.9609, allocations: 1.339 MB / 0.7378 GB, free: 90.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.9812, allocations: 11.32 MB / 0.7488 GB, free: 87.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05421/1.035, allocations: 41.51 MB / 0.7894 GB, free: 50.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/1.046, allocations: 5.873 MB / 0.7951 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003455/1.049, allocations: 2.998 MB / 0.798 GB, free: 41.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.051, allocations: 1.891 MB / 0.7999 GB, free: 39.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/1.051, allocations: 52.56 kB / 0.7999 GB, free: 39.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 7.224e-06/1.051, allocations: 4 kB / 0.7999 GB, free: 39.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.04452/1.095, allocations: 19.59 MB / 0.8191 GB, free: 19.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/1.095, allocations: 77.41 kB / 0.8191 GB, free: 19.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/1.1, allocations: 3.039 MB / 0.8221 GB, free: 16.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005742/1.101, allocations: 69.28 kB / 0.8222 GB, free: 16.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/1.102, allocations: 2.983 MB / 0.8251 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.104, allocations: 1.012 MB / 0.8261 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/1.104, allocations: 116 kB / 0.8262 GB, free: 12.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005066/1.105, allocations: 0.5698 MB / 0.8267 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004697/1.11, allocations: 2.838 MB / 0.8295 GB, free: 9.082 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005204/1.115, allocations: 5.992 MB / 0.8354 GB, free: 1.555 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01195/1.127, allocations: 9.616 MB / 0.8448 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.061e-05/1.127, allocations: 36 kB / 0.8448 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.01988/1.147, allocations: 9.997 MB / 0.8546 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/1.147, allocations: 52 kB / 0.8546 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/1.147, allocations: 108.9 kB / 0.8547 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003514/1.151, allocations: 1.37 MB / 0.8561 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/1.156, allocations: 1.376 MB / 0.8574 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009503/1.165, allocations: 7.21 MB / 0.8644 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/1.17, allocations: 407.6 kB / 0.8648 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009715/1.171, allocations: 336 kB / 0.8651 GB, free: 1.375 MB / 0.5105 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.004405/1.175, allocations: 2.304 MB / 0.8674 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005408/1.176, allocations: 304 kB / 0.8677 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.186, allocations: 6.619 MB / 0.8742 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.389e-05/1.187, allocations: 47.98 kB / 0.8742 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.187, allocations: 4 kB / 0.8742 GB, free: 8.035 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/1.187, allocations: 11.95 kB / 0.8742 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2745/1.461, allocations: 14.04 MB / 0.8879 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/1.461, allocations: 10.09 kB / 0.8879 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.463, allocations: 460.3 kB / 0.8884 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002967/1.466, allocations: 1.217 MB / 0.8896 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004242/1.467, allocations: 50.56 kB / 0.8896 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008242/1.475, allocations: 6.532 MB / 0.896 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/1.475, allocations: 14.78 kB / 0.896 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/1.49, allocations: 9.827 MB / 0.9056 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.491, allocations: 356 kB / 0.9059 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009753/1.492, allocations: 51.53 kB / 0.906 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.494, allocations: 206.9 kB / 0.9062 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005554/1.494, allocations: 161.8 kB / 0.9063 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/1.495, allocations: 80.64 kB / 0.9064 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004125/1.499, allocations: 1.871 MB / 0.9082 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.499, allocations: 1.031 kB / 0.9082 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00672/1.506, allocations: 1.136 MB / 0.9094 GB, free: 126.5 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.0008767/1.507, allocations: 202.9 kB / 0.9095 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.519, allocations: 6.912 MB / 0.9163 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.519, allocations: 2 kB / 0.9163 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0042/1.523, allocations: 2.761 MB / 0.919 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005442/1.529, allocations: 409.5 kB / 0.9194 GB, free: 123 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.551, allocations: 13.93 MB / 0.933 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005918/1.557, allocations: 3.589 MB / 0.9365 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/1.559, allocations: 289.9 kB / 0.9368 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/1.559, allocations: 0 / 0.9368 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1175/1.676, allocations: 82.94 MB / 1.018 GB, free: 57.11 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches