Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009815/0.0009819, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008244/0.0008243, allocations: 92.03 kB / 261.8 MB, free: 1.676 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.1989/0.1989, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.733e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5477, allocations: 101.6 MB / 0.5652 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.548, allocations: 78.88 kB / 0.5652 GB, free: 9.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2137/0.7617, allocations: 85.02 MB / 0.6483 GB, free: 12.94 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7617, allocations: 0 / 0.6483 GB, free: 12.94 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001448/0.7619, allocations: 68 kB / 0.6483 GB, free: 12.87 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01085/0.7728, allocations: 3.67 MB / 0.6519 GB, free: 9.137 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.7728, allocations: 8.031 kB / 0.6519 GB, free: 9.129 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.7881, allocations: 3.508 MB / 0.6554 GB, free: 5.609 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.8006, allocations: 4.167 MB / 0.6594 GB, free: 1.391 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.8009, allocations: 124 kB / 0.6595 GB, free: 1.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/0.8026, allocations: 228 kB / 0.6598 GB, free: 1.047 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01291/0.8155, allocations: 7.263 MB / 0.6669 GB, free: 9.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.8319, allocations: 9.492 MB / 0.6761 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.842e-05/0.8321, allocations: 27.7 kB / 0.6761 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.8325, allocations: 19.98 kB / 0.6762 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001702/0.8342, allocations: 1.211 MB / 0.6774 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3443/1.179, allocations: 33.06 MB / 0.7096 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/1.183, allocations: 4.172 MB / 0.7137 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002677/1.186, allocations: 2.236 MB / 0.7159 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.187, allocations: 1.884 MB / 0.7177 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.188, allocations: 55.28 kB / 0.7178 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=231): time 5.099e-06/1.188, allocations: 0 / 0.7178 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=238): time 0.02387/1.211, allocations: 14.03 MB / 0.7315 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.211, allocations: 72.81 kB / 0.7316 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/1.215, allocations: 2.266 MB / 0.7338 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/1.215, allocations: 25.7 kB / 0.7338 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.216, allocations: 2.802 MB / 0.7365 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006811/1.217, allocations: 0.8407 MB / 0.7374 GB, free: 112 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/1.217, allocations: 3.25 kB / 0.7374 GB, free: 112 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003078/1.217, allocations: 0.5995 MB / 0.7379 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/1.22, allocations: 2.129 MB / 0.74 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/1.223, allocations: 5.274 MB / 0.7452 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/1.227, allocations: 3.37 MB / 0.7485 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-05/1.227, allocations: 32.16 kB / 0.7485 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.01237/1.239, allocations: 7.458 MB / 0.7558 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-05/1.24, allocations: 56.88 kB / 0.7558 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001696/1.24, allocations: 117.7 kB / 0.7559 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/1.242, allocations: 0.8147 MB / 0.7567 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003758/1.246, allocations: 1.292 MB / 0.758 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/1.25, allocations: 3.97 MB / 0.7619 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.253, allocations: 199.8 kB / 0.7621 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/1.253, allocations: 333.5 kB / 0.7624 GB, free: 103.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (687): * Single equations (assignments): 680 * 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,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006207/1.254, allocations: 390.2 kB / 0.7628 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/1.254, allocations: 273 kB / 0.763 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006456/1.26, allocations: 4.553 MB / 0.7675 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/1.261, allocations: 44.66 kB / 0.7675 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.261, allocations: 3.812 kB / 0.7675 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.261, allocations: 12.92 kB / 0.7675 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/1.275, allocations: 9.574 MB / 0.7769 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/1.275, allocations: 7.438 kB / 0.7769 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.277, allocations: 370.6 kB / 0.7772 GB, free: 98.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/1.279, allocations: 0.6449 MB / 0.7779 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.279, allocations: 22.5 kB / 0.7779 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/1.283, allocations: 3.455 MB / 0.7813 GB, free: 95.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.283, allocations: 11.62 kB / 0.7813 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008381/1.291, allocations: 7.592 MB / 0.7887 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.293, allocations: 0.6415 MB / 0.7893 GB, free: 88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003979/1.293, allocations: 11.94 kB / 0.7893 GB, free: 87.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.294, allocations: 104 kB / 0.7894 GB, free: 87.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.294, allocations: 140.7 kB / 0.7896 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.295, allocations: 71.14 kB / 0.7896 GB, free: 87.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002073/1.297, allocations: 1.479 MB / 0.7911 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.297, allocations: 0 / 0.7911 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004803/1.301, allocations: 0.8297 MB / 0.7919 GB, free: 85.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 174 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004618/1.302, allocations: 153.9 kB / 0.792 GB, free: 85.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006881/1.309, allocations: 5.191 MB / 0.7971 GB, free: 80.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.309, allocations: 8.312 kB / 0.7971 GB, free: 80.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.311, allocations: 1.954 MB / 0.799 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.313, allocations: 215.8 kB / 0.7992 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/1.326, allocations: 8.001 MB / 0.807 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/1.329, allocations: 3.315 MB / 0.8103 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004458/1.333, allocations: 2.081 MB / 0.8123 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/1.334, allocations: 198.5 kB / 0.8125 GB, free: 67.67 MB / 0.4948 GB Notification: Performance of SimCode: time 2.244e-06/1.334, allocations: 4 kB / 0.8125 GB, free: 67.67 MB / 0.4948 GB Notification: Performance of Templates: time 0.04324/1.377, allocations: 25.67 MB / 0.8376 GB, free: 47.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches