Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 107.1 kB / 16.41 MB, free: 6.512 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.001438/0.001438, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.573/1.573, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2169/0.2169, allocations: 43.52 MB / 314.1 MB, free: 452 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.001378/0.001378, allocations: 69.45 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 57.77 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01305/0.1318, allocations: 12.69 MB / 0.5003 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007663/0.1395, allocations: 3.957 MB / 0.5041 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.1409, allocations: 63.88 kB / 0.5042 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002552/0.1435, allocations: 1.327 MB / 0.5055 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.1475, allocations: 1.786 MB / 0.5072 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1487, allocations: 491 kB / 0.5077 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004568/0.1533, allocations: 3.668 MB / 0.5113 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.156, allocations: 2.044 MB / 0.5133 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.1579, allocations: 1.226 MB / 0.5145 GB, free: 412 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.16, allocations: 1.744 MB / 0.5162 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004858/0.1605, allocations: 240 kB / 0.5164 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.1627, allocations: 0.9477 MB / 0.5173 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.1642, allocations: 1.628 MB / 0.5189 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002113/0.1663, allocations: 1.941 MB / 0.5208 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.1746, allocations: 6.394 MB / 0.5271 GB, free: 3.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1747, allocations: 8 kB / 0.5271 GB, free: 3.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1747, allocations: 0 / 0.5271 GB, free: 3.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.1748, allocations: 0 / 0.5271 GB, free: 3.453 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.2459/0.4207, allocations: 4.345 MB / 0.5313 GB, free: 37.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4208, allocations: 12.86 kB / 0.5313 GB, free: 37.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.4326, allocations: 3.105 MB / 0.5344 GB, free: 37.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.4369, allocations: 1.97 MB / 0.5363 GB, free: 36.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.4371, allocations: 199.5 kB / 0.5365 GB, free: 36.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000618/0.4377, allocations: 260.1 kB / 0.5367 GB, free: 36.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.4546, allocations: 10.69 MB / 0.5472 GB, free: 32.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.761e-05/0.4548, allocations: 27.55 kB / 0.5472 GB, free: 32.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/0.4552, allocations: 128.6 kB / 0.5473 GB, free: 32.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004762/0.4599, allocations: 2.636 MB / 0.5499 GB, free: 32.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.4768, allocations: 10.04 MB / 0.5597 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/0.5198, allocations: 35.15 MB / 0.594 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009361/0.5292, allocations: 5.183 MB / 0.5991 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/0.5325, allocations: 2.299 MB / 0.6013 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.5341, allocations: 1.876 MB / 0.6032 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.5341, allocations: 52.56 kB / 0.6032 GB, free: 11.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.219e-06/0.5342, allocations: 0 / 0.6032 GB, free: 11.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03078/0.5649, allocations: 14.11 MB / 0.617 GB, free: 13.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.565, allocations: 69.41 kB / 0.6171 GB, free: 13.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.5682, allocations: 2.681 MB / 0.6197 GB, free: 10.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.5684, allocations: 57.7 kB / 0.6197 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.5701, allocations: 2.815 MB / 0.6225 GB, free: 7.496 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.5709, allocations: 0.8991 MB / 0.6234 GB, free: 6.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.5723, allocations: 1.057 MB / 0.6244 GB, free: 5.523 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.5724, allocations: 305.1 kB / 0.6247 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.5754, allocations: 2.216 MB / 0.6268 GB, free: 3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004854/0.5802, allocations: 5.134 MB / 0.6319 GB, free: 12.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009086/0.5893, allocations: 8.062 MB / 0.6397 GB, free: 2.945 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.2e-05/0.5894, allocations: 32 kB / 0.6398 GB, free: 2.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01327/0.6027, allocations: 7.963 MB / 0.6475 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.6028, allocations: 48 kB / 0.6476 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.6029, allocations: 101.1 kB / 0.6477 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.6051, allocations: 0.7975 MB / 0.6485 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004354/0.6095, allocations: 1.209 MB / 0.6496 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/0.6154, allocations: 4.523 MB / 0.6541 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/0.619, allocations: 291.8 kB / 0.6543 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008946/0.62, allocations: 312 kB / 0.6546 GB, free: 3.531 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 637 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003782/0.6238, allocations: 2.059 MB / 0.6566 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005808/0.6243, allocations: 278.1 kB / 0.6569 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.6327, allocations: 4.726 MB / 0.6615 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.609e-05/0.6328, allocations: 43.91 kB / 0.6616 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6328, allocations: 4 kB / 0.6616 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/0.6329, allocations: 11.95 kB / 0.6616 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/0.6491, allocations: 10.6 MB / 0.6719 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.6492, allocations: 7.938 kB / 0.6719 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.6507, allocations: 364.2 kB / 0.6723 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.6528, allocations: 0.6561 MB / 0.6729 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/0.6531, allocations: 40 kB / 0.673 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00513/0.6582, allocations: 3.914 MB / 0.6768 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.6582, allocations: 8 kB / 0.6768 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.6688, allocations: 7.149 MB / 0.6838 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.6702, allocations: 0.6747 MB / 0.6844 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/0.6706, allocations: 35.98 kB / 0.6845 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6717, allocations: 143.8 kB / 0.6846 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003178/0.6721, allocations: 133 kB / 0.6847 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.6722, allocations: 67.98 kB / 0.6848 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002305/0.6746, allocations: 1.644 MB / 0.6864 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6746, allocations: 0 / 0.6864 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003694/0.6783, allocations: 0.9452 MB / 0.6873 GB, free: 1.551 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004157/0.6787, allocations: 186.7 kB / 0.6875 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008521/0.6872, allocations: 5.411 MB / 0.6928 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.6873, allocations: 0 / 0.6928 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.6901, allocations: 2.032 MB / 0.6948 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.6923, allocations: 359.5 kB / 0.6951 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.7087, allocations: 9.622 MB / 0.7045 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/0.7121, allocations: 3.232 MB / 0.7077 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004417/0.7166, allocations: 1.969 MB / 0.7096 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/0.7174, allocations: 207.4 kB / 0.7098 GB, free: 10.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.743e-06/0.7174, allocations: 0 / 0.7098 GB, free: 10.38 MB / 0.545 GB Notification: Performance of Templates: time 0.05467/0.7721, allocations: 28.86 MB / 0.738 GB, free: 13.52 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches