Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001606/0.001606, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001751/0.001751, allocations: 219 kB / 21.46 MB, free: 1.586 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.61/1.61, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.91 MB / 355.8 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003013/0.003013, allocations: 71.89 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1434, allocations: 65.41 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01457/0.158, allocations: 12.32 MB / 0.5645 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008621/0.1666, allocations: 3.968 MB / 0.5684 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.1683, allocations: 63.81 kB / 0.5684 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002938/0.1712, allocations: 1.343 MB / 0.5697 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.1756, allocations: 1.763 MB / 0.5714 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.177, allocations: 495 kB / 0.5719 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005269/0.1822, allocations: 3.612 MB / 0.5754 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.1849, allocations: 1.783 MB / 0.5772 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.1869, allocations: 1.211 MB / 0.5784 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.1897, allocations: 1.892 MB / 0.5802 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006756/0.1904, allocations: 236 kB / 0.5804 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.1924, allocations: 0.9672 MB / 0.5814 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.1941, allocations: 1.612 MB / 0.583 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.1963, allocations: 1.879 MB / 0.5848 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008566/0.2049, allocations: 6.208 MB / 0.5909 GB, free: 2.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2049, allocations: 0 / 0.5909 GB, free: 2.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2049, allocations: 0 / 0.5909 GB, free: 2.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002093/0.2051, allocations: 4 kB / 0.5909 GB, free: 2.605 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.3466/0.5517, allocations: 4.249 MB / 0.595 GB, free: 36.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5518, allocations: 10.31 kB / 0.595 GB, free: 36.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00018/0.5519, allocations: 93.72 kB / 0.5951 GB, free: 36.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001038/0.553, allocations: 0.708 MB / 0.5958 GB, free: 36.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.5658, allocations: 3.112 MB / 0.5988 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.5726, allocations: 2.1 MB / 0.6009 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.5729, allocations: 188.3 kB / 0.6011 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.5745, allocations: 247.2 kB / 0.6013 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.5961, allocations: 10.49 MB / 0.6116 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/0.5962, allocations: 26.16 kB / 0.6116 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005196/0.5967, allocations: 115.3 kB / 0.6117 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005028/0.6018, allocations: 2.558 MB / 0.6142 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.6215, allocations: 9.922 MB / 0.6239 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04733/0.6689, allocations: 34.33 MB / 0.6574 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.6795, allocations: 4.967 MB / 0.6622 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/0.683, allocations: 2.116 MB / 0.6643 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/0.6851, allocations: 1.876 MB / 0.6661 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.491e-05/0.6852, allocations: 61.42 kB / 0.6662 GB, free: 9.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=229): time 5.029e-06/0.6852, allocations: 0 / 0.6662 GB, free: 9.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03574/0.7209, allocations: 14.05 MB / 0.6799 GB, free: 11.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.721, allocations: 71.47 kB / 0.68 GB, free: 11.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004245/0.7252, allocations: 2.651 MB / 0.6826 GB, free: 8.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.7256, allocations: 53.7 kB / 0.6826 GB, free: 8.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002387/0.728, allocations: 2.741 MB / 0.6853 GB, free: 5.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001346/0.7293, allocations: 0.8913 MB / 0.6862 GB, free: 5.062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.7311, allocations: 1.041 MB / 0.6872 GB, free: 4.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7312, allocations: 305.1 kB / 0.6875 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/0.7349, allocations: 2.192 MB / 0.6896 GB, free: 1.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006847/0.7418, allocations: 5.059 MB / 0.6946 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.7533, allocations: 7.961 MB / 0.7023 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.564e-05/0.7534, allocations: 28 kB / 0.7024 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01663/0.77, allocations: 7.869 MB / 0.7101 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/0.7701, allocations: 52.25 kB / 0.7101 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/0.7703, allocations: 100 kB / 0.7102 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002508/0.7728, allocations: 0.7928 MB / 0.711 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/0.7769, allocations: 1.183 MB / 0.7121 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006462/0.7834, allocations: 4.517 MB / 0.7165 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/0.787, allocations: 296.4 kB / 0.7168 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/0.7876, allocations: 299.9 kB / 0.7171 GB, free: 2.418 MB / 0.5137 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.0039/0.7915, allocations: 2.018 MB / 0.7191 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005627/0.7921, allocations: 274.1 kB / 0.7193 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009092/0.8012, allocations: 4.721 MB / 0.724 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.235e-05/0.8012, allocations: 44 kB / 0.724 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.8013, allocations: 7.984 kB / 0.724 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.8013, allocations: 7.969 kB / 0.724 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/0.8214, allocations: 10.51 MB / 0.7343 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.8214, allocations: 8.031 kB / 0.7343 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.823, allocations: 363.4 kB / 0.7346 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.8251, allocations: 0.6522 MB / 0.7353 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.8253, allocations: 39.94 kB / 0.7353 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/0.831, allocations: 3.91 MB / 0.7391 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.831, allocations: 16 kB / 0.7391 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/0.8428, allocations: 7.137 MB / 0.7461 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008758/0.8437, allocations: 327.1 kB / 0.7464 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.844, allocations: 40 kB / 0.7464 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.8452, allocations: 147.8 kB / 0.7466 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/0.8456, allocations: 132.9 kB / 0.7467 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/0.8458, allocations: 67.98 kB / 0.7468 GB, free: 3.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002669/0.8484, allocations: 1.623 MB / 0.7484 GB, free: 1.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8484, allocations: 0 / 0.7484 GB, free: 1.906 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004391/0.8528, allocations: 0.9061 MB / 0.7493 GB, free: 1 MB / 0.545 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.01191/0.8647, allocations: 7.796 MB / 0.7569 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008539/0.8733, allocations: 5.153 MB / 0.7619 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.8733, allocations: 0 / 0.7619 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/0.8762, allocations: 1.872 MB / 0.7637 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.8782, allocations: 364.1 kB / 0.7641 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06818/0.9464, allocations: 39.67 MB / 0.8028 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/0.9511, allocations: 3.164 MB / 0.8059 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004558/0.9556, allocations: 1.957 MB / 0.8078 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003101/0.9587, allocations: 1.702 MB / 0.8095 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of SimCode: time 1.503e-06/0.9587, allocations: 0 / 0.8095 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4027/1.361, allocations: 54.87 MB / 0.8631 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.05/23.41, allocations: 15.91 kB / 0.8631 GB, free: 221.9 MB / 0.6387 GB " [Timeout remaining time 636] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/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_4.0.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: 27.390171963023022]