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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 62.46 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01053/0.131, allocations: 10.22 MB / 491.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006939/0.1379, allocations: 3.814 MB / 495.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.1394, allocations: 55.81 kB / 495.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.1429, allocations: 1.939 MB / 497.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00369/0.1466, allocations: 1.63 MB / 499.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1479, allocations: 0.616 MB / 499.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.1519, allocations: 3.354 MB / 0.4913 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002646/0.1546, allocations: 2.572 MB / 0.4938 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.1561, allocations: 1.242 MB / 0.495 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.158, allocations: 1.662 MB / 0.4966 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.1585, allocations: 252 kB / 0.4969 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.1603, allocations: 1.014 MB / 0.4979 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.1615, allocations: 1.539 MB / 0.4994 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.1631, allocations: 1.817 MB / 0.5011 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2431/0.4062, allocations: 5.775 MB / 0.5068 GB, free: 20.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4063, allocations: 0 / 0.5068 GB, free: 20.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4063, allocations: 0 / 0.5068 GB, free: 20.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002029/0.4065, allocations: 0.5 kB / 0.5068 GB, free: 20.57 MB / 382.1 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.01018/0.4167, allocations: 3.992 MB / 0.5107 GB, free: 18.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4167, allocations: 9.062 kB / 0.5107 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/0.4237, allocations: 1.769 MB / 0.5124 GB, free: 18.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005952/0.4296, allocations: 1.93 MB / 0.5143 GB, free: 18.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.4299, allocations: 191.1 kB / 0.5145 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009197/0.4308, allocations: 254.4 kB / 0.5147 GB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.4477, allocations: 8.458 MB / 0.523 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.4478, allocations: 39.09 kB / 0.523 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004087/0.4483, allocations: 124.2 kB / 0.5231 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002645/0.4509, allocations: 1.701 MB / 0.5248 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.4648, allocations: 7.11 MB / 0.5317 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04031/0.5052, allocations: 34.02 MB / 0.565 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007069/0.5123, allocations: 3.302 MB / 0.5682 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.5142, allocations: 1.462 MB / 0.5696 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007821/0.5221, allocations: 4.435 MB / 0.574 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.5221, allocations: 50.67 kB / 0.574 GB, free: 4.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.697e-06/0.5222, allocations: 4 kB / 0.574 GB, free: 4.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02802/0.5502, allocations: 11.55 MB / 0.5853 GB, free: 8.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.5503, allocations: 175.3 kB / 0.5855 GB, free: 8.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005705/0.556, allocations: 3.709 MB / 0.5891 GB, free: 4.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.5563, allocations: 45.7 kB / 0.5891 GB, free: 4.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.5585, allocations: 2.751 MB / 0.5918 GB, free: 1.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006696/0.5592, allocations: 0.52 MB / 0.5923 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001383/0.5606, allocations: 1.079 MB / 0.5934 GB, free: 296 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5607, allocations: 305.1 kB / 0.5937 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.5632, allocations: 1.705 MB / 0.5953 GB, free: 14.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.5685, allocations: 5.143 MB / 0.6003 GB, free: 7.469 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008439/0.5769, allocations: 7.426 MB / 0.6076 GB, free: 14.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.5771, allocations: 36 kB / 0.6076 GB, free: 14.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.0116/0.5887, allocations: 6.729 MB / 0.6142 GB, free: 8.227 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.832e-05/0.5888, allocations: 56 kB / 0.6143 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/0.589, allocations: 124 kB / 0.6144 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.5896, allocations: 325.2 kB / 0.6147 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/0.5932, allocations: 1.248 MB / 0.6159 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.5959, allocations: 2.49 MB / 0.6183 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/0.5994, allocations: 292.5 kB / 0.6186 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/0.6, allocations: 338.1 kB / 0.6189 GB, free: 3.234 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * 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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00295/0.6029, allocations: 1.779 MB / 0.6207 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/0.6036, allocations: 308 kB / 0.621 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.6082, allocations: 2.38 MB / 0.6233 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.6083, allocations: 16 kB / 0.6233 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6083, allocations: 4 kB / 0.6233 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.6083, allocations: 3.984 kB / 0.6233 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6191, allocations: 5.913 MB / 0.6291 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.6191, allocations: 11.44 kB / 0.6291 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.62, allocations: 183.1 kB / 0.6293 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/0.622, allocations: 0.717 MB / 0.63 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.6221, allocations: 22.66 kB / 0.63 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005956/0.6281, allocations: 4.815 MB / 0.6347 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6281, allocations: 0 / 0.6347 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006651/0.6348, allocations: 4.334 MB / 0.6389 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.636, allocations: 364.9 kB / 0.6393 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.6363, allocations: 23.98 kB / 0.6393 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.6373, allocations: 74.16 kB / 0.6394 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.6375, allocations: 75.17 kB / 0.6394 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/0.6376, allocations: 36 kB / 0.6395 GB, free: 13.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003249/0.6409, allocations: 2.319 MB / 0.6417 GB, free: 11.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6409, allocations: 0 / 0.6417 GB, free: 11.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004347/0.6453, allocations: 0.8047 MB / 0.6425 GB, free: 10.86 MB / 494.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003699/0.6456, allocations: 145.5 kB / 0.6427 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006168/0.6518, allocations: 4.055 MB / 0.6466 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6518, allocations: 0 / 0.6466 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.6534, allocations: 1.131 MB / 0.6477 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.6558, allocations: 382.6 kB / 0.6481 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.6684, allocations: 7.258 MB / 0.6552 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002895/0.6713, allocations: 2.785 MB / 0.6579 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003701/0.6751, allocations: 1.652 MB / 0.6595 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00068/0.6758, allocations: 207.4 kB / 0.6597 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of SimCode: time 3.697e-06/0.6758, allocations: 0 / 0.6597 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of Templates: time 0.05026/0.726, allocations: 26.03 MB / 0.6851 GB, free: 15.44 MB / 0.5294 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches