Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001009, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008408/0.0008407, allocations: 88.95 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1794/0.1794, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.959e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 63.25 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.475, allocations: 110.4 MB / 0.6191 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.4753, allocations: 74.02 kB / 0.6192 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1842/0.6596, allocations: 75 MB / 0.6925 GB, free: 12.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6596, allocations: 0 / 0.6925 GB, free: 12.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001846/0.6598, allocations: 68 kB / 0.6925 GB, free: 12.7 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.009538/0.6694, allocations: 3.416 MB / 0.6959 GB, free: 9.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6694, allocations: 11.97 kB / 0.6959 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009237/0.6787, allocations: 2.085 MB / 0.6979 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00892/0.6876, allocations: 3.421 MB / 0.7013 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.6879, allocations: 262.9 kB / 0.7015 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.6893, allocations: 351.8 kB / 0.7018 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.7077, allocations: 8.93 MB / 0.7106 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/0.7079, allocations: 63.36 kB / 0.7106 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00094/0.7088, allocations: 179.8 kB / 0.7108 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/0.7101, allocations: 0.88 MB / 0.7117 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/0.7237, allocations: 7.173 MB / 0.7187 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3119/1.036, allocations: 42.93 MB / 0.7606 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/1.043, allocations: 3.281 MB / 0.7638 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/1.045, allocations: 1.436 MB / 0.7652 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006631/1.051, allocations: 4.439 MB / 0.7695 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.051, allocations: 47.59 kB / 0.7696 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=121): time 5.921e-06/1.051, allocations: 0 / 0.7696 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129): time 0.02215/1.074, allocations: 9.593 MB / 0.7789 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.074, allocations: 169.2 kB / 0.7791 GB, free: 104 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/1.077, allocations: 3.291 MB / 0.7823 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/1.078, allocations: 43.31 kB / 0.7824 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.079, allocations: 2.751 MB / 0.785 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/1.079, allocations: 0.5229 MB / 0.7855 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.079, allocations: 105.9 kB / 0.7856 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.079, allocations: 0.5381 MB / 0.7862 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/1.081, allocations: 1.643 MB / 0.7878 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/1.084, allocations: 5.056 MB / 0.7927 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002905/1.087, allocations: 2.881 MB / 0.7955 GB, free: 97.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.361e-05/1.087, allocations: 34.5 kB / 0.7956 GB, free: 97.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.008061/1.095, allocations: 6.607 MB / 0.802 GB, free: 96.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/1.095, allocations: 54.12 kB / 0.8021 GB, free: 96.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.502e-05/1.095, allocations: 124 kB / 0.8022 GB, free: 96.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/1.096, allocations: 329.8 kB / 0.8025 GB, free: 96.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/1.099, allocations: 1.292 MB / 0.8038 GB, free: 96.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/1.101, allocations: 2.292 MB / 0.806 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.104, allocations: 288.2 kB / 0.8063 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/1.104, allocations: 337.7 kB / 0.8066 GB, free: 94.8 MB / 0.5261 GB 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 () * 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.000496/1.105, allocations: 0.5193 MB / 0.8071 GB, free: 94.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/1.105, allocations: 320.5 kB / 0.8074 GB, free: 94.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/1.109, allocations: 2.347 MB / 0.8097 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/1.109, allocations: 14.02 kB / 0.8097 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.109, allocations: 3.781 kB / 0.8097 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.109, allocations: 11.88 kB / 0.8097 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/1.118, allocations: 5.936 MB / 0.8155 GB, free: 91.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.118, allocations: 0 / 0.8155 GB, free: 91.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007181/1.119, allocations: 175.9 kB / 0.8157 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/1.121, allocations: 0.7089 MB / 0.8164 GB, free: 91.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.079e-05/1.121, allocations: 23.97 kB / 0.8164 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004341/1.125, allocations: 4.445 MB / 0.8207 GB, free: 88.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.125, allocations: 2.312 kB / 0.8208 GB, free: 88.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/1.131, allocations: 4.424 MB / 0.8251 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007758/1.132, allocations: 369.6 kB / 0.8254 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/1.132, allocations: 27.06 kB / 0.8254 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.133, allocations: 72.58 kB / 0.8255 GB, free: 86.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.133, allocations: 72.12 kB / 0.8256 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/1.133, allocations: 33.14 kB / 0.8256 GB, free: 86.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002767/1.136, allocations: 2.282 MB / 0.8278 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/1.136, allocations: 0.875 kB / 0.8278 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003419/1.139, allocations: 0.8338 MB / 0.8287 GB, free: 85.57 MB / 0.5261 GB 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 () * 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.0002969/1.14, allocations: 163 kB / 0.8288 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004374/1.144, allocations: 3.961 MB / 0.8327 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.144, allocations: 0 / 0.8327 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.145, allocations: 1.091 MB / 0.8338 GB, free: 83.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.146, allocations: 356.1 kB / 0.8341 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007548/1.154, allocations: 5.907 MB / 0.8399 GB, free: 79.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/1.156, allocations: 2.862 MB / 0.8427 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003407/1.159, allocations: 1.663 MB / 0.8443 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004649/1.16, allocations: 206.8 kB / 0.8445 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/1.16, allocations: 0 / 0.8445 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.04054/1.201, allocations: 29.14 MB / 0.8729 GB, free: 54.97 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches