Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001337/0.001337, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001507/0.001507, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.545/1.545, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 46.9 MB / 357.4 MB, free: 10.45 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 79.88 kB / 0.4913 GB, free: 8.297 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.119, allocations: 66 MB / 0.5557 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02111/0.1401, allocations: 18.22 MB / 0.5735 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.1528, allocations: 5.315 MB / 0.5787 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.1556, allocations: 115.6 kB / 0.5788 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006614/0.1623, allocations: 3.091 MB / 0.5818 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00695/0.1692, allocations: 2.607 MB / 0.5844 GB, free: 8.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.1717, allocations: 1.026 MB / 0.5854 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2868/0.4585, allocations: 7.655 MB / 0.5928 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006963/0.4655, allocations: 3.641 MB / 0.5964 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005376/0.4708, allocations: 2.262 MB / 0.5986 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007917/0.4788, allocations: 3.521 MB / 0.602 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002495/0.4813, allocations: 451.8 kB / 0.6025 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004563/0.4858, allocations: 1.33 MB / 0.6038 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005206/0.491, allocations: 2.881 MB / 0.6066 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007608/0.4986, allocations: 3.218 MB / 0.6097 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.5132, allocations: 10.08 MB / 0.6196 GB, free: 1.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5132, allocations: 0 / 0.6196 GB, free: 1.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5132, allocations: 0 / 0.6196 GB, free: 1.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004113/0.5136, allocations: 1.188 kB / 0.6196 GB, free: 1.77 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.0245/0.5381, allocations: 7.511 MB / 0.6269 GB, free: 12.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5381, allocations: 8.875 kB / 0.6269 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003982/0.5421, allocations: 1.015 MB / 0.6279 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02902/0.5711, allocations: 5.646 MB / 0.6334 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/0.5837, allocations: 4.891 MB / 0.6382 GB, free: 6.734 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.584, allocations: 317.7 kB / 0.6385 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/0.5863, allocations: 441 kB / 0.6389 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0341/0.6204, allocations: 15.52 MB / 0.6541 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/0.6206, allocations: 67.81 kB / 0.6541 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/0.6221, allocations: 197 kB / 0.6543 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006792/0.6289, allocations: 3.379 MB / 0.6576 GB, free: 3.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03273/0.6616, allocations: 14.69 MB / 0.672 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/0.7642, allocations: 54.86 MB / 0.7256 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02064/0.7849, allocations: 7.821 MB / 0.7332 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00785/0.7927, allocations: 4.401 MB / 0.7375 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002876/0.7956, allocations: 2.212 MB / 0.7397 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.7957, allocations: 65.95 kB / 0.7397 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 1.01e-05/0.7957, allocations: 0 / 0.7397 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.1262/0.9219, allocations: 39.65 MB / 0.7784 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.922, allocations: 116 kB / 0.7785 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008902/0.9309, allocations: 4.319 MB / 0.7828 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001082/0.932, allocations: 81.7 kB / 0.7828 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003776/0.9358, allocations: 3.963 MB / 0.7867 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002734/0.9385, allocations: 1.561 MB / 0.7882 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005258/0.9438, allocations: 1.528 MB / 0.7897 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9439, allocations: 305.1 kB / 0.79 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007327/0.9512, allocations: 3.942 MB / 0.7939 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01181/0.963, allocations: 7.695 MB / 0.8014 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02126/0.9843, allocations: 12.65 MB / 0.8137 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001478/0.9844, allocations: 36 kB / 0.8138 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1008) (initialization): time 0.03442/1.019, allocations: 14.16 MB / 0.8276 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.019, allocations: 66.25 kB / 0.8277 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/1.019, allocations: 128 kB / 0.8278 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008862/1.028, allocations: 2.673 MB / 0.8304 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007188/1.035, allocations: 1.762 MB / 0.8321 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3011/1.336, allocations: 15.22 MB / 0.847 GB, free: 223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007862/1.344, allocations: 499.4 kB / 0.8475 GB, free: 223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002806/1.347, allocations: 429.2 kB / 0.8479 GB, free: 223 MB / 0.6544 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 (911): * Single equations (assignments): 903 * 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.01086/1.358, allocations: 2.862 MB / 0.8507 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/1.36, allocations: 495.9 kB / 0.8511 GB, free: 222.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/1.388, allocations: 10.53 MB / 0.8614 GB, free: 220.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/1.388, allocations: 63.33 kB / 0.8615 GB, free: 220.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-05/1.388, allocations: 9.719 kB / 0.8615 GB, free: 220.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/1.388, allocations: 18.33 kB / 0.8615 GB, free: 220.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0468/1.435, allocations: 21.19 MB / 0.8822 GB, free: 213.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.234e-05/1.435, allocations: 10.38 kB / 0.8822 GB, free: 213.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003462/1.439, allocations: 0.6767 MB / 0.8829 GB, free: 213.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007122/1.446, allocations: 2.487 MB / 0.8853 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00125/1.447, allocations: 75.67 kB / 0.8854 GB, free: 213.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.463, allocations: 13.83 MB / 0.8989 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/1.463, allocations: 15.94 kB / 0.8989 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/1.488, allocations: 15.11 MB / 0.9137 GB, free: 189.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.49, allocations: 0.5117 MB / 0.9142 GB, free: 189.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.492, allocations: 80.86 kB / 0.9142 GB, free: 189.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003814/1.495, allocations: 305.7 kB / 0.9145 GB, free: 188.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001608/1.497, allocations: 263.1 kB / 0.9148 GB, free: 188.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007568/1.498, allocations: 119.9 kB / 0.9149 GB, free: 188.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005016/1.503, allocations: 2.706 MB / 0.9175 GB, free: 185.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/1.503, allocations: 0 / 0.9175 GB, free: 185.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009498/1.512, allocations: 1.611 MB / 0.9191 GB, free: 184.1 MB / 0.6544 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.02383/1.536, allocations: 15.82 MB / 0.9346 GB, free: 168 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01517/1.551, allocations: 9.43 MB / 0.9438 GB, free: 158.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/1.551, allocations: 4 kB / 0.9438 GB, free: 158.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007171/1.558, allocations: 4.007 MB / 0.9477 GB, free: 154.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006861/1.565, allocations: 0.7424 MB / 0.9484 GB, free: 153.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/1.677, allocations: 70.15 MB / 1.017 GB, free: 77.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007661/1.685, allocations: 4.543 MB / 1.021 GB, free: 73.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006584/1.691, allocations: 2.729 MB / 1.024 GB, free: 70.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005255/1.697, allocations: 2.823 MB / 1.027 GB, free: 67.62 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/1.697, allocations: 0 / 1.027 GB, free: 67.62 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4505/2.147, allocations: 113.8 MB / 1.138 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.93/24.08, allocations: 8.562 kB / 1.138 GB, free: 203.9 MB / 0.6544 GB " [Timeout remaining time 636] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 28.186927450820804]