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.001671/0.001671, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.001998/0.001998, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.489/1.489, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2241/0.2241, allocations: 46.92 MB / 357.1 MB, free: 10.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72.03 kB / 0.4909 GB, free: 7.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1298, allocations: 65.98 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01432/0.1442, allocations: 12.33 MB / 0.5674 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00895/0.1531, allocations: 3.96 MB / 0.5713 GB, free: 5.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.1551, allocations: 67.75 kB / 0.5714 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.1585, allocations: 1.343 MB / 0.5727 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.1635, allocations: 1.759 MB / 0.5744 GB, free: 2.281 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.1651, allocations: 499 kB / 0.5749 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006059/0.1711, allocations: 3.602 MB / 0.5784 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003302/0.1744, allocations: 1.775 MB / 0.5801 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.1773, allocations: 1.214 MB / 0.5813 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.1804, allocations: 1.892 MB / 0.5831 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008268/0.1813, allocations: 236 kB / 0.5834 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.1834, allocations: 0.9711 MB / 0.5843 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001825/0.1852, allocations: 1.608 MB / 0.5859 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002385/0.1876, allocations: 1.882 MB / 0.5877 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3118/0.4994, allocations: 6.204 MB / 0.5938 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.4994, allocations: 1.266 kB / 0.5938 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4995, allocations: 0 / 0.5938 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003111/0.4998, allocations: 0 / 0.5938 GB, free: 12.04 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.01279/0.5125, allocations: 4.251 MB / 0.5979 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.5126, allocations: 13.25 kB / 0.5979 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002308/0.5149, allocations: 0.7082 MB / 0.5986 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.528, allocations: 3.107 MB / 0.6017 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006646/0.5347, allocations: 2.11 MB / 0.6037 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.535, allocations: 187.4 kB / 0.6039 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/0.5371, allocations: 250.9 kB / 0.6042 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/0.5625, allocations: 10.48 MB / 0.6144 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/0.5627, allocations: 21.86 kB / 0.6144 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.5642, allocations: 123.8 kB / 0.6145 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004995/0.5692, allocations: 2.546 MB / 0.617 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.589, allocations: 9.924 MB / 0.6267 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06002/0.649, allocations: 34.33 MB / 0.6602 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.6595, allocations: 4.969 MB / 0.6651 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003594/0.6631, allocations: 2.116 MB / 0.6672 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002029/0.6651, allocations: 1.885 MB / 0.669 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.6652, allocations: 52.56 kB / 0.669 GB, free: 8.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 6.462e-06/0.6652, allocations: 0 / 0.669 GB, free: 8.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.04029/0.7055, allocations: 14.05 MB / 0.6828 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.7055, allocations: 74.47 kB / 0.6828 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004891/0.7104, allocations: 2.643 MB / 0.6854 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006047/0.711, allocations: 53.7 kB / 0.6855 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002642/0.7137, allocations: 2.741 MB / 0.6881 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/0.7153, allocations: 0.8853 MB / 0.689 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002756/0.7181, allocations: 1.04 MB / 0.69 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7183, allocations: 305.1 kB / 0.6903 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004317/0.7226, allocations: 2.2 MB / 0.6925 GB, free: 76 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007832/0.7304, allocations: 5.061 MB / 0.6974 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.7424, allocations: 7.963 MB / 0.7052 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/0.7425, allocations: 28.69 kB / 0.7052 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01836/0.7609, allocations: 7.875 MB / 0.7129 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.761, allocations: 48 kB / 0.7129 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/0.7612, allocations: 100 kB / 0.713 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/0.7638, allocations: 0.7971 MB / 0.7138 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/0.7682, allocations: 1.181 MB / 0.715 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006595/0.7748, allocations: 4.517 MB / 0.7194 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/0.7786, allocations: 296.5 kB / 0.7197 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009294/0.7796, allocations: 299 kB / 0.72 GB, free: 1.887 MB / 0.5294 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.004141/0.7837, allocations: 2.019 MB / 0.7219 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006067/0.7843, allocations: 274.1 kB / 0.7222 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009248/0.7936, allocations: 4.72 MB / 0.7268 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.042e-05/0.7936, allocations: 47.98 kB / 0.7268 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.7937, allocations: 0 / 0.7268 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-05/0.7937, allocations: 11.91 kB / 0.7269 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/0.818, allocations: 10.5 MB / 0.7371 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/0.818, allocations: 4 kB / 0.7371 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.8199, allocations: 363.4 kB / 0.7375 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00232/0.8222, allocations: 0.6643 MB / 0.7381 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/0.8227, allocations: 38.81 kB / 0.7381 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005753/0.8284, allocations: 3.906 MB / 0.742 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.8284, allocations: 11.94 kB / 0.742 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.8418, allocations: 7.145 MB / 0.7489 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/0.8427, allocations: 323.2 kB / 0.7493 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/0.8437, allocations: 43.98 kB / 0.7493 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/0.8457, allocations: 142.1 kB / 0.7494 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006836/0.8464, allocations: 137 kB / 0.7496 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/0.8466, allocations: 71.92 kB / 0.7496 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003269/0.8499, allocations: 1.612 MB / 0.7512 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8499, allocations: 0 / 0.7512 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005765/0.8557, allocations: 0.9122 MB / 0.7521 GB, free: 0.5508 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.01458/0.8703, allocations: 7.793 MB / 0.7597 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01055/0.8808, allocations: 5.145 MB / 0.7647 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/0.8808, allocations: 3.625 kB / 0.7647 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003915/0.8847, allocations: 1.88 MB / 0.7666 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/0.8882, allocations: 361 kB / 0.7669 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07683/0.965, allocations: 39.66 MB / 0.8056 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005641/0.9707, allocations: 3.167 MB / 0.8087 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004938/0.9756, allocations: 1.957 MB / 0.8106 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003506/0.9791, allocations: 1.719 MB / 0.8123 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of SimCode: time 1.653e-06/0.9791, allocations: 0 / 0.8123 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4136/1.393, allocations: 54.83 MB / 0.8659 GB, free: 237.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.77/24.16, allocations: 11.98 kB / 0.8659 GB, free: 237.1 MB / 0.6544 GB " [Timeout remaining time 636] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.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_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: 27.342358227993827]