Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.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.001371/0.001371, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 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.001784/0.001784, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.533/1.533, allocations: 230.3 MB / 258 MB, free: 8.156 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.246/0.246, allocations: 46.94 MB / 361.4 MB, free: 4.344 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute") [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.002405/0.002405, allocations: 75.88 kB / 0.4972 GB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.392, allocations: 66.05 MB / 0.5617 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02591/0.418, allocations: 12.34 MB / 0.5737 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.4312, allocations: 3.987 MB / 0.5776 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/0.4337, allocations: 67.75 kB / 0.5777 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005021/0.4387, allocations: 1.346 MB / 0.579 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007039/0.4458, allocations: 1.782 MB / 0.5807 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.4478, allocations: 495 kB / 0.5812 GB, free: 396 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008613/0.4565, allocations: 3.61 MB / 0.5847 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004029/0.4605, allocations: 1.615 MB / 0.5863 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.4638, allocations: 1.211 MB / 0.5875 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005034/0.4689, allocations: 1.892 MB / 0.5893 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.47, allocations: 236 kB / 0.5896 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.4736, allocations: 0.9712 MB / 0.5905 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003816/0.4774, allocations: 1.616 MB / 0.5921 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003896/0.4813, allocations: 1.871 MB / 0.5939 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009481/0.4908, allocations: 6.203 MB / 0.6 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4908, allocations: 4 kB / 0.6 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4908, allocations: 0 / 0.6 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002389/0.491, allocations: 0 / 0.6 GB, free: 13.07 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01044/0.5015, allocations: 4.159 MB / 0.604 GB, free: 8.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5015, allocations: 12.03 kB / 0.604 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.5124, allocations: 3.098 MB / 0.6071 GB, free: 5.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.5169, allocations: 1.811 MB / 0.6088 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.5171, allocations: 193 kB / 0.609 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.5181, allocations: 251.9 kB / 0.6093 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/0.5386, allocations: 10.48 MB / 0.6195 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.5388, allocations: 31.75 kB / 0.6195 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/0.5398, allocations: 115.8 kB / 0.6196 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004749/0.5446, allocations: 2.545 MB / 0.6221 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.564, allocations: 9.921 MB / 0.6318 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05636/0.6204, allocations: 34.2 MB / 0.6652 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009795/0.6301, allocations: 4.059 MB / 0.6692 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003263/0.6334, allocations: 2.115 MB / 0.6712 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.6346, allocations: 0.5634 MB / 0.6718 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.6347, allocations: 52.56 kB / 0.6718 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.28e-06/0.6347, allocations: 0 / 0.6718 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03398/0.6687, allocations: 13.89 MB / 0.6854 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.6687, allocations: 77.34 kB / 0.6855 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004135/0.6729, allocations: 2.639 MB / 0.6881 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.6731, allocations: 53.7 kB / 0.6881 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/0.6753, allocations: 2.741 MB / 0.6908 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/0.6765, allocations: 0.8913 MB / 0.6917 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.6782, allocations: 1.052 MB / 0.6927 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6784, allocations: 301.1 kB / 0.693 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/0.6817, allocations: 2.204 MB / 0.6951 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00633/0.6881, allocations: 5.075 MB / 0.7001 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.699, allocations: 7.969 MB / 0.7079 GB, free: 10.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.811e-05/0.699, allocations: 32 kB / 0.7079 GB, free: 10.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01525/0.7143, allocations: 7.889 MB / 0.7156 GB, free: 2.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.429e-05/0.7144, allocations: 48 kB / 0.7156 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/0.7145, allocations: 100 kB / 0.7157 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.7169, allocations: 0.7889 MB / 0.7165 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/0.7209, allocations: 1.193 MB / 0.7177 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006499/0.7274, allocations: 4.424 MB / 0.722 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005249/0.7326, allocations: 287.8 kB / 0.7223 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/0.7337, allocations: 307.9 kB / 0.7226 GB, free: 11.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (635): * Single equations (assignments): 628 * 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.003747/0.7374, allocations: 2.016 MB / 0.7245 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005848/0.738, allocations: 274.2 kB / 0.7248 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008963/0.7469, allocations: 4.71 MB / 0.7294 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.276e-05/0.747, allocations: 43.98 kB / 0.7294 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/0.7471, allocations: 7.938 kB / 0.7294 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.7471, allocations: 7.969 kB / 0.7295 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2743/1.021, allocations: 10.47 MB / 0.7397 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.021, allocations: 10.66 kB / 0.7397 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.023, allocations: 367 kB / 0.74 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/1.024, allocations: 0.6544 MB / 0.7407 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.025, allocations: 49.64 kB / 0.7407 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/1.028, allocations: 3.8 MB / 0.7444 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.028, allocations: 13.94 kB / 0.7444 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007645/1.036, allocations: 7.146 MB / 0.7514 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/1.036, allocations: 243.1 kB / 0.7517 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/1.037, allocations: 39.53 kB / 0.7517 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.038, allocations: 147.5 kB / 0.7518 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/1.038, allocations: 131.8 kB / 0.752 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.038, allocations: 65.97 kB / 0.752 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001741/1.04, allocations: 1.617 MB / 0.7536 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.04, allocations: 0 / 0.7536 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002971/1.043, allocations: 0.9114 MB / 0.7545 GB, free: 145 MB / 0.5606 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.0003184/1.043, allocations: 179 kB / 0.7547 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005361/1.048, allocations: 5.154 MB / 0.7597 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.048, allocations: 0 / 0.7597 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/1.05, allocations: 1.881 MB / 0.7615 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/1.052, allocations: 367.8 kB / 0.7619 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.063, allocations: 9.552 MB / 0.7712 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/1.065, allocations: 3.17 MB / 0.7743 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003112/1.069, allocations: 1.961 MB / 0.7762 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/1.069, allocations: 203.4 kB / 0.7764 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/1.069, allocations: 0 / 0.7764 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05651/1.126, allocations: 32.59 MB / 0.8082 GB, free: 91.11 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Revolute.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: 7.15794743411243]