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.001297/0.001297, allocations: 116.5 kB / 20.43 MB, free: 1.301 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.001429/0.001429, allocations: 207.2 kB / 23.74 MB, free: 4.539 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.411/1.411, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2155/0.2155, allocations: 46.93 MB / 360.8 MB, free: 4.16 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.002276/0.002276, allocations: 83.86 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.312, allocations: 66.08 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01401/0.326, allocations: 12.36 MB / 0.5728 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008814/0.3349, allocations: 3.98 MB / 0.5767 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.3368, allocations: 71.75 kB / 0.5768 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.3396, allocations: 1.347 MB / 0.5781 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004062/0.3437, allocations: 1.774 MB / 0.5798 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3449, allocations: 499 kB / 0.5803 GB, free: 168 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004885/0.3498, allocations: 3.608 MB / 0.5838 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.3521, allocations: 1.834 MB / 0.5856 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.3539, allocations: 1.211 MB / 0.5868 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.3565, allocations: 1.892 MB / 0.5886 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005042/0.357, allocations: 236 kB / 0.5889 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.359, allocations: 0.9672 MB / 0.5898 GB, free: 6.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.3606, allocations: 1.616 MB / 0.5914 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.3628, allocations: 1.875 MB / 0.5932 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007477/0.3702, allocations: 6.212 MB / 0.5993 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3703, allocations: 4 kB / 0.5993 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3703, allocations: 0 / 0.5993 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001506/0.3704, allocations: 0 / 0.5993 GB, free: 12.62 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.00876/0.3792, allocations: 4.182 MB / 0.6034 GB, free: 8.379 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3792, allocations: 8.031 kB / 0.6034 GB, free: 8.371 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/0.3805, allocations: 0.7122 MB / 0.6041 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.391, allocations: 3.106 MB / 0.6071 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/0.3961, allocations: 2.038 MB / 0.6091 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.3963, allocations: 189 kB / 0.6093 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008439/0.3971, allocations: 259.7 kB / 0.6095 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.4141, allocations: 10.47 MB / 0.6197 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.773e-05/0.4142, allocations: 23.81 kB / 0.6198 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.4145, allocations: 115.8 kB / 0.6199 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004275/0.4188, allocations: 2.561 MB / 0.6224 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.4377, allocations: 9.919 MB / 0.6321 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05391/0.4916, allocations: 34.21 MB / 0.6655 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009508/0.5011, allocations: 4.052 MB / 0.6694 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003451/0.5045, allocations: 2.111 MB / 0.6715 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.5058, allocations: 0.5595 MB / 0.672 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.5058, allocations: 52.56 kB / 0.6721 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.428e-06/0.5059, allocations: 7.875 kB / 0.6721 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03284/0.5387, allocations: 13.9 MB / 0.6857 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.5388, allocations: 73.39 kB / 0.6857 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/0.5425, allocations: 2.644 MB / 0.6883 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.5428, allocations: 53.7 kB / 0.6884 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00212/0.545, allocations: 2.741 MB / 0.691 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.546, allocations: 0.8874 MB / 0.6919 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/0.5475, allocations: 1.045 MB / 0.6929 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5477, allocations: 305.1 kB / 0.6932 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/0.551, allocations: 2.193 MB / 0.6954 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005878/0.5569, allocations: 5.067 MB / 0.7003 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.567, allocations: 7.953 MB / 0.7081 GB, free: 8.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.006e-05/0.5671, allocations: 28 kB / 0.7081 GB, free: 8.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01529/0.5824, allocations: 7.869 MB / 0.7158 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.5824, allocations: 52.03 kB / 0.7158 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.5826, allocations: 100 kB / 0.7159 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.5849, allocations: 0.7966 MB / 0.7167 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/0.5889, allocations: 1.178 MB / 0.7179 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006208/0.5951, allocations: 4.416 MB / 0.7222 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/0.5984, allocations: 291.8 kB / 0.7225 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/0.599, allocations: 296 kB / 0.7227 GB, free: 9.723 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.003463/0.6025, allocations: 2.016 MB / 0.7247 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.6029, allocations: 278.1 kB / 0.725 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008175/0.6111, allocations: 4.714 MB / 0.7296 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/0.6112, allocations: 47.98 kB / 0.7296 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.6112, allocations: 7.938 kB / 0.7296 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.6112, allocations: 7.969 kB / 0.7296 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2468/0.858, allocations: 10.48 MB / 0.7399 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.858, allocations: 7.781 kB / 0.7399 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.8594, allocations: 355.6 kB / 0.7402 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/0.8611, allocations: 0.6583 MB / 0.7409 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.8613, allocations: 46.77 kB / 0.7409 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003764/0.8651, allocations: 3.797 MB / 0.7446 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.8651, allocations: 11.38 kB / 0.7446 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008069/0.8731, allocations: 7.145 MB / 0.7516 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.8737, allocations: 246.4 kB / 0.7518 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/0.874, allocations: 42.08 kB / 0.7519 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.875, allocations: 147.9 kB / 0.752 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.8753, allocations: 134.4 kB / 0.7521 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.8754, allocations: 59.23 kB / 0.7522 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001942/0.8774, allocations: 1.623 MB / 0.7538 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8774, allocations: 4.219 kB / 0.7538 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003362/0.8807, allocations: 0.9056 MB / 0.7547 GB, free: 144 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.008118/0.8889, allocations: 7.803 MB / 0.7623 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005831/0.8947, allocations: 5.135 MB / 0.7673 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.8947, allocations: 4 kB / 0.7673 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.8966, allocations: 1.87 MB / 0.7691 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.8983, allocations: 372 kB / 0.7695 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/0.9407, allocations: 39.78 MB / 0.8083 GB, free: 85.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.9431, allocations: 3.175 MB / 0.8114 GB, free: 82.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003205/0.9463, allocations: 1.957 MB / 0.8133 GB, free: 80.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/0.948, allocations: 1.71 MB / 0.815 GB, free: 78.69 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.948, allocations: 0 / 0.815 GB, free: 78.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08915/1.037, allocations: 59.16 MB / 0.8728 GB, free: 19.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.56/25.6, allocations: 7.062 kB / 0.8728 GB, free: 19.76 MB / 0.5606 GB " [Timeout remaining time 634] (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.1.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: 28.609445187001256]