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.002265/0.002264, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 105.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2909/0.2909, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.105e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4119, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.6179, allocations: 106.9 MB / 0.5703 GB, free: 8.391 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.6183, allocations: 79.47 kB / 0.5704 GB, free: 8.316 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6639/1.282, allocations: 71.91 MB / 0.6406 GB, free: 110.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.996e-06/1.282, allocations: 0.5312 kB / 0.6406 GB, free: 110.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003636/1.283, allocations: 64.81 kB / 0.6406 GB, free: 110.3 MB / 475.1 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.01307/1.296, allocations: 3.392 MB / 0.644 GB, free: 109.6 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.296, allocations: 9.406 kB / 0.644 GB, free: 109.6 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/1.313, allocations: 2.09 MB / 0.646 GB, free: 109.4 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.33, allocations: 4.087 MB / 0.65 GB, free: 109 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/1.33, allocations: 111.7 kB / 0.6501 GB, free: 109 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001954/1.332, allocations: 200.5 kB / 0.6503 GB, free: 109 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01437/1.347, allocations: 5.119 MB / 0.6553 GB, free: 109 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/1.368, allocations: 8.054 MB / 0.6632 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002308/1.368, allocations: 56.16 kB / 0.6632 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000971/1.369, allocations: 33.14 kB / 0.6632 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002015/1.371, allocations: 0.8872 MB / 0.6641 GB, free: 106.4 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05508/1.426, allocations: 41.28 MB / 0.7044 GB, free: 76.14 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/1.43, allocations: 2.519 MB / 0.7069 GB, free: 74.7 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/1.433, allocations: 1.389 MB / 0.7082 GB, free: 74.11 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009284/1.434, allocations: 0.6528 MB / 0.7089 GB, free: 73.51 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.094e-05/1.434, allocations: 52.95 kB / 0.7089 GB, free: 73.46 MB / 475.1 MB Notification: Performance of pre-optimization done (n=129): time 5.651e-06/1.434, allocations: 0 / 0.7089 GB, free: 73.46 MB / 475.1 MB Notification: Performance of matching and sorting (n=138): time 0.0353/1.47, allocations: 12.27 MB / 0.7209 GB, free: 67.95 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/1.47, allocations: 205.8 kB / 0.7211 GB, free: 67.72 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005033/1.475, allocations: 2.811 MB / 0.7239 GB, free: 66.61 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/1.475, allocations: 25.7 kB / 0.7239 GB, free: 66.57 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.477, allocations: 2.786 MB / 0.7266 GB, free: 64.33 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008208/1.478, allocations: 0.542 MB / 0.7271 GB, free: 63.95 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/1.478, allocations: 0 / 0.7271 GB, free: 63.95 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003266/1.479, allocations: 0.5458 MB / 0.7277 GB, free: 63.54 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/1.482, allocations: 1.607 MB / 0.7292 GB, free: 62.98 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005875/1.488, allocations: 5.145 MB / 0.7343 GB, free: 57.46 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00608/1.494, allocations: 2.857 MB / 0.737 GB, free: 56.39 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.494, allocations: 33.78 kB / 0.7371 GB, free: 56.39 MB / 475.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.016/1.51, allocations: 5.984 MB / 0.7429 GB, free: 52.01 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.581e-05/1.511, allocations: 60 kB / 0.743 GB, free: 51.95 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/1.511, allocations: 128 kB / 0.7431 GB, free: 51.83 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009632/1.512, allocations: 350.9 kB / 0.7434 GB, free: 51.53 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008298/1.52, allocations: 1.341 MB / 0.7447 GB, free: 50.36 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/1.523, allocations: 2.208 MB / 0.7469 GB, free: 48.22 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/1.529, allocations: 189.1 kB / 0.7471 GB, free: 48.06 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.53, allocations: 343.8 kB / 0.7474 GB, free: 47.73 MB / 475.1 MB 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.001071/1.531, allocations: 436.1 kB / 0.7478 GB, free: 47.3 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007348/1.532, allocations: 291.7 kB / 0.7481 GB, free: 47.02 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007102/1.539, allocations: 2.297 MB / 0.7503 GB, free: 45.23 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/1.539, allocations: 12 kB / 0.7504 GB, free: 45.22 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.539, allocations: 4 kB / 0.7504 GB, free: 45.21 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/1.539, allocations: 11.55 kB / 0.7504 GB, free: 45.21 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.557, allocations: 5.736 MB / 0.756 GB, free: 40.63 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/1.557, allocations: 4.094 kB / 0.756 GB, free: 40.62 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.559, allocations: 185 kB / 0.7562 GB, free: 40.47 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003767/1.562, allocations: 0.7087 MB / 0.7568 GB, free: 40.01 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/1.563, allocations: 4 kB / 0.7569 GB, free: 40.01 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007936/1.571, allocations: 4.286 MB / 0.761 GB, free: 36.16 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/1.571, allocations: 4.031 kB / 0.761 GB, free: 36.15 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.581, allocations: 4.463 MB / 0.7654 GB, free: 32.28 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001883/1.583, allocations: 0.5069 MB / 0.7659 GB, free: 31.78 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006118/1.584, allocations: 15.22 kB / 0.7659 GB, free: 31.77 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.586, allocations: 57.47 kB / 0.766 GB, free: 31.74 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/1.586, allocations: 72.23 kB / 0.766 GB, free: 31.69 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.586, allocations: 36.11 kB / 0.7661 GB, free: 31.66 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.004448/1.591, allocations: 1.874 MB / 0.7679 GB, free: 30.03 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.591, allocations: 0 / 0.7679 GB, free: 30.03 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.006624/1.597, allocations: 0.7108 MB / 0.7686 GB, free: 29.32 MB / 475.1 MB 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.0007134/1.598, allocations: 144.7 kB / 0.7687 GB, free: 29.18 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.008386/1.607, allocations: 3.814 MB / 0.7725 GB, free: 25.73 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.607, allocations: 0 / 0.7725 GB, free: 25.73 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/1.609, allocations: 1.104 MB / 0.7735 GB, free: 24.71 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.612, allocations: 296.1 kB / 0.7738 GB, free: 24.46 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.629, allocations: 6.31 MB / 0.78 GB, free: 18.84 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005799/1.635, allocations: 2.872 MB / 0.7828 GB, free: 16 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.637, allocations: 243.4 kB / 0.783 GB, free: 15.76 MB / 475.1 MB Notification: Performance of SimCode: time 1.272e-06/1.637, allocations: 0 / 0.783 GB, free: 15.76 MB / 475.1 MB Notification: Performance of Templates: time 0.4755/2.112, allocations: 59.95 MB / 0.8416 GB, free: 124.7 MB / 0.4952 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