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.001447/0.001447, 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 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.001645/0.001645, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2297/0.2297, allocations: 46.97 MB / 360.9 MB, free: 4.047 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.002077/0.002077, allocations: 67.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01365/0.3327, allocations: 10.72 MB / 0.5711 GB, free: 9.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00778/0.3404, allocations: 3.754 MB / 0.5747 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.3418, allocations: 67.75 kB / 0.5748 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.3446, allocations: 1.3 MB / 0.5761 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.3485, allocations: 1.779 MB / 0.5778 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3497, allocations: 491 kB / 0.5783 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004536/0.3542, allocations: 3.613 MB / 0.5818 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003058/0.3573, allocations: 1.822 MB / 0.5836 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.3598, allocations: 1.214 MB / 0.5848 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.3629, allocations: 1.818 MB / 0.5865 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008305/0.3637, allocations: 236 kB / 0.5868 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.366, allocations: 0.8385 MB / 0.5876 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002692/0.3687, allocations: 1.612 MB / 0.5892 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.372, allocations: 1.342 MB / 0.5905 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008994/0.381, allocations: 6.235 MB / 0.5966 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.381, allocations: 0 / 0.5966 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.381, allocations: 4 kB / 0.5966 GB, free: 15.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002637/0.3813, allocations: 0 / 0.5966 GB, free: 15.24 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.01086/0.3921, allocations: 4.182 MB / 0.6007 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3922, allocations: 8.031 kB / 0.6007 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/0.3933, allocations: 0.7121 MB / 0.6014 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.404, allocations: 3.106 MB / 0.6044 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.4089, allocations: 2.058 MB / 0.6064 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.4091, allocations: 185 kB / 0.6066 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000629/0.4097, allocations: 255.7 kB / 0.6068 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.4264, allocations: 10.48 MB / 0.6171 GB, free: 9.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.087e-05/0.4265, allocations: 23.81 kB / 0.6171 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.4268, allocations: 115.8 kB / 0.6172 GB, free: 9.582 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004529/0.4314, allocations: 2.553 MB / 0.6197 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02098/0.4523, allocations: 9.899 MB / 0.6293 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05193/0.5043, allocations: 32.67 MB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/0.5135, allocations: 4.034 MB / 0.6652 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/0.5167, allocations: 2.117 MB / 0.6673 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.5179, allocations: 0.5517 MB / 0.6678 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/0.518, allocations: 52.56 kB / 0.6678 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.22e-06/0.518, allocations: 0 / 0.6678 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03196/0.5499, allocations: 13.94 MB / 0.6815 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.55, allocations: 77.34 kB / 0.6815 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/0.5538, allocations: 2.814 MB / 0.6843 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.5541, allocations: 49.7 kB / 0.6843 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/0.5562, allocations: 2.741 MB / 0.687 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.5572, allocations: 0.8952 MB / 0.6879 GB, free: 232 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/0.5587, allocations: 1.037 MB / 0.6889 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5588, allocations: 305.1 kB / 0.6892 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/0.5621, allocations: 2.2 MB / 0.6913 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/0.5682, allocations: 5.059 MB / 0.6963 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.5795, allocations: 7.957 MB / 0.704 GB, free: 12.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/0.5796, allocations: 28 kB / 0.7041 GB, free: 12.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01619/0.5958, allocations: 7.877 MB / 0.7118 GB, free: 4.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.5959, allocations: 44 kB / 0.7118 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/0.5961, allocations: 100 kB / 0.7119 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.5985, allocations: 0.7929 MB / 0.7127 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/0.6027, allocations: 1.185 MB / 0.7138 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00664/0.6094, allocations: 4.381 MB / 0.7181 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/0.6127, allocations: 291.8 kB / 0.7184 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009343/0.6137, allocations: 300 kB / 0.7187 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.004066/0.6177, allocations: 2.009 MB / 0.7206 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006703/0.6184, allocations: 270.2 kB / 0.7209 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00896/0.6274, allocations: 4.729 MB / 0.7255 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.387e-05/0.6274, allocations: 47.98 kB / 0.7256 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.6275, allocations: 7.875 kB / 0.7256 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.6275, allocations: 7.969 kB / 0.7256 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2685/0.896, allocations: 10.15 MB / 0.7355 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.896, allocations: 3.969 kB / 0.7355 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.8974, allocations: 373.1 kB / 0.7358 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.8992, allocations: 0.6506 MB / 0.7365 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.8994, allocations: 50.41 kB / 0.7365 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00377/0.9031, allocations: 3.767 MB / 0.7402 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.9032, allocations: 7.531 kB / 0.7402 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007809/0.911, allocations: 7.148 MB / 0.7472 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.9115, allocations: 249.8 kB / 0.7474 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/0.9118, allocations: 39.47 kB / 0.7475 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.9128, allocations: 141.9 kB / 0.7476 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.9131, allocations: 139.3 kB / 0.7477 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.9132, allocations: 70.36 kB / 0.7478 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001725/0.915, allocations: 1.622 MB / 0.7494 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.915, allocations: 288 / 0.7494 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003011/0.918, allocations: 0.9021 MB / 0.7503 GB, free: 146.9 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.007923/0.9259, allocations: 7.792 MB / 0.7579 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005867/0.9318, allocations: 5.152 MB / 0.7629 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.9318, allocations: 0 / 0.7629 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.9336, allocations: 1.873 MB / 0.7647 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.9354, allocations: 362.5 kB / 0.7651 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/0.9746, allocations: 39.76 MB / 0.8039 GB, free: 89.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.977, allocations: 2.626 MB / 0.8065 GB, free: 86.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003145/0.9802, allocations: 1.957 MB / 0.8084 GB, free: 84.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/0.9818, allocations: 1.706 MB / 0.8101 GB, free: 83.09 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.9818, allocations: 7.938 kB / 0.8101 GB, free: 83.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08305/1.065, allocations: 54.65 MB / 0.8634 GB, free: 29.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.41, allocations: 3.094 kB / 0.8634 GB, free: 29.05 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.445059538818896]