Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008053/0.0008053, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8739/0.8739, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1361/0.1361, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.672e-05, allocations: 2.281 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01186/0.01188, allocations: 16.12 MB / 424.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009798/0.02168, allocations: 5.152 MB / 429.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/0.02488, allocations: 131.4 kB / 429.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.029, allocations: 3.153 MB / 432.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006573/0.03558, allocations: 2.788 MB / 435.5 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.03786, allocations: 1.146 MB / 436.6 MB, free: 408 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1839/0.2218, allocations: 8.638 MB / 445.2 MB, free: 16.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/0.2326, allocations: 4.663 MB / 449.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01261/0.2452, allocations: 3.667 MB / 453.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007034/0.2522, allocations: 3.924 MB / 457.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.2539, allocations: 474.4 kB / 458 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003283/0.2571, allocations: 1.298 MB / 459.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00331/0.2605, allocations: 3.098 MB / 462.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003549/0.264, allocations: 1.929 MB / 464.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008966/0.273, allocations: 10.34 MB / 474.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.273, allocations: 0 / 474.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.273, allocations: 0 / 474.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003814/0.2734, allocations: 0 / 474.6 MB, free: 3.012 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.01394/0.2873, allocations: 7.57 MB / 482.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2874, allocations: 12.03 kB / 482.2 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009364/0.2967, allocations: 3.994 MB / 486.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008013/0.3047, allocations: 4.152 MB / 490.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.305, allocations: 321.7 kB / 490.7 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.3063, allocations: 448.6 kB / 491.1 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/0.3296, allocations: 15.89 MB / 0.4951 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002159/0.3298, allocations: 60.52 kB / 0.4952 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009473/0.3308, allocations: 201 kB / 0.4954 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004027/0.3348, allocations: 3.475 MB / 0.4988 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02458/0.3594, allocations: 14.87 MB / 0.5133 GB, free: 216 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06576/0.4252, allocations: 52.62 MB / 0.5647 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.437, allocations: 7.18 MB / 0.5717 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005156/0.4422, allocations: 4.487 MB / 0.5761 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.4433, allocations: 0.6381 MB / 0.5767 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.4434, allocations: 65.08 kB / 0.5768 GB, free: 14.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=367): time 7.043e-06/0.4434, allocations: 0 / 0.5768 GB, free: 14.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=419): time 0.07529/0.5186, allocations: 41.51 MB / 0.6173 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.5187, allocations: 116 kB / 0.6174 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/0.524, allocations: 4.689 MB / 0.622 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008113/0.5248, allocations: 81.7 kB / 0.6221 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.1712/0.696, allocations: 4.008 MB / 0.626 GB, free: 172.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/0.6982, allocations: 1.549 MB / 0.6275 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/0.7008, allocations: 1.574 MB / 0.629 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.534e-05/0.7008, allocations: 302.2 kB / 0.6293 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005585/0.7064, allocations: 4.087 MB / 0.6333 GB, free: 169.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007931/0.7143, allocations: 7.938 MB / 0.6411 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/0.7266, allocations: 12.97 MB / 0.6537 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/0.7267, allocations: 35.5 kB / 0.6538 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.01976/0.7465, allocations: 14.76 MB / 0.6682 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.7466, allocations: 66.34 kB / 0.6682 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/0.7467, allocations: 128 kB / 0.6684 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004621/0.7514, allocations: 2.934 MB / 0.6712 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004389/0.7557, allocations: 1.823 MB / 0.673 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.7685, allocations: 15.56 MB / 0.6882 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/0.775, allocations: 0.6398 MB / 0.6888 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/0.7767, allocations: 439.9 kB / 0.6892 GB, free: 128.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (951): * Single equations (assignments): 943 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005554/0.7823, allocations: 2.905 MB / 0.6921 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/0.7833, allocations: 457 kB / 0.6925 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.7951, allocations: 10.89 MB / 0.7032 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-05/0.7952, allocations: 66.66 kB / 0.7032 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.7952, allocations: 15 kB / 0.7032 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.918e-05/0.7953, allocations: 15.94 kB / 0.7033 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/0.8218, allocations: 19.74 MB / 0.7225 GB, free: 94.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.8218, allocations: 12.22 kB / 0.7225 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/0.8237, allocations: 0.6903 MB / 0.7232 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004252/0.828, allocations: 2.725 MB / 0.7259 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007241/0.8287, allocations: 87.36 kB / 0.726 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.8401, allocations: 14.16 MB / 0.7398 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.8401, allocations: 23.81 kB / 0.7398 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/0.8576, allocations: 15.5 MB / 0.7549 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003398/0.861, allocations: 1.204 MB / 0.7561 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000791/0.8618, allocations: 68 kB / 0.7562 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.8639, allocations: 459.5 kB / 0.7566 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004928/0.8644, allocations: 273.8 kB / 0.7569 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.8646, allocations: 119.9 kB / 0.757 GB, free: 58.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002813/0.8674, allocations: 2.823 MB / 0.7598 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8674, allocations: 0 / 0.7598 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006637/0.874, allocations: 1.916 MB / 0.7616 GB, free: 53.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008251/0.8748, allocations: 251.9 kB / 0.7619 GB, free: 53.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01086/0.8857, allocations: 9.699 MB / 0.7713 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.727e-05/0.8857, allocations: 4 kB / 0.7713 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004398/0.8901, allocations: 4.055 MB / 0.7753 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/0.8936, allocations: 0.6164 MB / 0.7759 GB, free: 38.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/0.9139, allocations: 16.73 MB / 0.7922 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/0.9178, allocations: 4.092 MB / 0.7962 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/0.9199, allocations: 404.4 kB / 0.7966 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.445e-06/0.9199, allocations: 0 / 0.7966 GB, free: 17.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.3332/1.253, allocations: 146.9 MB / 0.94 GB, free: 52.9 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.82189199142158]