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.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.0008383/0.0008383, 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.0008052/0.0008052, allocations: 165.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.8142/0.8142, allocations: 158.6 MB / 185.7 MB, free: 3.043 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.1323/0.1323, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.383e-05, allocations: 6.219 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009182/0.009216, allocations: 11.08 MB / 419.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.01619, allocations: 3.789 MB / 423 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.0181, allocations: 71.75 kB / 423.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.02034, allocations: 1.362 MB / 424.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.02513, allocations: 1.894 MB / 426.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.02619, allocations: 0.5221 MB / 426.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004106/0.03029, allocations: 4.003 MB / 430.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002271/0.03256, allocations: 2.132 MB / 433 MB, free: 4.031 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.03532, allocations: 1.902 MB / 434.9 MB, free: 2.125 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.0376, allocations: 1.968 MB / 436.8 MB, free: 156 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1837/0.2213, allocations: 242.4 kB / 437.1 MB, free: 20.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/0.224, allocations: 0.9126 MB / 438 MB, free: 20.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002271/0.2262, allocations: 1.74 MB / 439.7 MB, free: 20.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.2288, allocations: 1.045 MB / 440.8 MB, free: 20.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.2391, allocations: 6.35 MB / 447.1 MB, free: 20.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.2391, allocations: 2.188 kB / 447.1 MB, free: 20.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2391, allocations: 0 / 447.1 MB, free: 20.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003225/0.2394, allocations: 1.188 kB / 447.1 MB, free: 20.32 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01209/0.2515, allocations: 4.286 MB / 451.4 MB, free: 18.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2516, allocations: 9.906 kB / 451.4 MB, free: 18.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/0.2581, allocations: 3.154 MB / 454.6 MB, free: 18.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004252/0.2624, allocations: 1.891 MB / 456.5 MB, free: 17.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.2625, allocations: 196.2 kB / 456.7 MB, free: 17.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.2638, allocations: 255 kB / 456.9 MB, free: 17.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.2768, allocations: 10.7 MB / 467.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-05/0.2768, allocations: 26.09 kB / 467.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002809/0.2771, allocations: 129.1 kB / 467.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/0.2795, allocations: 2.637 MB / 470.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.2932, allocations: 10.01 MB / 480.4 MB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03946/0.3327, allocations: 32.62 MB / 0.501 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006554/0.3392, allocations: 4.147 MB / 0.505 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/0.3418, allocations: 2.115 MB / 0.5071 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/0.3426, allocations: 0.56 MB / 0.5077 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.3426, allocations: 52.56 kB / 0.5077 GB, free: 8.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 7.324e-06/0.3426, allocations: 0 / 0.5077 GB, free: 8.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.02278/0.3654, allocations: 14.39 MB / 0.5218 GB, free: 9.785 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3654, allocations: 73.41 kB / 0.5218 GB, free: 9.703 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.3685, allocations: 2.779 MB / 0.5245 GB, free: 6.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004106/0.3689, allocations: 51.27 kB / 0.5246 GB, free: 6.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.3701, allocations: 2.815 MB / 0.5273 GB, free: 4.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008972/0.371, allocations: 0.8737 MB / 0.5282 GB, free: 3.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.3721, allocations: 1.051 MB / 0.5292 GB, free: 2.113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3722, allocations: 361.9 kB / 0.5296 GB, free: 1.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.3747, allocations: 2.217 MB / 0.5317 GB, free: 15.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003726/0.3784, allocations: 5.139 MB / 0.5368 GB, free: 9.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/0.3851, allocations: 8.055 MB / 0.5446 GB, free: 15.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.251e-05/0.3852, allocations: 31.94 kB / 0.5447 GB, free: 15.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.00982/0.395, allocations: 7.951 MB / 0.5524 GB, free: 7.754 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.3951, allocations: 48 kB / 0.5525 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.722e-05/0.3952, allocations: 108.2 kB / 0.5526 GB, free: 7.602 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.3964, allocations: 0.785 MB / 0.5533 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.3989, allocations: 1.201 MB / 0.5545 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/0.4029, allocations: 4.378 MB / 0.5588 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.4056, allocations: 331.7 kB / 0.5591 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005394/0.4062, allocations: 304 kB / 0.5594 GB, free: 0.5078 MB / 458.7 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.003297/0.4095, allocations: 2.052 MB / 0.5614 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/0.4099, allocations: 266.2 kB / 0.5616 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.415, allocations: 4.715 MB / 0.5662 GB, free: 9.449 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.194e-05/0.4151, allocations: 46.02 kB / 0.5663 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4151, allocations: 5.375 kB / 0.5663 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.4151, allocations: 11.95 kB / 0.5663 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.4272, allocations: 9.329 MB / 0.5754 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.4272, allocations: 8 kB / 0.5754 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.4281, allocations: 363.4 kB / 0.5758 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.4292, allocations: 0.6567 MB / 0.5764 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.4293, allocations: 42.02 kB / 0.5765 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.4328, allocations: 3.771 MB / 0.5801 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/0.4328, allocations: 11.94 kB / 0.5802 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007056/0.4398, allocations: 7.112 MB / 0.5871 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.441, allocations: 0.5918 MB / 0.5877 GB, free: 3.203 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.4412, allocations: 40 kB / 0.5877 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.4421, allocations: 182 kB / 0.5879 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.4423, allocations: 148.8 kB / 0.588 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.4425, allocations: 64.06 kB / 0.5881 GB, free: 2.777 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001957/0.4444, allocations: 1.584 MB / 0.5896 GB, free: 1.176 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4444, allocations: 0 / 0.5896 GB, free: 1.176 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003624/0.448, allocations: 1.036 MB / 0.5906 GB, free: 144 kB / 490.7 MB 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.0007667/0.4488, allocations: 195.4 kB / 0.5908 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00562/0.4544, allocations: 5.184 MB / 0.5959 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.088e-06/0.4544, allocations: 7.938 kB / 0.5959 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.4563, allocations: 1.871 MB / 0.5977 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.458, allocations: 266.5 kB / 0.598 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.4712, allocations: 10.11 MB / 0.6079 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002787/0.474, allocations: 2.677 MB / 0.6105 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009151/0.4749, allocations: 248.4 kB / 0.6107 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of SimCode: time 1.974e-06/0.4749, allocations: 0 / 0.6107 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of Templates: time 0.2137/0.6886, allocations: 72.9 MB / 0.6819 GB, free: 134.5 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.447500009089708]