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.0009175/0.0009175, allocations: 178.6 kB / 14.15 MB, free: 1.168 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.225/1.225, allocations: 221.3 MB / 236 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 91.55 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1709/0.1709, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.627e-05, allocations: 224 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.4956, allocations: 109.5 MB / 0.6086 GB, free: 11.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4959, allocations: 75.34 kB / 0.6087 GB, free: 11.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1828/0.6787, allocations: 74.24 MB / 0.6812 GB, free: 1.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6787, allocations: 0 / 0.6812 GB, free: 1.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.6788, allocations: 64 kB / 0.6812 GB, free: 0.957 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.006692/0.6855, allocations: 3.396 MB / 0.6845 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6856, allocations: 12.03 kB / 0.6846 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008645/0.6942, allocations: 2.085 MB / 0.6866 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.7044, allocations: 3.936 MB / 0.6904 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.7046, allocations: 270.8 kB / 0.6907 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009408/0.7056, allocations: 351.8 kB / 0.691 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.7195, allocations: 8.926 MB / 0.6997 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.7196, allocations: 55.41 kB / 0.6998 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/0.7201, allocations: 179.9 kB / 0.7 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001047/0.7211, allocations: 0.8801 MB / 0.7008 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.7333, allocations: 7.173 MB / 0.7078 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.313/1.046, allocations: 42.94 MB / 0.7498 GB, free: 99.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007765/1.054, allocations: 3.275 MB / 0.753 GB, free: 98.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/1.057, allocations: 1.443 MB / 0.7544 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007459/1.064, allocations: 4.427 MB / 0.7587 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/1.064, allocations: 49.16 kB / 0.7587 GB, free: 96.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 4.669e-06/1.064, allocations: 0 / 0.7587 GB, free: 96.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.02215/1.086, allocations: 9.599 MB / 0.7681 GB, free: 94.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/1.086, allocations: 166.3 kB / 0.7683 GB, free: 94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004516/1.091, allocations: 3.296 MB / 0.7715 GB, free: 93.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/1.091, allocations: 45.05 kB / 0.7715 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.093, allocations: 2.754 MB / 0.7742 GB, free: 91.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/1.094, allocations: 0.5278 MB / 0.7747 GB, free: 91.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/1.094, allocations: 104.3 kB / 0.7748 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002481/1.094, allocations: 0.527 MB / 0.7754 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/1.096, allocations: 1.645 MB / 0.777 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003173/1.099, allocations: 5.061 MB / 0.7819 GB, free: 85.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/1.103, allocations: 2.871 MB / 0.7847 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.757e-05/1.103, allocations: 36.19 kB / 0.7847 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.009164/1.112, allocations: 6.608 MB / 0.7912 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/1.112, allocations: 54.84 kB / 0.7913 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/1.112, allocations: 125.5 kB / 0.7914 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005574/1.113, allocations: 332.9 kB / 0.7917 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/1.117, allocations: 1.29 MB / 0.793 GB, free: 81.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.119, allocations: 2.296 MB / 0.7952 GB, free: 80.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/1.123, allocations: 288.8 kB / 0.7955 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006563/1.124, allocations: 335.7 kB / 0.7958 GB, free: 80.08 MB / 0.5105 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.0006421/1.124, allocations: 0.5176 MB / 0.7963 GB, free: 79.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/1.125, allocations: 310.7 kB / 0.7966 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004103/1.129, allocations: 2.357 MB / 0.7989 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/1.129, allocations: 13.28 kB / 0.7989 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.129, allocations: 3.844 kB / 0.7989 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.129, allocations: 11.12 kB / 0.7989 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009955/1.139, allocations: 5.934 MB / 0.8047 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.139, allocations: 7.75 kB / 0.8047 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/1.14, allocations: 164.6 kB / 0.8049 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/1.142, allocations: 0.718 MB / 0.8056 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/1.142, allocations: 19.97 kB / 0.8056 GB, free: 76.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004608/1.147, allocations: 4.431 MB / 0.8099 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.147, allocations: 11.53 kB / 0.8099 GB, free: 73.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/1.152, allocations: 4.417 MB / 0.8143 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.154, allocations: 378.7 kB / 0.8146 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/1.154, allocations: 21.22 kB / 0.8146 GB, free: 71.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.155, allocations: 74.7 kB / 0.8147 GB, free: 71.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.155, allocations: 72.2 kB / 0.8148 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/1.156, allocations: 30.69 kB / 0.8148 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002996/1.159, allocations: 2.287 MB / 0.817 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.159, allocations: 0 / 0.817 GB, free: 70.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003689/1.162, allocations: 0.824 MB / 0.8178 GB, free: 70.8 MB / 0.5105 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.0003673/1.163, allocations: 159.2 kB / 0.818 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004761/1.167, allocations: 3.958 MB / 0.8219 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.167, allocations: 0 / 0.8219 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/1.169, allocations: 1.097 MB / 0.8229 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/1.17, allocations: 365.4 kB / 0.8233 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/1.178, allocations: 5.902 MB / 0.829 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/1.18, allocations: 2.861 MB / 0.8318 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003273/1.183, allocations: 1.654 MB / 0.8335 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/1.183, allocations: 217.7 kB / 0.8337 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of SimCode: time 6.31e-07/1.183, allocations: 0 / 0.8337 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.04469/1.228, allocations: 29.13 MB / 0.8621 GB, free: 34.43 MB / 0.5105 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