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.001107/0.001107, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009085/0.0009084, allocations: 94.75 kB / 292.2 MB, free: 10.92 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.331/0.331, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002888, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3957, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5285, allocations: 109.5 MB / 0.6165 GB, free: 1.555 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5288, allocations: 79.95 kB / 0.6166 GB, free: 1.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4606/0.9894, allocations: 74.19 MB / 0.6891 GB, free: 97.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.9894, allocations: 2.812 kB / 0.6891 GB, free: 97.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.9896, allocations: 70.31 kB / 0.6891 GB, free: 97.57 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.01029/0.9999, allocations: 3.602 MB / 0.6926 GB, free: 96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9999, allocations: 9 kB / 0.6927 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009008/1.009, allocations: 2.081 MB / 0.6947 GB, free: 95.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/1.02, allocations: 3.961 MB / 0.6986 GB, free: 95.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/1.02, allocations: 267.5 kB / 0.6988 GB, free: 95.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/1.022, allocations: 358.2 kB / 0.6992 GB, free: 95.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/1.039, allocations: 8.986 MB / 0.7079 GB, free: 92.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002567/1.039, allocations: 61.28 kB / 0.708 GB, free: 92.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008361/1.04, allocations: 174.4 kB / 0.7082 GB, free: 92.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/1.042, allocations: 0.8874 MB / 0.709 GB, free: 92.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/1.058, allocations: 7.271 MB / 0.7161 GB, free: 91.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0461/1.104, allocations: 42.94 MB / 0.7581 GB, free: 58.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007/1.112, allocations: 3.308 MB / 0.7613 GB, free: 56.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00851/1.12, allocations: 4.43 MB / 0.7656 GB, free: 53.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/1.12, allocations: 42.5 kB / 0.7656 GB, free: 53.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 5.66e-06/1.12, allocations: 0 / 0.7656 GB, free: 53.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02871/1.149, allocations: 11.62 MB / 0.777 GB, free: 48.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.971e-05/1.149, allocations: 173.8 kB / 0.7772 GB, free: 48.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008425/1.158, allocations: 3.32 MB / 0.7804 GB, free: 47.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004329/1.158, allocations: 44.67 kB / 0.7804 GB, free: 47.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/1.16, allocations: 2.755 MB / 0.7831 GB, free: 45.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009988/1.161, allocations: 0.5203 MB / 0.7836 GB, free: 44.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007104/1.162, allocations: 105.8 kB / 0.7837 GB, free: 44.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005766/1.163, allocations: 0.5256 MB / 0.7843 GB, free: 44.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002994/1.166, allocations: 1.685 MB / 0.7859 GB, free: 43.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004377/1.17, allocations: 5.092 MB / 0.7909 GB, free: 38.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004122/1.174, allocations: 2.877 MB / 0.7937 GB, free: 37.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001981/1.174, allocations: 35.97 kB / 0.7937 GB, free: 37.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01304/1.187, allocations: 6.672 MB / 0.8002 GB, free: 32.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/1.188, allocations: 65.52 kB / 0.8003 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/1.188, allocations: 120 kB / 0.8004 GB, free: 32.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/1.189, allocations: 339.8 kB / 0.8007 GB, free: 32.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/1.193, allocations: 1.279 MB / 0.802 GB, free: 31.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.195, allocations: 2.343 MB / 0.8043 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004552/1.2, allocations: 287 kB / 0.8045 GB, free: 28.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009713/1.201, allocations: 335.2 kB / 0.8049 GB, free: 28.31 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.003993/1.205, allocations: 1.787 MB / 0.8066 GB, free: 26.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007863/1.205, allocations: 308 kB / 0.8069 GB, free: 26.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/1.21, allocations: 2.36 MB / 0.8092 GB, free: 24.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.21, allocations: 19.78 kB / 0.8092 GB, free: 24.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.211, allocations: 4 kB / 0.8092 GB, free: 24.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.211, allocations: 15.77 kB / 0.8092 GB, free: 24.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.225, allocations: 5.937 MB / 0.815 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/1.225, allocations: 3.938 kB / 0.815 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/1.226, allocations: 171.6 kB / 0.8152 GB, free: 19.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/1.228, allocations: 0.7098 MB / 0.8159 GB, free: 19.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/1.228, allocations: 27.91 kB / 0.8159 GB, free: 19.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004838/1.233, allocations: 4.56 MB / 0.8204 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.233, allocations: 4 kB / 0.8204 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/1.239, allocations: 4.45 MB / 0.8247 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.24, allocations: 379 kB / 0.8251 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008473/1.241, allocations: 16 kB / 0.8251 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.242, allocations: 76.05 kB / 0.8252 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.243, allocations: 69.61 kB / 0.8252 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-05/1.243, allocations: 28 kB / 0.8253 GB, free: 10.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00451/1.247, allocations: 2.317 MB / 0.8275 GB, free: 8.863 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.247, allocations: 0 / 0.8275 GB, free: 8.863 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005643/1.253, allocations: 0.8239 MB / 0.8283 GB, free: 8.043 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.0005357/1.253, allocations: 162.5 kB / 0.8285 GB, free: 7.879 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006163/1.26, allocations: 4.01 MB / 0.8324 GB, free: 4.285 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.26, allocations: 3.938 kB / 0.8324 GB, free: 4.281 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.261, allocations: 1.096 MB / 0.8335 GB, free: 3.176 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.264, allocations: 358.2 kB / 0.8338 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.281, allocations: 8.586 MB / 0.8422 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005655/1.287, allocations: 2.859 MB / 0.845 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005731/1.292, allocations: 1.656 MB / 0.8466 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/1.293, allocations: 207.4 kB / 0.8468 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of SimCode: time 1.643e-06/1.293, allocations: 0 / 0.8468 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of Templates: time 0.06421/1.358, allocations: 29.14 MB / 0.8753 GB, free: 8.836 MB / 0.5261 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