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.001716/0.001716, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002156/0.002156, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.437/1.437, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.2191/0.2191, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 72.47 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1071, allocations: 61.06 MB / 0.5162 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01398/0.1211, allocations: 11.06 MB / 0.527 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00821/0.1293, allocations: 3.79 MB / 0.5307 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.131, allocations: 71.75 kB / 0.5307 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.1341, allocations: 1.304 MB / 0.532 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.1387, allocations: 1.841 MB / 0.5338 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1402, allocations: 0.4912 MB / 0.5343 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005334/0.1455, allocations: 3.653 MB / 0.5379 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2207/0.3662, allocations: 1.866 MB / 0.5397 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.3684, allocations: 1.263 MB / 0.5409 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.3716, allocations: 1.847 MB / 0.5427 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007555/0.3723, allocations: 242.7 kB / 0.5429 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.3745, allocations: 0.8473 MB / 0.5438 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.3765, allocations: 1.677 MB / 0.5454 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.3784, allocations: 1.395 MB / 0.5468 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009025/0.3874, allocations: 6.43 MB / 0.553 GB, free: 8.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3874, allocations: 0.6094 kB / 0.553 GB, free: 8.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3874, allocations: 1.219 kB / 0.5531 GB, free: 8.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002523/0.3877, allocations: 0 / 0.5531 GB, free: 8.371 MB / 414.1 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.01088/0.3986, allocations: 4.303 MB / 0.5573 GB, free: 6.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3986, allocations: 9.094 kB / 0.5573 GB, free: 6.535 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001562/0.4002, allocations: 0.7255 MB / 0.558 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.4108, allocations: 3.109 MB / 0.561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006178/0.417, allocations: 2.337 MB / 0.5633 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.4172, allocations: 195.4 kB / 0.5635 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.4191, allocations: 257.2 kB / 0.5637 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.4404, allocations: 10.7 MB / 0.5742 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.522e-05/0.4405, allocations: 25.64 kB / 0.5742 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.4409, allocations: 124.5 kB / 0.5743 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00478/0.4457, allocations: 2.644 MB / 0.5769 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.4655, allocations: 9.99 MB / 0.5866 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05956/0.5251, allocations: 33.45 MB / 0.6193 GB, free: 6.246 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009957/0.535, allocations: 4.047 MB / 0.6233 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/0.5385, allocations: 2.115 MB / 0.6253 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.5397, allocations: 0.5378 MB / 0.6259 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.5398, allocations: 54.75 kB / 0.6259 GB, free: 15.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 5.491e-06/0.5398, allocations: 0 / 0.6259 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03366/0.5735, allocations: 14.04 MB / 0.6396 GB, free: 1.496 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.5735, allocations: 77.34 kB / 0.6397 GB, free: 1.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.578, allocations: 2.862 MB / 0.6425 GB, free: 14.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004474/0.5784, allocations: 57.7 kB / 0.6425 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.5805, allocations: 2.82 MB / 0.6453 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/0.5818, allocations: 0.89 MB / 0.6462 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.5835, allocations: 1.051 MB / 0.6472 GB, free: 9.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5836, allocations: 302.6 kB / 0.6475 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/0.5875, allocations: 2.212 MB / 0.6496 GB, free: 7.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006929/0.5945, allocations: 5.126 MB / 0.6546 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.6056, allocations: 8.047 MB / 0.6625 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/0.6057, allocations: 28 kB / 0.6625 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01553/0.6212, allocations: 7.944 MB / 0.6703 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.6213, allocations: 48 kB / 0.6703 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001228/0.6214, allocations: 104 kB / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/0.6237, allocations: 0.7932 MB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004047/0.6277, allocations: 1.197 MB / 0.6724 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.6338, allocations: 4.388 MB / 0.6767 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/0.6375, allocations: 297.8 kB / 0.677 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008619/0.6383, allocations: 300 kB / 0.6772 GB, free: 8.43 MB / 0.5137 GB 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 (640): * Single equations (assignments): 633 * 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.004284/0.6426, allocations: 2.056 MB / 0.6792 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006025/0.6432, allocations: 286.1 kB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/0.6517, allocations: 4.72 MB / 0.6841 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.719e-05/0.6518, allocations: 51.92 kB / 0.6842 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6518, allocations: 0 / 0.6842 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.6518, allocations: 15.91 kB / 0.6842 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02007/0.6719, allocations: 10.21 MB / 0.6942 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.6719, allocations: 8.156 kB / 0.6942 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.6735, allocations: 363.4 kB / 0.6945 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.6755, allocations: 0.653 MB / 0.6952 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.6758, allocations: 51.92 kB / 0.6952 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/0.6809, allocations: 3.772 MB / 0.6989 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.6809, allocations: 11.94 kB / 0.6989 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/0.6926, allocations: 7.152 MB / 0.7059 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/0.6947, allocations: 0.5878 MB / 0.7065 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007457/0.6955, allocations: 46.64 kB / 0.7065 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.697, allocations: 143.7 kB / 0.7066 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.6974, allocations: 133 kB / 0.7068 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.6975, allocations: 67.92 kB / 0.7068 GB, free: 9.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003153/0.7007, allocations: 1.656 MB / 0.7085 GB, free: 8.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7007, allocations: 0 / 0.7085 GB, free: 8.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005471/0.7062, allocations: 0.94 MB / 0.7094 GB, free: 7.148 MB / 0.545 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.01226/0.7184, allocations: 7.802 MB / 0.717 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00918/0.7276, allocations: 5.17 MB / 0.722 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.7276, allocations: 4 kB / 0.722 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003189/0.7308, allocations: 1.877 MB / 0.7239 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.7331, allocations: 358.2 kB / 0.7242 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07337/0.8065, allocations: 40.41 MB / 0.7637 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004468/0.811, allocations: 2.682 MB / 0.7663 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004744/0.8157, allocations: 1.972 MB / 0.7682 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002742/0.8184, allocations: 1.761 MB / 0.7699 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of SimCode: time 1.223e-06/0.8184, allocations: 0 / 0.7699 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3127/1.131, allocations: 55.17 MB / 0.8238 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/16.12, allocations: 4 kB / 0.8238 GB, free: 194.6 MB / 0.6075 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/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: 19.185711439233273]