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.002147/0.002147, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.844/2.844, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.001054/0.001055, allocations: 90.36 kB / 271.9 MB, free: 8.242 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.6417/0.6417, allocations: 43.56 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005621/0.0005622, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.164, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5229/0.687, allocations: 107.8 MB / 0.5852 GB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/0.6874, allocations: 79.95 kB / 0.5853 GB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2865/0.9739, allocations: 72.37 MB / 0.6559 GB, free: 1.684 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.929e-06/0.974, allocations: 4 kB / 0.656 GB, free: 1.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003299/0.9744, allocations: 64 kB / 0.656 GB, free: 1.617 MB / 474.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.01747/0.9918, allocations: 3.526 MB / 0.6595 GB, free: 14.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.132e-05/0.992, allocations: 12.03 kB / 0.6595 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/1.006, allocations: 2.055 MB / 0.6615 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/1.017, allocations: 3.028 MB / 0.6644 GB, free: 8.855 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005427/1.018, allocations: 263.3 kB / 0.6647 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002538/1.02, allocations: 360.2 kB / 0.665 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3721/1.393, allocations: 8.936 MB / 0.6738 GB, free: 93.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003808/1.393, allocations: 60.77 kB / 0.6738 GB, free: 93.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/1.395, allocations: 179.6 kB / 0.674 GB, free: 93.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002497/1.398, allocations: 0.8821 MB / 0.6748 GB, free: 93.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/1.42, allocations: 7.19 MB / 0.6819 GB, free: 93.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05918/1.479, allocations: 42.94 MB / 0.7238 GB, free: 65.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.49, allocations: 3.292 MB / 0.727 GB, free: 64.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/1.493, allocations: 1.448 MB / 0.7284 GB, free: 63.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/1.503, allocations: 4.42 MB / 0.7327 GB, free: 61.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/1.504, allocations: 44.92 kB / 0.7328 GB, free: 61.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 8.506e-06/1.504, allocations: 0 / 0.7328 GB, free: 61.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.04854/1.552, allocations: 11.42 MB / 0.7439 GB, free: 56.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/1.552, allocations: 169.9 kB / 0.7441 GB, free: 56.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/1.566, allocations: 3.733 MB / 0.7477 GB, free: 55.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004216/1.566, allocations: 45.67 kB / 0.7478 GB, free: 55.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003325/1.57, allocations: 2.751 MB / 0.7505 GB, free: 53.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001129/1.571, allocations: 0.5304 MB / 0.751 GB, free: 52.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009271/1.572, allocations: 105.7 kB / 0.7511 GB, free: 52.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008616/1.573, allocations: 0.5363 MB / 0.7516 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004378/1.577, allocations: 1.684 MB / 0.7533 GB, free: 51.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006861/1.584, allocations: 5.114 MB / 0.7583 GB, free: 46.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.595, allocations: 7.393 MB / 0.7655 GB, free: 39.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000214/1.595, allocations: 34.62 kB / 0.7655 GB, free: 39.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0185/1.613, allocations: 6.669 MB / 0.772 GB, free: 37.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002249/1.614, allocations: 61.12 kB / 0.7721 GB, free: 37.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002934/1.614, allocations: 120.8 kB / 0.7722 GB, free: 37.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/1.615, allocations: 324.9 kB / 0.7725 GB, free: 37.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/1.621, allocations: 1.29 MB / 0.7738 GB, free: 37.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/1.624, allocations: 2.302 MB / 0.776 GB, free: 35.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007161/1.632, allocations: 286.4 kB / 0.7763 GB, free: 35.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.633, allocations: 333.3 kB / 0.7766 GB, free: 35.37 MB / 490.7 MB 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 () * Number of clocked 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.005964/1.639, allocations: 1.803 MB / 0.7784 GB, free: 34.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.641, allocations: 309.2 kB / 0.7787 GB, free: 34.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007481/1.648, allocations: 2.356 MB / 0.781 GB, free: 33.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.351e-05/1.648, allocations: 17.81 kB / 0.781 GB, free: 33.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/1.648, allocations: 11.88 kB / 0.781 GB, free: 33.53 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/1.648, allocations: 3.375 kB / 0.781 GB, free: 33.53 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.67, allocations: 5.946 MB / 0.7868 GB, free: 31.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.698e-05/1.67, allocations: 0 / 0.7868 GB, free: 31.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.671, allocations: 180 kB / 0.787 GB, free: 31.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/1.675, allocations: 0.7067 MB / 0.7877 GB, free: 31.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/1.675, allocations: 24.91 kB / 0.7877 GB, free: 31.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007819/1.683, allocations: 4.449 MB / 0.792 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.683, allocations: 7.875 kB / 0.792 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009868/1.693, allocations: 4.338 MB / 0.7963 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.696, allocations: 0.5436 MB / 0.7968 GB, free: 26.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/1.697, allocations: 22.5 kB / 0.7968 GB, free: 26.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.7, allocations: 66.73 kB / 0.7969 GB, free: 26.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/1.7, allocations: 66.62 kB / 0.797 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/1.7, allocations: 37.12 kB / 0.797 GB, free: 26.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006722/1.707, allocations: 2.325 MB / 0.7993 GB, free: 25.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.707, allocations: 0 / 0.7993 GB, free: 25.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008388/1.715, allocations: 0.8342 MB / 0.8001 GB, free: 25.65 MB / 490.7 MB 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 () * Number of clocked 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.0007483/1.716, allocations: 160.2 kB / 0.8002 GB, free: 25.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009562/1.726, allocations: 4.005 MB / 0.8041 GB, free: 24.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.726, allocations: 4 kB / 0.8041 GB, free: 24.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002495/1.728, allocations: 1.101 MB / 0.8052 GB, free: 23.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006379/1.735, allocations: 368.4 kB / 0.8056 GB, free: 23.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/1.76, allocations: 9.035 MB / 0.8144 GB, free: 15.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006967/1.767, allocations: 2.797 MB / 0.8171 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.769, allocations: 249.9 kB / 0.8174 GB, free: 13.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/1.769, allocations: 0 / 0.8174 GB, free: 13.13 MB / 490.7 MB Notification: Performance of Templates: time 0.4981/2.267, allocations: 63.49 MB / 0.8794 GB, free: 117.1 MB / 0.5105 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