Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002341/0.002341, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001057/0.001057, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2947/0.2947, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.73e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5137/0.6306, allocations: 107.5 MB / 0.5778 GB, free: 12.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.631, allocations: 85.3 kB / 0.5779 GB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3415/0.9725, allocations: 73.32 MB / 0.6495 GB, free: 10.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.9726, allocations: 0 / 0.6495 GB, free: 10.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002637/0.9728, allocations: 68 kB / 0.6496 GB, free: 10.81 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01404/0.9869, allocations: 3.393 MB / 0.6529 GB, free: 7.359 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.987, allocations: 12.03 kB / 0.6529 GB, free: 7.348 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/1.004, allocations: 2.089 MB / 0.6549 GB, free: 5.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/1.021, allocations: 4.085 MB / 0.6589 GB, free: 1.102 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/1.022, allocations: 262.9 kB / 0.6592 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/1.024, allocations: 355.8 kB / 0.6595 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/1.052, allocations: 8.929 MB / 0.6682 GB, free: 6.566 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002551/1.053, allocations: 59.42 kB / 0.6683 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/1.054, allocations: 183.9 kB / 0.6685 GB, free: 6.328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002308/1.057, allocations: 0.8838 MB / 0.6693 GB, free: 5.441 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/1.08, allocations: 7.173 MB / 0.6763 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.429/1.509, allocations: 42.95 MB / 0.7183 GB, free: 97.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/1.523, allocations: 3.285 MB / 0.7215 GB, free: 97.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/1.527, allocations: 1.442 MB / 0.7229 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/1.538, allocations: 4.434 MB / 0.7272 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/1.538, allocations: 50.16 kB / 0.7273 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=121): time 6.352e-06/1.538, allocations: 0 / 0.7273 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=129): time 0.03927/1.578, allocations: 9.647 MB / 0.7367 GB, free: 92.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/1.578, allocations: 173.1 kB / 0.7368 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006273/1.584, allocations: 3.3 MB / 0.7401 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000305/1.584, allocations: 43.98 kB / 0.7401 GB, free: 92.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.586, allocations: 2.701 MB / 0.7427 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007028/1.587, allocations: 0.5248 MB / 0.7433 GB, free: 90.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/1.588, allocations: 106.9 kB / 0.7434 GB, free: 90.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003056/1.588, allocations: 0.5309 MB / 0.7439 GB, free: 90.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/1.591, allocations: 1.644 MB / 0.7455 GB, free: 90.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00528/1.597, allocations: 5.06 MB / 0.7504 GB, free: 85.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005888/1.603, allocations: 2.872 MB / 0.7532 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.365e-05/1.603, allocations: 35.56 kB / 0.7533 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01607/1.619, allocations: 6.508 MB / 0.7596 GB, free: 85.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/1.619, allocations: 55.78 kB / 0.7597 GB, free: 85.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/1.619, allocations: 124.6 kB / 0.7598 GB, free: 85.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009497/1.62, allocations: 339.8 kB / 0.7601 GB, free: 85.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00785/1.628, allocations: 1.28 MB / 0.7614 GB, free: 85.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/1.631, allocations: 2.299 MB / 0.7636 GB, free: 83.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/1.637, allocations: 283 kB / 0.7639 GB, free: 83.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.639, allocations: 337.8 kB / 0.7642 GB, free: 83.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * Array equations: 3 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001462/1.64, allocations: 0.5243 MB / 0.7647 GB, free: 82.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/1.641, allocations: 310.2 kB / 0.765 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007694/1.649, allocations: 2.357 MB / 0.7673 GB, free: 82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-05/1.649, allocations: 15.84 kB / 0.7673 GB, free: 82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.649, allocations: 7.891 kB / 0.7673 GB, free: 82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/1.649, allocations: 13.69 kB / 0.7673 GB, free: 82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.668, allocations: 5.921 MB / 0.7731 GB, free: 79.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/1.668, allocations: 5.688 kB / 0.7731 GB, free: 79.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.669, allocations: 178.8 kB / 0.7733 GB, free: 79.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00387/1.673, allocations: 0.7192 MB / 0.774 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/1.674, allocations: 23.41 kB / 0.774 GB, free: 79.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008567/1.682, allocations: 4.443 MB / 0.7784 GB, free: 77.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.682, allocations: 0 / 0.7784 GB, free: 77.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.693, allocations: 4.43 MB / 0.7827 GB, free: 75.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/1.695, allocations: 0.5357 MB / 0.7832 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008263/1.696, allocations: 19.66 kB / 0.7832 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.698, allocations: 76.25 kB / 0.7833 GB, free: 75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/1.699, allocations: 64.48 kB / 0.7834 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.699, allocations: 35.94 kB / 0.7834 GB, free: 74.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005581/1.705, allocations: 2.293 MB / 0.7856 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.12e-07/1.705, allocations: 0 / 0.7856 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006152/1.711, allocations: 0.8304 MB / 0.7865 GB, free: 74.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006875/1.712, allocations: 159.2 kB / 0.7866 GB, free: 73.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008793/1.72, allocations: 3.956 MB / 0.7905 GB, free: 72.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.72, allocations: 4 kB / 0.7905 GB, free: 72.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/1.723, allocations: 1.091 MB / 0.7915 GB, free: 72.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/1.726, allocations: 355.8 kB / 0.7919 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.741, allocations: 6.3 MB / 0.798 GB, free: 66.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.745, allocations: 2.879 MB / 0.8008 GB, free: 64.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.746, allocations: 249.7 kB / 0.8011 GB, free: 64.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.763e-06/1.746, allocations: 0 / 0.8011 GB, free: 64.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.1105/1.857, allocations: 61.68 MB / 0.8613 GB, free: 9.777 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches