Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002065/0.002065, allocations: 209.9 kB / 25.13 MB, free: 3.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.4 MB / 258.7 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2388/0.2388, allocations: 46.94 MB / 362.1 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 79.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3225, allocations: 66.09 MB / 0.5623 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02084/0.3433, allocations: 18.06 MB / 0.58 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.3548, allocations: 5.3 MB / 0.5852 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.3576, allocations: 123.4 kB / 0.5853 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006714/0.3644, allocations: 3.102 MB / 0.5883 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008017/0.3724, allocations: 2.634 MB / 0.5909 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.3749, allocations: 1.03 MB / 0.5919 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01287/0.3878, allocations: 7.671 MB / 0.5994 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006468/0.3943, allocations: 3.607 MB / 0.6029 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.3995, allocations: 2.293 MB / 0.6051 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006447/0.4059, allocations: 3.513 MB / 0.6086 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001788/0.4077, allocations: 452 kB / 0.609 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.4111, allocations: 1.221 MB / 0.6102 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00379/0.4149, allocations: 2.863 MB / 0.613 GB, free: 172 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005211/0.4201, allocations: 3.176 MB / 0.6161 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.4343, allocations: 10.04 MB / 0.6259 GB, free: 2.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4343, allocations: 0 / 0.6259 GB, free: 2.891 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.4343, allocations: 0 / 0.6259 GB, free: 2.891 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003559/0.4346, allocations: 4 kB / 0.6259 GB, free: 2.887 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.01817/0.4528, allocations: 7.31 MB / 0.633 GB, free: 11.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.4529, allocations: 8.031 kB / 0.633 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.468, allocations: 3.877 MB / 0.6368 GB, free: 7.609 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.4781, allocations: 3.94 MB / 0.6407 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/0.4784, allocations: 320.4 kB / 0.641 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.4803, allocations: 435.8 kB / 0.6414 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02888/0.5092, allocations: 15.66 MB / 0.6567 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.5094, allocations: 71.52 kB / 0.6568 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005856/0.5099, allocations: 195.8 kB / 0.6569 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006089/0.516, allocations: 3.376 MB / 0.6602 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03312/0.5491, allocations: 14.82 MB / 0.6747 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09861/0.6478, allocations: 54.72 MB / 0.7282 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/0.6672, allocations: 6.945 MB / 0.7349 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2718/0.9389, allocations: 4.477 MB / 0.7393 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.9405, allocations: 0.6591 MB / 0.74 GB, free: 154 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.9406, allocations: 70.7 kB / 0.74 GB, free: 154 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 6.732e-06/0.9406, allocations: 0 / 0.74 GB, free: 154 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.09004/1.031, allocations: 40.07 MB / 0.7792 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.031, allocations: 115.7 kB / 0.7793 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/1.035, allocations: 4.3 MB / 0.7835 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007868/1.036, allocations: 85.38 kB / 0.7835 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/1.038, allocations: 3.934 MB / 0.7874 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.039, allocations: 1.565 MB / 0.7889 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/1.041, allocations: 1.576 MB / 0.7905 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.516e-05/1.041, allocations: 301.1 kB / 0.7907 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/1.046, allocations: 4.079 MB / 0.7947 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00597/1.052, allocations: 7.869 MB / 0.8024 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.063, allocations: 12.88 MB / 0.815 GB, free: 85.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-05/1.063, allocations: 40 kB / 0.815 GB, free: 85.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02221/1.085, allocations: 14.72 MB / 0.8294 GB, free: 70.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/1.085, allocations: 60.97 kB / 0.8295 GB, free: 70.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/1.085, allocations: 128 kB / 0.8296 GB, free: 70.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00696/1.092, allocations: 2.923 MB / 0.8324 GB, free: 67.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006222/1.099, allocations: 1.813 MB / 0.8342 GB, free: 66.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.116, allocations: 15.76 MB / 0.8496 GB, free: 50.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005978/1.122, allocations: 0.4995 MB / 0.8501 GB, free: 49.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009906/1.123, allocations: 435 kB / 0.8505 GB, free: 49.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (942): * Single equations (assignments): 934 * 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.003998/1.127, allocations: 2.87 MB / 0.8533 GB, free: 46.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/1.128, allocations: 480.8 kB / 0.8538 GB, free: 45.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.145, allocations: 10.89 MB / 0.8644 GB, free: 34.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.447e-05/1.145, allocations: 63.98 kB / 0.8645 GB, free: 34.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/1.145, allocations: 14.81 kB / 0.8645 GB, free: 34.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-05/1.145, allocations: 15.94 kB / 0.8645 GB, free: 34.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03193/1.177, allocations: 21.51 MB / 0.8855 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.053e-05/1.177, allocations: 8 kB / 0.8855 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/1.18, allocations: 0.6825 MB / 0.8862 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006934/1.187, allocations: 2.729 MB / 0.8888 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000747/1.187, allocations: 79.83 kB / 0.8889 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.205, allocations: 14.36 MB / 0.9029 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/1.205, allocations: 15.94 kB / 0.9029 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02724/1.232, allocations: 15.56 MB / 0.9181 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.234, allocations: 444.8 kB / 0.9186 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.235, allocations: 79.98 kB / 0.9186 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/1.237, allocations: 311.7 kB / 0.9189 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008404/1.238, allocations: 280.8 kB / 0.9192 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003302/1.239, allocations: 120 kB / 0.9193 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004846/1.244, allocations: 2.681 MB / 0.9219 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.244, allocations: 0 / 0.9219 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009551/1.253, allocations: 1.66 MB / 0.9236 GB, free: 5.535 MB / 0.5919 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.001042/1.254, allocations: 229.4 kB / 0.9238 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01731/1.271, allocations: 9.655 MB / 0.9332 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.271, allocations: 0 / 0.9332 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007045/1.278, allocations: 4.07 MB / 0.9372 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/1.283, allocations: 0.7103 MB / 0.9379 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/1.312, allocations: 16.01 MB / 0.9535 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005635/1.318, allocations: 4.539 MB / 0.9579 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006111/1.324, allocations: 2.723 MB / 0.9606 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.325, allocations: 351.3 kB / 0.9609 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of SimCode: time 1.723e-06/1.325, allocations: 7.938 kB / 0.9609 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.4044/1.73, allocations: 74.96 MB / 1.034 GB, free: 173.2 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.598329745000228]