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.001686/0.001686, 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.001527/0.001527, allocations: 214.4 kB / 23.73 MB, free: 4.156 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.425/1.425, 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.2171/0.2171, allocations: 46.97 MB / 360.9 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="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.00203/0.00203, allocations: 71.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.308, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01323/0.3213, allocations: 10.73 MB / 0.5711 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008135/0.3294, allocations: 3.742 MB / 0.5747 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.3309, allocations: 67.75 kB / 0.5748 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.3337, allocations: 1.311 MB / 0.5761 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.3378, allocations: 1.767 MB / 0.5778 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.339, allocations: 0.4951 MB / 0.5783 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004547/0.3436, allocations: 3.598 MB / 0.5818 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.3458, allocations: 1.83 MB / 0.5836 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.3476, allocations: 1.218 MB / 0.5848 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.3501, allocations: 1.806 MB / 0.5865 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006023/0.3507, allocations: 236 kB / 0.5868 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.3526, allocations: 0.8502 MB / 0.5876 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.3542, allocations: 1.616 MB / 0.5892 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.3559, allocations: 1.331 MB / 0.5905 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007118/0.363, allocations: 6.239 MB / 0.5966 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.363, allocations: 4 kB / 0.5966 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.363, allocations: 0 / 0.5966 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.3632, allocations: 0 / 0.5966 GB, free: 15.23 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.008369/0.3716, allocations: 4.182 MB / 0.6007 GB, free: 10.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3716, allocations: 8.031 kB / 0.6007 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009615/0.3726, allocations: 0.7044 MB / 0.6014 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.3833, allocations: 3.11 MB / 0.6044 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/0.3883, allocations: 2.058 MB / 0.6064 GB, free: 5.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.3885, allocations: 185 kB / 0.6066 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006311/0.3891, allocations: 255.7 kB / 0.6068 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.4054, allocations: 10.48 MB / 0.617 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.36e-05/0.4055, allocations: 31.75 kB / 0.6171 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.4059, allocations: 119.8 kB / 0.6172 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004635/0.4105, allocations: 2.553 MB / 0.6197 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.4304, allocations: 9.895 MB / 0.6294 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05384/0.4843, allocations: 32.68 MB / 0.6613 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.4945, allocations: 4.025 MB / 0.6652 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/0.498, allocations: 2.118 MB / 0.6673 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.4993, allocations: 0.5517 MB / 0.6678 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.4994, allocations: 52.56 kB / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.22e-06/0.4994, allocations: 0 / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03263/0.532, allocations: 13.94 MB / 0.6815 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.5321, allocations: 81.33 kB / 0.6815 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/0.5358, allocations: 2.81 MB / 0.6843 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.536, allocations: 57.69 kB / 0.6843 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00201/0.538, allocations: 2.741 MB / 0.687 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000932/0.539, allocations: 0.8874 MB / 0.6879 GB, free: 224 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/0.5404, allocations: 1.037 MB / 0.6889 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5406, allocations: 309.1 kB / 0.6892 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/0.5438, allocations: 2.193 MB / 0.6913 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005667/0.5495, allocations: 5.067 MB / 0.6963 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.5598, allocations: 7.953 MB / 0.704 GB, free: 12.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.441e-05/0.5598, allocations: 28 kB / 0.7041 GB, free: 12.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01501/0.5748, allocations: 7.885 MB / 0.7118 GB, free: 4.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/0.5749, allocations: 48 kB / 0.7118 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.575, allocations: 96 kB / 0.7119 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.5774, allocations: 0.7891 MB / 0.7127 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004023/0.5814, allocations: 1.189 MB / 0.7138 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.5877, allocations: 4.365 MB / 0.7181 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/0.5908, allocations: 299.8 kB / 0.7184 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005659/0.5914, allocations: 296 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.003358/0.5948, allocations: 2.016 MB / 0.7206 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.5953, allocations: 274.2 kB / 0.7209 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008421/0.6037, allocations: 4.725 MB / 0.7255 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.869e-05/0.6037, allocations: 44 kB / 0.7256 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.6038, allocations: 7.938 kB / 0.7256 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/0.6038, allocations: 11.95 kB / 0.7256 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2767/0.8805, allocations: 10.14 MB / 0.7355 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.8805, allocations: 7.938 kB / 0.7355 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.882, allocations: 365.1 kB / 0.7358 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.8837, allocations: 0.6517 MB / 0.7365 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.8839, allocations: 48.92 kB / 0.7365 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.8878, allocations: 3.766 MB / 0.7402 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8878, allocations: 11.72 kB / 0.7402 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008273/0.896, allocations: 7.149 MB / 0.7472 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/0.8966, allocations: 243.1 kB / 0.7474 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003606/0.8969, allocations: 41.53 kB / 0.7475 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.8981, allocations: 140.3 kB / 0.7476 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.8984, allocations: 140.7 kB / 0.7477 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.8985, allocations: 66.53 kB / 0.7478 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001932/0.9004, allocations: 1.62 MB / 0.7494 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9004, allocations: 3.062 kB / 0.7494 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003462/0.9039, allocations: 0.9072 MB / 0.7503 GB, free: 146.8 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.008312/0.9122, allocations: 7.791 MB / 0.7579 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00593/0.9181, allocations: 5.143 MB / 0.7629 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.9181, allocations: 0 / 0.7629 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.9201, allocations: 1.877 MB / 0.7647 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.9218, allocations: 367.6 kB / 0.7651 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04333/0.9651, allocations: 39.77 MB / 0.8039 GB, free: 89.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/0.9687, allocations: 2.618 MB / 0.8065 GB, free: 86.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003634/0.9724, allocations: 1.957 MB / 0.8084 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/0.9745, allocations: 1.714 MB / 0.8101 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.833e-06/0.9745, allocations: 0 / 0.8101 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09231/1.067, allocations: 54.65 MB / 0.8634 GB, free: 28.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.69, allocations: 14.7 kB / 0.8634 GB, free: 28.96 MB / 0.5606 GB " [Timeout remaining time 644] (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: 18.972052490804344]