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.001815/0.001815, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.002247/0.002247, allocations: 205 kB / 24.38 MB, free: 4.188 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.445/1.445, allocations: 230.2 MB / 257.7 MB, free: 8.277 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.2417/0.2417, allocations: 46.88 MB / 361 MB, free: 4.477 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.002537/0.002537, allocations: 79.86 kB / 0.4962 GB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3432, allocations: 66.02 MB / 0.5607 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01445/0.3577, allocations: 12.27 MB / 0.5726 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00913/0.3668, allocations: 3.952 MB / 0.5765 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3693, allocations: 67.75 kB / 0.5766 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.3727, allocations: 1.343 MB / 0.5779 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.3776, allocations: 1.779 MB / 0.5796 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3791, allocations: 499 kB / 0.5801 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006424/0.3855, allocations: 3.608 MB / 0.5836 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.3882, allocations: 1.609 MB / 0.5852 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.3907, allocations: 1.214 MB / 0.5864 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.3939, allocations: 1.892 MB / 0.5882 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009072/0.3948, allocations: 236 kB / 0.5884 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.3971, allocations: 0.8541 MB / 0.5893 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.3993, allocations: 1.604 MB / 0.5908 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00298/0.4023, allocations: 1.882 MB / 0.5927 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00895/0.4112, allocations: 6.185 MB / 0.5987 GB, free: 13.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4112, allocations: 7.938 kB / 0.5987 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4112, allocations: 0 / 0.5987 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002258/0.4115, allocations: 0 / 0.5987 GB, free: 13.51 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.01041/0.4219, allocations: 4.246 MB / 0.6029 GB, free: 9.188 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.4219, allocations: 12.03 kB / 0.6029 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001825/0.4237, allocations: 0.7083 MB / 0.6036 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.4348, allocations: 3.114 MB / 0.6066 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005527/0.4403, allocations: 2.1 MB / 0.6087 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/0.4406, allocations: 189 kB / 0.6088 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001595/0.4422, allocations: 255.7 kB / 0.6091 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.4619, allocations: 10.48 MB / 0.6193 GB, free: 7.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.462, allocations: 23.81 kB / 0.6193 GB, free: 7.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006621/0.4627, allocations: 115.8 kB / 0.6195 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004591/0.4673, allocations: 2.549 MB / 0.6219 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.4884, allocations: 9.919 MB / 0.6316 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05675/0.5452, allocations: 34.34 MB / 0.6652 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.5553, allocations: 4.952 MB / 0.67 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00361/0.5589, allocations: 2.115 MB / 0.6721 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/0.5612, allocations: 1.876 MB / 0.6739 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.739e-05/0.5613, allocations: 56.56 kB / 0.674 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=229): time 5.591e-06/0.5613, allocations: 0 / 0.674 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.03617/0.5974, allocations: 14.11 MB / 0.6877 GB, free: 320 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.5975, allocations: 73.41 kB / 0.6878 GB, free: 232 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/0.6021, allocations: 2.632 MB / 0.6904 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005133/0.6026, allocations: 57.7 kB / 0.6904 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/0.6051, allocations: 2.737 MB / 0.6931 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/0.6065, allocations: 0.8912 MB / 0.694 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/0.6083, allocations: 1.052 MB / 0.695 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6085, allocations: 301.1 kB / 0.6953 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/0.6121, allocations: 2.2 MB / 0.6974 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006269/0.6184, allocations: 5.059 MB / 0.7024 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.6293, allocations: 7.957 MB / 0.7101 GB, free: 6.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.842e-05/0.6294, allocations: 28 kB / 0.7102 GB, free: 6.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01691/0.6463, allocations: 7.869 MB / 0.7179 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.6464, allocations: 51.98 kB / 0.7179 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/0.6466, allocations: 100 kB / 0.718 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/0.6492, allocations: 0.7935 MB / 0.7188 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004304/0.6535, allocations: 1.181 MB / 0.7199 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/0.6601, allocations: 4.52 MB / 0.7243 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.6635, allocations: 291.8 kB / 0.7246 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009812/0.6645, allocations: 304 kB / 0.7249 GB, free: 7.176 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.004132/0.6686, allocations: 2.014 MB / 0.7269 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/0.6693, allocations: 278.1 kB / 0.7271 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009325/0.6786, allocations: 4.713 MB / 0.7317 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-05/0.6787, allocations: 47.97 kB / 0.7318 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/0.6787, allocations: 3.938 kB / 0.7318 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/0.6787, allocations: 11.97 kB / 0.7318 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3221/1.001, allocations: 10.49 MB / 0.7421 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/1.001, allocations: 10.81 kB / 0.7421 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.002, allocations: 365 kB / 0.7424 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/1.004, allocations: 0.6516 MB / 0.743 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000377/1.005, allocations: 49.03 kB / 0.7431 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004383/1.009, allocations: 3.895 MB / 0.7469 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.009, allocations: 15.56 kB / 0.7469 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009863/1.019, allocations: 7.15 MB / 0.7539 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/1.02, allocations: 323.6 kB / 0.7542 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007756/1.021, allocations: 42.88 kB / 0.7542 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.022, allocations: 140.5 kB / 0.7544 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004443/1.023, allocations: 141.2 kB / 0.7545 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/1.023, allocations: 71.56 kB / 0.7546 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002635/1.025, allocations: 1.617 MB / 0.7562 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.025, allocations: 0 / 0.7562 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004365/1.03, allocations: 0.9107 MB / 0.757 GB, free: 142.4 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.01001/1.04, allocations: 7.787 MB / 0.7647 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007382/1.047, allocations: 5.151 MB / 0.7697 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.047, allocations: 0 / 0.7697 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002626/1.05, allocations: 1.874 MB / 0.7715 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.053, allocations: 365.6 kB / 0.7719 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05919/1.112, allocations: 39.79 MB / 0.8107 GB, free: 83.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004496/1.117, allocations: 3.166 MB / 0.8138 GB, free: 80.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003908/1.12, allocations: 1.957 MB / 0.8157 GB, free: 78.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/1.123, allocations: 1.706 MB / 0.8174 GB, free: 76.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/1.123, allocations: 0 / 0.8174 GB, free: 76.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0934/1.216, allocations: 59.11 MB / 0.8751 GB, free: 17.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.01/23.23, allocations: 10.8 kB / 0.8751 GB, free: 17.64 MB / 0.5606 GB " [Timeout remaining time 637] (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.0.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: 26.33838237496093]