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.001525/0.001525, allocations: 179 kB / 18.09 MB, free: 3.75 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.303/1.303, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007813/0.0007812, allocations: 91.12 kB / 293.3 MB, free: 10.8 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.3213/0.3213, allocations: 44.14 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003986, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3526, allocations: 61.88 MB / 0.5107 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.4905, allocations: 109.7 MB / 0.6178 GB, free: 1.398 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4908, allocations: 83.94 kB / 0.6179 GB, free: 1.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4572/0.948, allocations: 73.3 MB / 0.6895 GB, free: 97.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.9481, allocations: 0 / 0.6895 GB, free: 97.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001898/0.9483, allocations: 72.25 kB / 0.6895 GB, free: 97.09 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.009341/0.9576, allocations: 3.505 MB / 0.693 GB, free: 95.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9577, allocations: 12.03 kB / 0.693 GB, free: 95.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007916/0.9656, allocations: 2.045 MB / 0.695 GB, free: 95.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005581/0.9712, allocations: 2.878 MB / 0.6978 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.9714, allocations: 271.5 kB / 0.698 GB, free: 94.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008384/0.9723, allocations: 346.8 kB / 0.6984 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.9855, allocations: 8.94 MB / 0.7071 GB, free: 92.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/0.9857, allocations: 63.89 kB / 0.7072 GB, free: 92.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004797/0.9862, allocations: 174.4 kB / 0.7073 GB, free: 92.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009934/0.9872, allocations: 0.8849 MB / 0.7082 GB, free: 92.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/1.002, allocations: 7.195 MB / 0.7152 GB, free: 91.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03985/1.042, allocations: 42.91 MB / 0.7571 GB, free: 57.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/1.048, allocations: 3.301 MB / 0.7604 GB, free: 56.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/1.05, allocations: 1.449 MB / 0.7618 GB, free: 55.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005733/1.055, allocations: 4.401 MB / 0.7661 GB, free: 53.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/1.055, allocations: 54.16 kB / 0.7661 GB, free: 53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=121): time 3.517e-06/1.055, allocations: 0 / 0.7661 GB, free: 53 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.02588/1.081, allocations: 11.36 MB / 0.7772 GB, free: 48.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/1.081, allocations: 169.2 kB / 0.7774 GB, free: 48.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006559/1.088, allocations: 3.717 MB / 0.781 GB, free: 46.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002708/1.088, allocations: 44.8 kB / 0.7811 GB, free: 46.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/1.09, allocations: 2.752 MB / 0.7837 GB, free: 44.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006763/1.091, allocations: 0.5158 MB / 0.7842 GB, free: 44.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/1.091, allocations: 105.2 kB / 0.7843 GB, free: 44.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000383/1.092, allocations: 0.5316 MB / 0.7849 GB, free: 43.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/1.094, allocations: 1.68 MB / 0.7865 GB, free: 43.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/1.099, allocations: 5.116 MB / 0.7915 GB, free: 37.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/1.106, allocations: 7.397 MB / 0.7987 GB, free: 31.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/1.106, allocations: 34.09 kB / 0.7988 GB, free: 31.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.0124/1.118, allocations: 6.688 MB / 0.8053 GB, free: 26.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.119, allocations: 56 kB / 0.8053 GB, free: 26.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/1.119, allocations: 127.5 kB / 0.8055 GB, free: 26.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/1.119, allocations: 323.3 kB / 0.8058 GB, free: 26.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/1.124, allocations: 1.284 MB / 0.807 GB, free: 24.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/1.126, allocations: 2.299 MB / 0.8093 GB, free: 22.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/1.131, allocations: 284.2 kB / 0.8095 GB, free: 22.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.132, allocations: 331.3 kB / 0.8099 GB, free: 22.14 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.00422/1.137, allocations: 1.796 MB / 0.8116 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007511/1.137, allocations: 310.9 kB / 0.8119 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/1.142, allocations: 2.364 MB / 0.8142 GB, free: 18.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/1.142, allocations: 27.77 kB / 0.8142 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.142, allocations: 4 kB / 0.8142 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.142, allocations: 7.828 kB / 0.8143 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.155, allocations: 5.937 MB / 0.82 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.155, allocations: 7.531 kB / 0.8201 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/1.156, allocations: 173 kB / 0.8202 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/1.157, allocations: 0.7082 MB / 0.8209 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.158, allocations: 20 kB / 0.8209 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004678/1.162, allocations: 4.452 MB / 0.8253 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.162, allocations: 4.031 kB / 0.8253 GB, free: 9.023 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/1.168, allocations: 4.327 MB / 0.8295 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.169, allocations: 373.4 kB / 0.8299 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007547/1.17, allocations: 23.03 kB / 0.8299 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.172, allocations: 70.09 kB / 0.83 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.172, allocations: 71.98 kB / 0.83 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/1.172, allocations: 39.2 kB / 0.8301 GB, free: 4.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004314/1.176, allocations: 2.312 MB / 0.8323 GB, free: 2.926 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.176, allocations: 0 / 0.8323 GB, free: 2.926 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005824/1.182, allocations: 0.8314 MB / 0.8331 GB, free: 2.098 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.0005643/1.183, allocations: 159 kB / 0.8333 GB, free: 1.941 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007225/1.19, allocations: 4.003 MB / 0.8372 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.19, allocations: 8.062 kB / 0.8372 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/1.192, allocations: 1.093 MB / 0.8383 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/1.195, allocations: 378.2 kB / 0.8386 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.214, allocations: 8.619 MB / 0.847 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005287/1.219, allocations: 2.789 MB / 0.8498 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005022/1.224, allocations: 1.668 MB / 0.8514 GB, free: 160 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008792/1.225, allocations: 203.5 kB / 0.8516 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of SimCode: time 4.3e-07/1.225, allocations: 0 / 0.8516 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.05756/1.283, allocations: 29.21 MB / 0.8801 GB, free: 3.23 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/jenkins1/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