Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 116.8 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 189.2 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003002/0.003002, allocations: 67.98 kB / 491.8 MB, free: 30.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1339, allocations: 64.27 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01479/0.1487, allocations: 12.38 MB / 0.5551 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008402/0.1571, allocations: 3.949 MB / 0.559 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.1588, allocations: 63.81 kB / 0.559 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002622/0.1614, allocations: 1.339 MB / 0.5603 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.1654, allocations: 1.794 MB / 0.5621 GB, free: 496 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1666, allocations: 491 kB / 0.5625 GB, free: 4 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004805/0.1714, allocations: 3.582 MB / 0.566 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.174, allocations: 1.783 MB / 0.5678 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.176, allocations: 1.203 MB / 0.569 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.1789, allocations: 1.9 MB / 0.5708 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007529/0.1796, allocations: 236 kB / 0.571 GB, free: 7.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.1819, allocations: 0.9867 MB / 0.572 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.1839, allocations: 1.632 MB / 0.5736 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002809/0.1867, allocations: 1.894 MB / 0.5754 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008719/0.1954, allocations: 6.274 MB / 0.5816 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1954, allocations: 3.984 kB / 0.5816 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1954, allocations: 0 / 0.5816 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001986/0.1956, allocations: 0 / 0.5816 GB, free: 12.41 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.01036/0.206, allocations: 4.284 MB / 0.5858 GB, free: 8.055 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.206, allocations: 15.97 kB / 0.5858 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001796/0.2078, allocations: 0.7083 MB / 0.5865 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.2191, allocations: 3.11 MB / 0.5895 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/0.2254, allocations: 2.217 MB / 0.5917 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.2256, allocations: 185 kB / 0.5918 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001231/0.2268, allocations: 251.8 kB / 0.5921 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.2487, allocations: 10.49 MB / 0.6023 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001695/0.2488, allocations: 31.75 kB / 0.6024 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001177/0.25, allocations: 123.8 kB / 0.6025 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004849/0.2549, allocations: 2.545 MB / 0.605 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2765/0.5314, allocations: 9.916 MB / 0.6146 GB, free: 52.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04948/0.5809, allocations: 34.34 MB / 0.6482 GB, free: 30.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00835/0.5892, allocations: 4.961 MB / 0.653 GB, free: 27.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.5918, allocations: 2.117 MB / 0.6551 GB, free: 25.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.5931, allocations: 1.882 MB / 0.6569 GB, free: 23.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.5932, allocations: 48.56 kB / 0.657 GB, free: 23.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=229): time 5.901e-06/0.5932, allocations: 0 / 0.657 GB, free: 23.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=235): time 0.02996/0.6231, allocations: 14.05 MB / 0.6707 GB, free: 9.387 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.6232, allocations: 69.41 kB / 0.6708 GB, free: 9.309 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/0.6267, allocations: 2.657 MB / 0.6734 GB, free: 6.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003784/0.627, allocations: 57.7 kB / 0.6734 GB, free: 6.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.6282, allocations: 2.743 MB / 0.6761 GB, free: 3.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008431/0.6291, allocations: 0.893 MB / 0.677 GB, free: 3.074 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.6309, allocations: 1.048 MB / 0.678 GB, free: 2.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.6309, allocations: 305.1 kB / 0.6783 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/0.6341, allocations: 2.193 MB / 0.6804 GB, free: 15.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007047/0.6411, allocations: 5.07 MB / 0.6854 GB, free: 9.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.6532, allocations: 7.953 MB / 0.6931 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/0.6533, allocations: 32 kB / 0.6932 GB, free: 15.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01691/0.6703, allocations: 7.862 MB / 0.7008 GB, free: 7.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.6704, allocations: 50.03 kB / 0.7009 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001855/0.6706, allocations: 100 kB / 0.701 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.6729, allocations: 0.7889 MB / 0.7018 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/0.6771, allocations: 1.178 MB / 0.7029 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/0.684, allocations: 4.532 MB / 0.7073 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.6875, allocations: 295.2 kB / 0.7076 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008958/0.6884, allocations: 302 kB / 0.7079 GB, free: 428 kB / 494.1 MB 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 (631): * Single equations (assignments): 624 * 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.004431/0.6929, allocations: 2.023 MB / 0.7099 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/0.6936, allocations: 274.2 kB / 0.7101 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00948/0.7031, allocations: 4.712 MB / 0.7147 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-05/0.7032, allocations: 43.98 kB / 0.7148 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.7032, allocations: 4 kB / 0.7148 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.127e-05/0.7032, allocations: 11.97 kB / 0.7148 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02337/0.7266, allocations: 10.5 MB / 0.725 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/0.7266, allocations: 8 kB / 0.7251 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.7284, allocations: 363.4 kB / 0.7254 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/0.7306, allocations: 0.6483 MB / 0.726 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004175/0.731, allocations: 52.11 kB / 0.7261 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.7372, allocations: 3.903 MB / 0.7299 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.7373, allocations: 12 kB / 0.7299 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.7504, allocations: 7.145 MB / 0.7369 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009095/0.7513, allocations: 327.2 kB / 0.7372 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008262/0.7521, allocations: 44 kB / 0.7372 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.7539, allocations: 143.7 kB / 0.7374 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005503/0.7544, allocations: 133.3 kB / 0.7375 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003099/0.7547, allocations: 67.66 kB / 0.7376 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003527/0.7583, allocations: 1.628 MB / 0.7392 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7583, allocations: 0 / 0.7392 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005604/0.7639, allocations: 0.9295 MB / 0.7401 GB, free: 15.05 MB / 0.5294 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.01356/0.7774, allocations: 7.792 MB / 0.7477 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009601/0.787, allocations: 5.154 MB / 0.7527 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.787, allocations: 0 / 0.7527 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003285/0.7903, allocations: 1.878 MB / 0.7545 GB, free: 100 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.7931, allocations: 361.4 kB / 0.7549 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07833/0.8714, allocations: 39.67 MB / 0.7936 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006685/0.8781, allocations: 3.171 MB / 0.7967 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006086/0.8842, allocations: 1.965 MB / 0.7986 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003751/0.8879, allocations: 1.702 MB / 0.8003 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of SimCode: time 2.705e-06/0.8879, allocations: 0 / 0.8003 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.436/1.324, allocations: 54.91 MB / 0.8539 GB, free: 214.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.09/24.41, allocations: 3.547 kB / 0.8539 GB, free: 214.8 MB / 0.6231 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 27.81254139263183]