Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.5 MB / 230.7 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008532, allocations: 97.69 kB / 281.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1941/0.1941, allocations: 44.15 MB / 376.5 MB, free: 3.078 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.646e-05, allocations: 4.219 kB / 444.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 61.92 MB / 0.4947 GB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4731, allocations: 108.8 MB / 0.6009 GB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4735, allocations: 71.97 kB / 0.601 GB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1873/0.6608, allocations: 72.83 MB / 0.6721 GB, free: 10.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6608, allocations: 0 / 0.6721 GB, free: 10.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000125/0.661, allocations: 68 kB / 0.6722 GB, free: 10.24 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008955/0.6699, allocations: 3.389 MB / 0.6755 GB, free: 6.789 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.67, allocations: 11.98 kB / 0.6755 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008951/0.6789, allocations: 2.093 MB / 0.6775 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009173/0.6881, allocations: 3.921 MB / 0.6814 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.771e-05/0.6883, allocations: 115.9 kB / 0.6815 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005381/0.6888, allocations: 203.9 kB / 0.6817 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007444/0.6963, allocations: 5.124 MB / 0.6867 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.7083, allocations: 8.047 MB / 0.6945 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.7085, allocations: 59.45 kB / 0.6946 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.709, allocations: 32 kB / 0.6946 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/0.7102, allocations: 0.884 MB / 0.6955 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3021/1.012, allocations: 41.25 MB / 0.7358 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/1.015, allocations: 2.517 MB / 0.7382 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/1.017, allocations: 1.396 MB / 0.7396 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005297/1.017, allocations: 0.6448 MB / 0.7402 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.017, allocations: 56.38 kB / 0.7403 GB, free: 107 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=129): time 3.827e-06/1.017, allocations: 1.062 kB / 0.7403 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=138): time 0.02182/1.039, allocations: 12.21 MB / 0.7522 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/1.039, allocations: 200.2 kB / 0.7524 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/1.043, allocations: 2.801 MB / 0.7551 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/1.043, allocations: 29.58 kB / 0.7552 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.044, allocations: 2.791 MB / 0.7579 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/1.045, allocations: 0.5358 MB / 0.7584 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/1.045, allocations: 2.219 kB / 0.7584 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002287/1.045, allocations: 0.5389 MB / 0.7589 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/1.047, allocations: 1.604 MB / 0.7605 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/1.05, allocations: 5.143 MB / 0.7655 GB, free: 95.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/1.053, allocations: 2.874 MB / 0.7683 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-05/1.053, allocations: 42.41 kB / 0.7684 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.007906/1.061, allocations: 6.053 MB / 0.7743 GB, free: 93.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/1.061, allocations: 62.59 kB / 0.7743 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.33e-05/1.061, allocations: 133.3 kB / 0.7745 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/1.061, allocations: 342.9 kB / 0.7748 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/1.065, allocations: 1.335 MB / 0.7761 GB, free: 93.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/1.066, allocations: 2.221 MB / 0.7783 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/1.07, allocations: 189.7 kB / 0.7785 GB, free: 91.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/1.07, allocations: 346.7 kB / 0.7788 GB, free: 91.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * 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 (697): * Single equations (assignments): 693 * 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.0005048/1.07, allocations: 425.5 kB / 0.7792 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/1.071, allocations: 280.8 kB / 0.7795 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/1.075, allocations: 2.306 MB / 0.7817 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/1.075, allocations: 18.17 kB / 0.7817 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.075, allocations: 2.969 kB / 0.7817 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/1.075, allocations: 9.328 kB / 0.7817 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009969/1.085, allocations: 5.731 MB / 0.7873 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.085, allocations: 0 / 0.7873 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008214/1.086, allocations: 194.8 kB / 0.7875 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002022/1.088, allocations: 0.7009 MB / 0.7882 GB, free: 87.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/1.088, allocations: 10.36 kB / 0.7882 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004535/1.092, allocations: 4.283 MB / 0.7924 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.093, allocations: 3.625 kB / 0.7924 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/1.098, allocations: 4.478 MB / 0.7968 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/1.099, allocations: 334.6 kB / 0.7971 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.099, allocations: 3.469 kB / 0.7971 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.1, allocations: 56.61 kB / 0.7971 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.1, allocations: 74.34 kB / 0.7972 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/1.1, allocations: 41.02 kB / 0.7973 GB, free: 83.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00236/1.103, allocations: 1.857 MB / 0.7991 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/1.103, allocations: 0 / 0.7991 GB, free: 82.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004089/1.107, allocations: 0.7113 MB / 0.7998 GB, free: 82.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (104): * Single equations (assignments): 100 * 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.000323/1.107, allocations: 141 kB / 0.7999 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004731/1.112, allocations: 3.813 MB / 0.8036 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.112, allocations: 3.875 kB / 0.8036 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/1.113, allocations: 1.103 MB / 0.8047 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.114, allocations: 292.8 kB / 0.805 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/1.123, allocations: 5.91 MB / 0.8108 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/1.125, allocations: 2.869 MB / 0.8136 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003704/1.129, allocations: 1.728 MB / 0.8152 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/1.129, allocations: 202.2 kB / 0.8154 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.064e-06/1.129, allocations: 0 / 0.8154 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.04441/1.174, allocations: 25.63 MB / 0.8405 GB, free: 53.57 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches