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.001263/0.001263, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001383/0.001383, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.371/1.371, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2143/0.2143, allocations: 46.95 MB / 360.9 MB, free: 4.016 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.001886/0.001886, allocations: 71.88 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2852, allocations: 66.03 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01333/0.2986, allocations: 10.73 MB / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008739/0.3073, allocations: 3.75 MB / 0.5747 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.3089, allocations: 71.75 kB / 0.5748 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.3115, allocations: 1.3 MB / 0.5761 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.3153, allocations: 1.775 MB / 0.5778 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.3164, allocations: 499 kB / 0.5783 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004223/0.3206, allocations: 3.609 MB / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.3227, allocations: 1.83 MB / 0.5836 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.324, allocations: 1.218 MB / 0.5848 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.3263, allocations: 1.884 MB / 0.5866 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003665/0.3267, allocations: 236 kB / 0.5868 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.3281, allocations: 0.8541 MB / 0.5877 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.3295, allocations: 1.612 MB / 0.5893 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.3309, allocations: 1.342 MB / 0.5906 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.337, allocations: 6.231 MB / 0.5967 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.337, allocations: 0 / 0.5967 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.337, allocations: 0 / 0.5967 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-05/0.3371, allocations: 0 / 0.5967 GB, free: 15.11 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.006702/0.3438, allocations: 4.182 MB / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3439, allocations: 12.03 kB / 0.6007 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008533/0.3447, allocations: 0.7082 MB / 0.6014 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.3551, allocations: 3.114 MB / 0.6045 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005099/0.3602, allocations: 2.05 MB / 0.6065 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.3604, allocations: 193 kB / 0.6067 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009934/0.3614, allocations: 251.7 kB / 0.6069 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/0.3796, allocations: 10.48 MB / 0.6171 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.3797, allocations: 23.8 kB / 0.6172 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/0.3801, allocations: 115.8 kB / 0.6173 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/0.3843, allocations: 2.557 MB / 0.6198 GB, free: 6.879 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.4016, allocations: 9.888 MB / 0.6294 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04811/0.4497, allocations: 32.68 MB / 0.6613 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009241/0.459, allocations: 4.04 MB / 0.6653 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/0.4621, allocations: 2.113 MB / 0.6674 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.4634, allocations: 0.5556 MB / 0.6679 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.4634, allocations: 54.2 kB / 0.6679 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.269e-06/0.4634, allocations: 0 / 0.6679 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03143/0.4949, allocations: 13.93 MB / 0.6816 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.4949, allocations: 77.34 kB / 0.6816 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.4984, allocations: 2.806 MB / 0.6844 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.4987, allocations: 61.7 kB / 0.6844 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.5005, allocations: 2.737 MB / 0.6871 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009002/0.5014, allocations: 0.8874 MB / 0.688 GB, free: 96 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/0.5029, allocations: 1.052 MB / 0.689 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.503, allocations: 301.1 kB / 0.6893 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.5061, allocations: 2.204 MB / 0.6914 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005268/0.5114, allocations: 5.059 MB / 0.6964 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009438/0.5208, allocations: 7.957 MB / 0.7041 GB, free: 12.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.58e-05/0.5209, allocations: 32 kB / 0.7042 GB, free: 12.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01274/0.5336, allocations: 7.869 MB / 0.7119 GB, free: 4.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.5337, allocations: 48 kB / 0.7119 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.5338, allocations: 100 kB / 0.712 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.536, allocations: 0.7811 MB / 0.7128 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.5396, allocations: 1.189 MB / 0.7139 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.5454, allocations: 4.385 MB / 0.7182 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/0.5484, allocations: 291.7 kB / 0.7185 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004418/0.5488, allocations: 304 kB / 0.7188 GB, free: 13.59 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.002803/0.5516, allocations: 2.009 MB / 0.7207 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/0.552, allocations: 270.2 kB / 0.721 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.5598, allocations: 4.721 MB / 0.7256 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.94e-05/0.5599, allocations: 43.98 kB / 0.7256 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5599, allocations: 7.938 kB / 0.7257 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.5599, allocations: 11.97 kB / 0.7257 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2504/0.8104, allocations: 10.15 MB / 0.7356 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.8104, allocations: 11.83 kB / 0.7356 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.8117, allocations: 363 kB / 0.7359 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.8136, allocations: 0.6561 MB / 0.7366 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.8137, allocations: 43.5 kB / 0.7366 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.8173, allocations: 3.768 MB / 0.7403 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8173, allocations: 11.7 kB / 0.7403 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007864/0.8252, allocations: 7.148 MB / 0.7473 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/0.8257, allocations: 242.1 kB / 0.7475 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.8261, allocations: 42.73 kB / 0.7476 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.8271, allocations: 142.5 kB / 0.7477 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.8274, allocations: 144.3 kB / 0.7478 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/0.8275, allocations: 64.97 kB / 0.7479 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001792/0.8293, allocations: 1.618 MB / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8293, allocations: 0 / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003299/0.8326, allocations: 0.9083 MB / 0.7504 GB, free: 146.7 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.007979/0.8406, allocations: 7.787 MB / 0.758 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005989/0.8466, allocations: 5.143 MB / 0.763 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/0.8466, allocations: 288 / 0.763 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.8484, allocations: 1.876 MB / 0.7648 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.8502, allocations: 371.2 kB / 0.7652 GB, free: 133 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03777/0.8879, allocations: 39.77 MB / 0.804 GB, free: 89.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.8904, allocations: 2.63 MB / 0.8066 GB, free: 86.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003309/0.8937, allocations: 1.961 MB / 0.8085 GB, free: 84.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/0.8956, allocations: 1.706 MB / 0.8102 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of SimCode: time 1.422e-06/0.8956, allocations: 0 / 0.8102 GB, free: 82.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08304/0.9787, allocations: 57.03 MB / 0.8659 GB, free: 26.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.57, allocations: 2.656 kB / 0.8659 GB, free: 26.48 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.628579184995033]