Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001398/0.001398, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001527/0.001527, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 46.95 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 75.83 kB / 0.4969 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3656, allocations: 66.02 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01375/0.3793, allocations: 10.65 MB / 0.5718 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008121/0.3874, allocations: 3.742 MB / 0.5754 GB, free: 5.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.3888, allocations: 63.81 kB / 0.5755 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.3915, allocations: 1.304 MB / 0.5767 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.3956, allocations: 1.778 MB / 0.5785 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3968, allocations: 499 kB / 0.579 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004768/0.4015, allocations: 3.606 MB / 0.5825 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.404, allocations: 1.834 MB / 0.5843 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.4058, allocations: 1.214 MB / 0.5855 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.4086, allocations: 1.888 MB / 0.5873 GB, free: 9.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005971/0.4092, allocations: 236 kB / 0.5875 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.411, allocations: 0.8503 MB / 0.5884 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.4127, allocations: 1.608 MB / 0.5899 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.4145, allocations: 1.346 MB / 0.5912 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007953/0.4224, allocations: 6.235 MB / 0.5973 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4224, allocations: 0 / 0.5973 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4224, allocations: 0 / 0.5973 GB, free: 15.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.4226, allocations: 4 kB / 0.5973 GB, free: 15.2 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.008766/0.4314, allocations: 4.174 MB / 0.6014 GB, free: 10.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4314, allocations: 15.91 kB / 0.6014 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001238/0.4316, allocations: 93.03 kB / 0.6015 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001081/0.4326, allocations: 0.7121 MB / 0.6022 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.4438, allocations: 3.118 MB / 0.6053 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005963/0.4498, allocations: 2.046 MB / 0.6073 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.45, allocations: 192.8 kB / 0.6074 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009439/0.4509, allocations: 251.7 kB / 0.6077 GB, free: 4.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.4694, allocations: 10.48 MB / 0.6179 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.068e-05/0.4695, allocations: 23.81 kB / 0.6179 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004138/0.4699, allocations: 123.8 kB / 0.6181 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004472/0.4744, allocations: 2.549 MB / 0.6205 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/0.494, allocations: 9.919 MB / 0.6302 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05429/0.5483, allocations: 32.67 MB / 0.6621 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009867/0.5582, allocations: 4.029 MB / 0.6661 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003344/0.5615, allocations: 2.113 MB / 0.6681 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.5627, allocations: 0.5556 MB / 0.6687 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.5628, allocations: 52.56 kB / 0.6687 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.612e-06/0.5628, allocations: 8 kB / 0.6687 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03419/0.597, allocations: 13.94 MB / 0.6823 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.5971, allocations: 73.41 kB / 0.6824 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/0.6012, allocations: 2.644 MB / 0.685 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004371/0.6016, allocations: 61.64 kB / 0.6851 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.6039, allocations: 2.737 MB / 0.6877 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/0.6051, allocations: 0.8874 MB / 0.6886 GB, free: 236 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.6067, allocations: 1.049 MB / 0.6896 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6069, allocations: 301.1 kB / 0.6899 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.6102, allocations: 2.2 MB / 0.6921 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005777/0.616, allocations: 5.059 MB / 0.697 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.627, allocations: 7.957 MB / 0.7048 GB, free: 12.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.6271, allocations: 28 kB / 0.7048 GB, free: 12.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01527/0.6423, allocations: 7.865 MB / 0.7125 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/0.6424, allocations: 51.98 kB / 0.7125 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/0.6426, allocations: 100 kB / 0.7126 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.645, allocations: 0.797 MB / 0.7134 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/0.6491, allocations: 1.181 MB / 0.7146 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006222/0.6553, allocations: 4.377 MB / 0.7188 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/0.659, allocations: 291.8 kB / 0.7191 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009076/0.6599, allocations: 303.9 kB / 0.7194 GB, free: 13.73 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.004557/0.6645, allocations: 2.015 MB / 0.7214 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00078/0.6652, allocations: 278.1 kB / 0.7216 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008947/0.6742, allocations: 4.717 MB / 0.7262 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-05/0.6743, allocations: 47.98 kB / 0.7263 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6743, allocations: 3.938 kB / 0.7263 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.85e-05/0.6743, allocations: 7.969 kB / 0.7263 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.342/1.016, allocations: 10.14 MB / 0.7362 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.016, allocations: 9.906 kB / 0.7362 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/1.018, allocations: 366.6 kB / 0.7366 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/1.019, allocations: 0.6513 MB / 0.7372 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/1.02, allocations: 41.27 kB / 0.7372 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/1.023, allocations: 3.775 MB / 0.7409 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/1.023, allocations: 11.81 kB / 0.7409 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008137/1.032, allocations: 7.144 MB / 0.7479 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/1.032, allocations: 250.3 kB / 0.7481 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/1.032, allocations: 37.97 kB / 0.7482 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.033, allocations: 140.7 kB / 0.7483 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.034, allocations: 141.6 kB / 0.7484 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.034, allocations: 71.44 kB / 0.7485 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001918/1.036, allocations: 1.621 MB / 0.7501 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.036, allocations: 288 / 0.7501 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003511/1.039, allocations: 0.9013 MB / 0.751 GB, free: 147.6 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.008156/1.048, allocations: 7.801 MB / 0.7586 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006252/1.054, allocations: 5.142 MB / 0.7636 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.054, allocations: 0 / 0.7636 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/1.056, allocations: 1.877 MB / 0.7655 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.058, allocations: 373.4 kB / 0.7658 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04788/1.106, allocations: 39.77 MB / 0.8046 GB, free: 89.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/1.109, allocations: 2.622 MB / 0.8072 GB, free: 86.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003563/1.112, allocations: 1.953 MB / 0.8091 GB, free: 84.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/1.114, allocations: 1.722 MB / 0.8108 GB, free: 83.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.593e-06/1.114, allocations: 0 / 0.8108 GB, free: 83.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08376/1.198, allocations: 56.75 MB / 0.8662 GB, free: 27.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.6/25.79, allocations: 17.8 kB / 0.8662 GB, free: 27.1 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/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_4.1.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: 29.535186775960028]