Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 113.2 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 194.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 69.47 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1219, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01195/0.1338, allocations: 10.27 MB / 0.4986 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.1422, allocations: 3.791 MB / 0.5023 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.1444, allocations: 55.81 kB / 0.5023 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0051/0.1495, allocations: 1.943 MB / 0.5042 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005275/0.1549, allocations: 1.661 MB / 0.5059 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1567, allocations: 0.616 MB / 0.5065 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005261/0.162, allocations: 3.338 MB / 0.5097 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00392/0.1659, allocations: 2.587 MB / 0.5123 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.1682, allocations: 1.246 MB / 0.5135 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.1709, allocations: 1.682 MB / 0.5151 GB, free: 436 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008644/0.1718, allocations: 256 kB / 0.5154 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.1743, allocations: 1.03 MB / 0.5164 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001891/0.1762, allocations: 1.582 MB / 0.5179 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002784/0.179, allocations: 1.829 MB / 0.5197 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006897/0.1859, allocations: 5.835 MB / 0.5254 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1859, allocations: 0 / 0.5254 GB, free: 5.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.186, allocations: 0 / 0.5254 GB, free: 5.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002132/0.1862, allocations: 0 / 0.5254 GB, free: 5.863 MB / 414.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.009643/0.1958, allocations: 4.022 MB / 0.5293 GB, free: 1.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.1959, allocations: 15.88 kB / 0.5293 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2546/0.4505, allocations: 1.77 MB / 0.5311 GB, free: 37.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.4544, allocations: 1.995 MB / 0.533 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.4546, allocations: 196.2 kB / 0.5332 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/0.4551, allocations: 253.8 kB / 0.5334 GB, free: 36.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.4686, allocations: 8.438 MB / 0.5417 GB, free: 33.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.493e-05/0.4687, allocations: 41.2 kB / 0.5417 GB, free: 33.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003456/0.469, allocations: 122 kB / 0.5418 GB, free: 33.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003803/0.4729, allocations: 1.7 MB / 0.5435 GB, free: 33.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.4891, allocations: 7.103 MB / 0.5504 GB, free: 30.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/0.522, allocations: 34.03 MB / 0.5837 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006863/0.5289, allocations: 3.284 MB / 0.5869 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.5308, allocations: 1.471 MB / 0.5883 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006695/0.5375, allocations: 4.364 MB / 0.5926 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.5376, allocations: 43.12 kB / 0.5926 GB, free: 7.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.928e-06/0.5376, allocations: 0 / 0.5926 GB, free: 7.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03058/0.5682, allocations: 11.54 MB / 0.6039 GB, free: 11.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5683, allocations: 166.9 kB / 0.604 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006698/0.575, allocations: 3.737 MB / 0.6077 GB, free: 7.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.5753, allocations: 45.55 kB / 0.6077 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.5776, allocations: 2.74 MB / 0.6104 GB, free: 4.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006867/0.5783, allocations: 0.5287 MB / 0.6109 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001855/0.5801, allocations: 1.083 MB / 0.612 GB, free: 3.352 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5803, allocations: 305.1 kB / 0.6123 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.5829, allocations: 1.705 MB / 0.6139 GB, free: 1.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004693/0.5876, allocations: 5.128 MB / 0.6189 GB, free: 10.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008093/0.5957, allocations: 7.413 MB / 0.6262 GB, free: 1.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.5958, allocations: 36 kB / 0.6262 GB, free: 1.332 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01131/0.6071, allocations: 6.722 MB / 0.6328 GB, free: 10.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.6073, allocations: 61 kB / 0.6328 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001636/0.6074, allocations: 120.9 kB / 0.633 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.6081, allocations: 321.3 kB / 0.6333 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/0.6119, allocations: 1.248 MB / 0.6345 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.6146, allocations: 2.495 MB / 0.6369 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003724/0.6183, allocations: 295.5 kB / 0.6372 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007585/0.6191, allocations: 336 kB / 0.6375 GB, free: 5.605 MB / 478.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.003234/0.6223, allocations: 1.799 MB / 0.6393 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/0.6231, allocations: 308 kB / 0.6396 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005262/0.6284, allocations: 2.361 MB / 0.6419 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.6284, allocations: 3.984 kB / 0.6419 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.6284, allocations: 0 / 0.6419 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.6298, allocations: 0.5398 MB / 0.6424 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/0.6304, allocations: 16 kB / 0.6424 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6319, allocations: 75.89 kB / 0.6425 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.6321, allocations: 76.48 kB / 0.6426 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005011/0.6371, allocations: 2.817 MB / 0.6453 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004507/0.6417, allocations: 3.659 MB / 0.6489 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001123/0.6428, allocations: 0.891 MB / 0.6498 GB, free: 8.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004271/0.6471, allocations: 2.335 MB / 0.652 GB, free: 6.66 MB / 494.1 MB Notification: Performance of Backend: time 4.11e-07/0.6471, allocations: 0 / 0.652 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00773/0.6548, allocations: 3.489 MB / 0.6554 GB, free: 3.188 MB / 494.1 MB Notification: Performance of SimCode: time 0.01465/0.6695, allocations: 7.676 MB / 0.6629 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.06818/0.7377, allocations: 36.66 MB / 0.6987 GB, free: 6.812 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches