Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0015/0.001505, allocations: 176.5 kB / 16.77 MB, free: 5.047 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.376/1.376, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000714/0.0007139, allocations: 81 kB / 271.3 MB, free: 8.254 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.3852/0.3852, allocations: 43.55 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.114, allocations: 58.86 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3534/0.4675, allocations: 107.8 MB / 0.5852 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4678, allocations: 81.03 kB / 0.5853 GB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.19/0.6578, allocations: 72.37 MB / 0.656 GB, free: 1.285 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6578, allocations: 0 / 0.656 GB, free: 1.285 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002002/0.658, allocations: 71.98 kB / 0.656 GB, free: 1.215 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.009981/0.668, allocations: 3.522 MB / 0.6595 GB, free: 13.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6681, allocations: 11.97 kB / 0.6595 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008866/0.677, allocations: 2.055 MB / 0.6615 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006586/0.6836, allocations: 3.036 MB / 0.6645 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.6839, allocations: 267.3 kB / 0.6647 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.6855, allocations: 356.2 kB / 0.6651 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2449/0.9304, allocations: 8.941 MB / 0.6738 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.9307, allocations: 58.28 kB / 0.6738 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005211/0.9312, allocations: 175.4 kB / 0.674 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001361/0.9326, allocations: 0.8827 MB / 0.6749 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.9451, allocations: 7.202 MB / 0.6819 GB, free: 93.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.9834, allocations: 42.93 MB / 0.7238 GB, free: 66.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006562/0.99, allocations: 3.292 MB / 0.727 GB, free: 65.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.9917, allocations: 1.449 MB / 0.7285 GB, free: 64.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006204/0.9979, allocations: 4.414 MB / 0.7328 GB, free: 62.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.998, allocations: 50.11 kB / 0.7328 GB, free: 61.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 4.859e-06/0.998, allocations: 0 / 0.7328 GB, free: 61.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02891/1.027, allocations: 11.42 MB / 0.744 GB, free: 57.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/1.027, allocations: 165.6 kB / 0.7441 GB, free: 57.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006331/1.033, allocations: 3.739 MB / 0.7478 GB, free: 56.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002745/1.034, allocations: 41.36 kB / 0.7478 GB, free: 56.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.035, allocations: 2.758 MB / 0.7505 GB, free: 53.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000605/1.036, allocations: 0.5241 MB / 0.751 GB, free: 53.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.036, allocations: 107.2 kB / 0.7511 GB, free: 53.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002248/1.036, allocations: 0.5352 MB / 0.7516 GB, free: 53.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/1.039, allocations: 1.677 MB / 0.7533 GB, free: 52.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/1.042, allocations: 5.117 MB / 0.7583 GB, free: 47.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006765/1.049, allocations: 7.392 MB / 0.7655 GB, free: 40.76 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.049, allocations: 33.59 kB / 0.7655 GB, free: 40.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01159/1.06, allocations: 6.674 MB / 0.772 GB, free: 38.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/1.06, allocations: 60.84 kB / 0.7721 GB, free: 38.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.061, allocations: 124.2 kB / 0.7722 GB, free: 38.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/1.061, allocations: 320.6 kB / 0.7725 GB, free: 38.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/1.065, allocations: 1.288 MB / 0.7738 GB, free: 37.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/1.067, allocations: 2.304 MB / 0.776 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/1.072, allocations: 283.6 kB / 0.7763 GB, free: 36.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008454/1.073, allocations: 343.7 kB / 0.7766 GB, free: 36.15 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.003943/1.077, allocations: 1.79 MB / 0.7784 GB, free: 35.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.078, allocations: 309.1 kB / 0.7787 GB, free: 35.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004828/1.083, allocations: 2.37 MB / 0.781 GB, free: 34.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.491e-05/1.083, allocations: 13.44 kB / 0.781 GB, free: 34.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.083, allocations: 7.469 kB / 0.781 GB, free: 34.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/1.083, allocations: 11.41 kB / 0.781 GB, free: 34.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.095, allocations: 5.953 MB / 0.7868 GB, free: 32.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.095, allocations: 0 / 0.7868 GB, free: 32.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/1.096, allocations: 169.9 kB / 0.787 GB, free: 32.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/1.098, allocations: 0.711 MB / 0.7877 GB, free: 32.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.098, allocations: 19.75 kB / 0.7877 GB, free: 32.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004697/1.103, allocations: 4.451 MB / 0.7921 GB, free: 29.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.103, allocations: 7.625 kB / 0.7921 GB, free: 29.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006177/1.109, allocations: 4.327 MB / 0.7963 GB, free: 27.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.111, allocations: 0.5376 MB / 0.7968 GB, free: 27.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/1.111, allocations: 18.59 kB / 0.7968 GB, free: 27.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.112, allocations: 74.67 kB / 0.7969 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.112, allocations: 74.95 kB / 0.797 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/1.112, allocations: 37.84 kB / 0.797 GB, free: 27.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003177/1.116, allocations: 2.327 MB / 0.7993 GB, free: 26.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/1.116, allocations: 0 / 0.7993 GB, free: 26.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004488/1.12, allocations: 0.8226 MB / 0.8001 GB, free: 26.43 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.000391/1.12, allocations: 164.5 kB / 0.8002 GB, free: 26.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005448/1.126, allocations: 4.006 MB / 0.8042 GB, free: 24.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.126, allocations: 0 / 0.8042 GB, free: 24.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/1.127, allocations: 1.108 MB / 0.8052 GB, free: 24.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.13, allocations: 367.6 kB / 0.8056 GB, free: 24.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/1.144, allocations: 8.634 MB / 0.814 GB, free: 16.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.147, allocations: 2.797 MB / 0.8168 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004075/1.151, allocations: 1.665 MB / 0.8184 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/1.152, allocations: 207 kB / 0.8186 GB, free: 13.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/1.152, allocations: 0 / 0.8186 GB, free: 13.25 MB / 490.7 MB Notification: Performance of Templates: time 0.05582/1.207, allocations: 29.21 MB / 0.8471 GB, free: 5.211 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches