Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001811/0.001811, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002433/0.002433, allocations: 211.9 kB / 23.73 MB, free: 4.164 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2419/0.2419, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 79.88 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3034, allocations: 66.1 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01319/0.3166, allocations: 10.72 MB / 0.5712 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008124/0.3248, allocations: 3.75 MB / 0.5748 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.3261, allocations: 67.75 kB / 0.5749 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.3287, allocations: 1.311 MB / 0.5762 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.3325, allocations: 1.763 MB / 0.5779 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3337, allocations: 0.499 MB / 0.5784 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004318/0.3381, allocations: 3.592 MB / 0.5819 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.3403, allocations: 1.826 MB / 0.5837 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.3419, allocations: 1.218 MB / 0.5849 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.3442, allocations: 1.81 MB / 0.5866 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00049/0.3447, allocations: 236 kB / 0.5869 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3463, allocations: 0.8502 MB / 0.5877 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.3478, allocations: 1.608 MB / 0.5893 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.3493, allocations: 1.338 MB / 0.5906 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006708/0.356, allocations: 6.235 MB / 0.5967 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.782e-05/0.3561, allocations: 7.984 kB / 0.5967 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3561, allocations: 0 / 0.5967 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.3562, allocations: 0 / 0.5967 GB, free: 15.01 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.009378/0.3656, allocations: 4.178 MB / 0.6007 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3657, allocations: 8.031 kB / 0.6008 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/0.367, allocations: 0.7083 MB / 0.6014 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.3776, allocations: 3.114 MB / 0.6045 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/0.3836, allocations: 2.054 MB / 0.6065 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.3838, allocations: 189 kB / 0.6067 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009167/0.3847, allocations: 255.7 kB / 0.6069 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.4017, allocations: 10.48 MB / 0.6171 GB, free: 9.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.59e-05/0.4018, allocations: 31.81 kB / 0.6172 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/0.4022, allocations: 111.8 kB / 0.6173 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004341/0.4065, allocations: 2.553 MB / 0.6198 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.4267, allocations: 9.891 MB / 0.6294 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0521/0.4788, allocations: 32.67 MB / 0.6613 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009415/0.4882, allocations: 4.032 MB / 0.6653 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.4913, allocations: 2.115 MB / 0.6673 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.4925, allocations: 0.5517 MB / 0.6679 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.4925, allocations: 52.56 kB / 0.6679 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.569e-06/0.4925, allocations: 0 / 0.6679 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03273/0.5252, allocations: 13.95 MB / 0.6816 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.5253, allocations: 81.34 kB / 0.6816 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/0.5299, allocations: 2.81 MB / 0.6844 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004509/0.5304, allocations: 53.69 kB / 0.6844 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.5326, allocations: 2.737 MB / 0.6871 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/0.5344, allocations: 0.8914 MB / 0.688 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/0.5367, allocations: 1.037 MB / 0.689 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5369, allocations: 305.1 kB / 0.6893 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005443/0.5423, allocations: 2.2 MB / 0.6914 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009645/0.5519, allocations: 5.063 MB / 0.6964 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/0.5693, allocations: 7.961 MB / 0.7041 GB, free: 12.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.5694, allocations: 28 kB / 0.7042 GB, free: 12.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.02506/0.5945, allocations: 7.873 MB / 0.7119 GB, free: 4.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.5946, allocations: 44 kB / 0.7119 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/0.5948, allocations: 100 kB / 0.712 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.599, allocations: 0.7931 MB / 0.7128 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006997/0.606, allocations: 1.185 MB / 0.7139 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008241/0.6142, allocations: 4.368 MB / 0.7182 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/0.6174, allocations: 299.7 kB / 0.7185 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00058/0.618, allocations: 296 kB / 0.7188 GB, free: 13.5 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 (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.003077/0.6211, allocations: 2.009 MB / 0.7207 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004541/0.6215, allocations: 282.1 kB / 0.721 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008113/0.6297, allocations: 4.725 MB / 0.7256 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.089e-05/0.6297, allocations: 51.98 kB / 0.7257 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.6297, allocations: 3.938 kB / 0.7257 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.6298, allocations: 7.969 kB / 0.7257 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2641/0.8938, allocations: 10.15 MB / 0.7356 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.8938, allocations: 7 kB / 0.7356 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.8952, allocations: 370.5 kB / 0.7359 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.8969, allocations: 0.6465 MB / 0.7366 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.8971, allocations: 46.14 kB / 0.7366 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/0.9008, allocations: 3.774 MB / 0.7403 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.9008, allocations: 11.62 kB / 0.7403 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008029/0.9088, allocations: 7.14 MB / 0.7473 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.9094, allocations: 240.3 kB / 0.7475 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.9097, allocations: 46.75 kB / 0.7476 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.9108, allocations: 146.3 kB / 0.7477 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.9111, allocations: 143.7 kB / 0.7478 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.9112, allocations: 63.25 kB / 0.7479 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001703/0.9129, allocations: 1.619 MB / 0.7495 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9129, allocations: 5.625 kB / 0.7495 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003086/0.916, allocations: 0.906 MB / 0.7504 GB, free: 146.5 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.007983/0.924, allocations: 7.785 MB / 0.758 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005778/0.9298, allocations: 5.145 MB / 0.763 GB, free: 135 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/0.9298, allocations: 0 / 0.763 GB, free: 135 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.9317, allocations: 1.875 MB / 0.7648 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.9335, allocations: 368.5 kB / 0.7652 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04016/0.9737, allocations: 39.77 MB / 0.804 GB, free: 88.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/0.9764, allocations: 2.634 MB / 0.8066 GB, free: 86.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003501/0.9799, allocations: 1.957 MB / 0.8085 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/0.9819, allocations: 1.71 MB / 0.8102 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of SimCode: time 1.974e-06/0.9819, allocations: 0 / 0.8102 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08414/1.066, allocations: 54.63 MB / 0.8635 GB, free: 28.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/16.07, allocations: 10.97 kB / 0.8635 GB, free: 28.49 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 19.174177952110767]